Problem with NT services and DLL
From: Veena (moon_vr_at_yahoo.com)
Date: 07/19/04
- Next message: Ian: "Re: Problem with NT services and DLL"
- Previous message: Vlad Vissoultchev: "Re: Finding the IID in a COM DLL"
- Next in thread: Ian: "Re: Problem with NT services and DLL"
- Reply: Ian: "Re: Problem with NT services and DLL"
- Messages sorted by: [ date ] [ thread ]
Date: 19 Jul 2004 07:48:38 -0700
Hi All,
We have an NT service implemented in VB (service pack 6) on the
Windows NT 4 platform (service pack 6a).
The NT service is implemented as a standard EXE which includes a DLL
as a reference and creates an object of the class declared in the DLL.
But on installing and starting the NT service we get the error
"ActiveX component can't create object". This error is thrown as the
place where we create the object of the class (declared in the DLL).
I tried all the regular things like regsvr32 on the DLL, checking the
DLL dependencies, but all seemed to be fine.
Further, i even created a normal exe and created a new object of the
class (declared in the DLL) and ran it and it worked perfectly fine!!!
My guess is that NT service does'nt have sufficient priveleges to
access the DLL. So, i checked the security tab on the DLL and gave
"Everyone" full control and gave the user under which my NT service
has logged on "Full control".
It still gave the same error.
Please help!!
Thanks & Regards,
Veena.
- Next message: Ian: "Re: Problem with NT services and DLL"
- Previous message: Vlad Vissoultchev: "Re: Finding the IID in a COM DLL"
- Next in thread: Ian: "Re: Problem with NT services and DLL"
- Reply: Ian: "Re: Problem with NT services and DLL"
- Messages sorted by: [ date ] [ thread ]
Relevant Pages
|