2
Answers

Windows Service using Visual Studio .NET 2005

Ask a question

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)