Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Problem with NT services and DLL

2 views
Skip to first unread message

Veena

unread,
Jul 19, 2004, 10:49:14 AM7/19/04
to
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.

JP

unread,
Jul 26, 2004, 7:23:16 AM7/26/04
to
Googles around on it and found several entries, here are some:
http://www.cryer.co.uk/brian/windows/trbl_nt_axccco.htm
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vbenlr98/html/vamsgcantcreateobject.asp

I hope your answer is with it.

Jan

"Veena" <moo...@yahoo.com> schreef in bericht
news:4a8706cd.04071...@posting.google.com...

0 new messages