Re: Error in VC++ .NET Service
- From: "Zvonko Keber" <zvkeber@xxxxxxxxx>
- Date: Thu, 22 Dec 2005 10:11:17 +0100
What user account does this service run under?
Are you sure that that account has enough privileges to execute all of the
interop dlls?
Try running the service under another loacl admin account.
"Ravi" <Ravi@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message
news:4D34A807-8B9C-4D22-BBCE-D7724EA51303@xxxxxxxxxxxxxxxx
>I have a VC++ .NET service running in one of our application servers. This
> service calls a VB .NET executable (This users INTEROP dll's). The service
> was working fine till yesterday. Suddenly it started throwing errors. The
> error message is "Object reference not set to an instance of an object. ".
>
> The code is running fine if the executable is run directly (Running the
> .exe
> file) and fails if I configure this as a Windows service with the above
> error
> message. I tried removing the service, reinstalling the service and
> rebooted
> the server but no avail. Any pointers in this regard would be very
> helpful.
>
> The service is running in a Windows 2000 Advanced Server, which has only
> .NET framework installed in it (No Visual Studio). It also users Interop
> Dll's
> .
.
- Prev by Date: Re: Problems marshaling fixed length strings
- Next by Date: Re: Error in VC++ .NET Service
- Previous by thread: Problems marshaling fixed length strings
- Next by thread: Re: Error in VC++ .NET Service
- Index(es):
Relevant Pages
|