-----------------------------------------------------------
New Message on BDOTNET
-----------------------------------------------------------
From: Thanigaimani2
Message 3 in Discussion
Try to debug the code. Most probably, the control itself in infinite loop in
OnStart method. Steps to debug: 1. Goto Service Project Property window.
2. Goto the Configuration Properties, then select Debugging, then give some
value in Command Liune Arguments column. 3. Goto static void Main(string[]
args) and add the following line of code. if (args.Length == 0) // Run as
service
{
System.ServiceProcess.ServiceBase[] ServicesToRun;
// More than one user Service may run within the same process.
To add
// another service to this process, change the following line to
// create a second service object. For example,
// ServicesToRun = new System.ServiceProcess.ServiceBase[] {new
Service1(), new MySecondUserService()};
ServicesToRun = new System.ServiceProcess.ServiceBase[] { new
PrintPlanServerService() };
System.ServiceProcess.ServiceBase.Run(ServicesToRun);
}
else // run as console application
{ //TODO : call your peace of code here.
}
-----------------------------------------------------------
To stop getting this e-mail, or change how often it arrives, go to your E-mail
Settings.
http://groups.msn.com/BDotNet/_emailsettings.msnw
Need help? If you've forgotten your password, please go to Passport Member
Services.
http://groups.msn.com/_passportredir.msnw?ppmprop=help
For other questions or feedback, go to our Contact Us page.
http://groups.msn.com/contact
If you do not want to receive future e-mail from this MSN group, or if you
received this message by mistake, please click the "Remove" link below. On the
pre-addressed e-mail message that opens, simply click "Send". Your e-mail
address will be deleted from this group's mailing list.
mailto:[EMAIL PROTECTED]