PDA

View Full Version : Problem with NT services and DLL


Veena
07-19-2004, 06:47 AM
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.


MyLounge.com Site Map
Forum: Cars, Cell Phone, Database, Games, Home Improvement, IT, Music, School, Sports, Web Design, Web Server, Weight Loss

The MyLounge.com forum is intended for informational use only and should not be relied upon and is not a substitute for any advice. The information contained on MyLounge.com are opinions and suggestions of members and is not a representation of the opinions of MyLounge.com. MyLounge.com does not warrant or vouch for the accuracy, completeness or usefulness of any postings or the qualifications of any person responding. Please consult a expert or seek the services of an attorney in your area for more accuracy on your specific situation. Please note that our forums also serve as mirrors to Usenet newsgroups. Many posts you see on our forums are made by newsgroup users who may not be members of MyLounge.com Term of Service