Print Page | Close Window

debuglog and remote server method

Printed From: IdeaBlade
Category: DevForce
Forum Name: DevForce 2010
Forum Discription: For .NET 4.0
URL: http://www.ideablade.com/forum/forum_posts.asp?TID=4211
Printed Date: 04-Sep-2025 at 7:10am


Topic: debuglog and remote server method
Posted By: BillG
Subject: debuglog and remote server method
Date Posted: 05-Jul-2013 at 6:07am
when running my app on my development machine as a 2 tier app, where does the following statement get written. It is located in my remote server method.
 
                DebugFns.WriteLine("remote server method starting " + DateTime.Now);
i checked my debug log in the bin directory of the app and the log stops at the call to find the remote server method.
 i checked my bin directory of my web app and nothing is written there. 
 



Replies:
Posted By: kimj
Date Posted: 05-Jul-2013 at 10:31am
A DevForce 2-tier application is one in which the client talks directly to the database. Here the "server-side" is logical rather than physical, so your remote server methods execute on the client, and debug and trace messages are written to the client's debug log.

Remember too that DebugFns calls will only execute when the application is compiled in the DEBUG configuration.



Print Page | Close Window