Window Service not triggering Functions in the Class Library (VB.NET)
Posted on 2006-11-20
This is a VB.NET project using VS2003 and 1.1 .NET framework.
I have a solution consists of 2 projects.
1) Email_Lib - which is a class library which consists of all the necessary functions.
2) Email_Services - a window service project that will start the email functions in the Email_Lib when the window is started.
In the Email_Services project, I add reference to the Email_Lib for the reasons that I need to use the functions in the Email_Lib, which is in my local development directory. I installed the Email_Services directly from the development directory, and when the services is started, the services starts the email functions that my application supposed to perform.
However, when I deploy the application and installed into my C: drive, when the service is started, nothing is done.
So, I tried to manually uninstall the service, and installed again from the development directory, and it works fine.
Could anyone enlighten me why is it so?? or any possible explaination??
Any reply is greatly appreciated!!