Problem with NT services and DLL

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Veena (moon_vr_at_yahoo.com)
Date: 07/19/04


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.



Relevant Pages

  • ASP.NET calling COM DLL under SP1 (2003) or SP2 (XP) causes exception
    ... I have an ASP.NET application that calls all VB6 COM DLL via ... The DLL uses functionality contained in a Custom OCX Control ... Windows 2003 Server - Service Pack 1 ...
    (microsoft.public.dotnet.framework.aspnet.security)
  • Re: Running D3 on XP-PRO but the D3 service wont start.
    ... I doubt that it is a service pack problem as I have D3 running on the latest ... XP-PRO Service Pack 2. ... > They told me there's a DLL with a dependent DLL in XP sp1. ... >> Neil Charrington ...
    (comp.databases.pick)
  • Re: VB6.exe abort after system rebuild?
    ... I actually had a problem based on this service pack. ... sp installations other than the SP5 I had installed it under on my work ... The old dll was hanging there because I had originally installed ... dll was registered and everything started failing - the registry appeared to ...
    (microsoft.public.vb.general.discussion)
  • Re: Running D3 on XP-PRO but the D3 service wont start.
    ... Questioning Mark Brown is like questioning G_d. ... > I doubt that it is a service pack problem as I have D3 running on the ... >> They told me there's a DLL with a dependent DLL in XP sp1. ...
    (comp.databases.pick)
  • Re: XmlElementAttribute.Form support
    ... Service Pack 2 has changes in it that make the ... If you open visual studio again and compile it should no longer give errors ... You may need to move other dll files also - I ... > hasn't made any difference (I still get the same compile errors). ...
    (microsoft.public.dotnet.framework.compactframework)