Hi Put a call in the OnStart() to System.Diagnostics.Debugger.Break()
Start the service on the machine with VS installed, and you'll beable to debug your app HTH Chris Stefano -----Original Message----- From: Moderated discussion of advanced .NET topics. [mailto:[EMAIL PROTECTED] On Behalf Of Sarvajith Chakravarty Sent: Friday, March 05, 2004 11:10 AM To: [EMAIL PROTECTED] Subject: [ADVANCED-DOTNET] Configuration File.... Hi all, i am in need of immediate help... i have a windows service application, which has a config file and a method in the .cs file to read the config file, making use of the Configuration class provided ny .NET. But since i cannot debug the start method, i made a windows app, which has an object of the service class and calls another method, identical to the start method. BUT THE PROBLEM IS, THE .CS FILE IS NOT ABLE TO READ THE CONFIG FILE. i wud like to know how can i be able to read the config file, when debugging using the Configuration class. Any help in this regard will be much appreciated. Regards, Sarvajith =================================== This list is hosted by DevelopMentorR http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com -- This message has been scanned for viruses and dangerous content by Building Intelligence, and is believed to be clean. Please forward any queries to [EMAIL PROTECTED] =================================== This list is hosted by DevelopMentorŪ http://www.develop.com Some .NET courses you may be interested in: NEW! Guerrilla ASP.NET, 17 May 2004, in Los Angeles http://www.develop.com/courses/gaspdotnetls View archives and manage your subscription(s) at http://discuss.develop.com