Prasad Godbole

Prasad Godbole

  • NA
  • 153
  • 171k

Windows Service using Visual Studio .NET 2005

Apr 11 2009 5:00 AM

Hi ,

I have created a Windows Service using Visual Studio .NET 2005. In the serviceInstaller1_AfterInstall method I have written some code for inserting some data in the database.

But when I am installing the service its throwing exception and my windows service is not installing .

Can any one please advice and help that is it possible to write any kind of code in the method serviceInstaller1_AfterInstall  OR there are any limitations ?

Thanks and Regards

Prasad . G . Godbole

 

Answers (2)