Skip to Content
Former Member
Jul 29, 2005 at 07:23 AM

Connecting via Windows Service in VB .NET



I have a solution which has 2 projects. One of the projects is a dll and the other is a windows service. In the dll I have a function which connects to several databases. I call that function when the windows service is starting.

The problem is that it doesn't connect to the databases, it gives me the next error:

-111 Connection to SBO-Common has failed

I have tried the function in an other application and it goes ok. Why does this happen?

Thanks in advance,