Windows Service will not work

N

Nijazi Halimaji

Hi

I first a dll for connection to ODBC-Databases and a Webservice for doing
some things...

Then I make an application for testing if everything works an it worked... I
took a timer to simulate a windows service and it worked fine...

Now I made a windows service, used a timer and let him do the same work like
in the application. What I can see is, that the timer_elapsed event has been
executed but my code hangs on my dll or on the webservice... But I don't
know where...

I think that this must have to do something with the account right of the
windows service (Local Service) in use with odbc and webservices... May this
be or is there any other case I ignored?

Thanks for the help!

Nijazi Halimaji
 
C

Chris

Well i would try to change your local service to a network service. I do
not think that the local server can access the network. I am not 100% on
this tho
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads


Top