By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,524 Members | 1,589 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,524 IT Pros & Developers. It's quick & easy.

Windows Service will not work

P: n/a
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
Nov 21 '05 #1
Share this Question
Share on Google+
1 Reply


P: n/a
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
"Nijazi Halimaji" <sp***@gmx.net> wrote in message
news:Oa**************@TK2MSFTNGP14.phx.gbl...
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

Nov 21 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.