Windows service Null ReferenceException

Posted by Patrick on Stack Overflow See other posts from Stack Overflow or by Patrick
Published on 2010-03-09T13:15:04Z Indexed on 2010/03/22 19:41 UTC
Read the original article Hit count: 230

Filed under:
|

I built a windows service on my local machine. when I install and run it locally it works perfectly fine. When I try to move it to my production machine I get a null reference exception error.

I've created an installation package that also works perfectly fine on my machine, but when i run it on the production machine the service still fails.

The service references a .dll that in turn has references to 3 other dlls. when i build the project it pulls all of the dlls into the debug folder for the project... I've even installed the service from that folder and it works localy on my machine.

I know this has to have something to do with the references, but this is beyond me. Any tips/hints would be appreciated.

© Stack Overflow or respective owner

Related posts about Windows

Related posts about windows-services