Link to home
Start Free TrialLog in
Avatar of kurniadi
kurniadi

asked on

System Error Message "&H80004015" Running ActiveX DLL in IDE

I try to develop ActiveX Exe application that has Form, Modules, and Class Modules.

I use NTSVC.OCX object to make this ActiveX become Service.

When I try to set its Class Modules's Identity Properties into "The Interactive User" using dcomcnfg.exe. then I install this as NT Service.
While i am running the service, I found this error:
" System error &H80004015(-2147467243). The class is configured to run as a security ID different from the caller. "

I have read this article.

http://support.microsoft.com/support/kb/articles/Q228/4/87.asp

But now, can anybody help me, what should I do technically ? Step by step procedure to remove this error.


thanks in advance.

Avatar of Alon_h
Alon_h

Hi kurniadi.

R u work on Windows2000 ???

if the anser is yes, you can install the "Client for Microsoft Network" component and then reboot.

Avatar of kurniadi

ASKER

No. I am currently using Windows NT. 4.0 Workstation.
I think your suggestion are shown on Microsoft KB.
Anyway, thanks for your attention.

rgds,
Herman
Hi,

Isn't the problem that you cannot have the identity set to the interactive user, because there is no interactive user for a service? Are you sure that you can run an ActiveX exe as a service?

Zaphod.
I Services control panel change your service to use a system account.

In DCOM config change or add the system account to your Default Access Privelages.

Same applies to the other privelages.

Vin.  
Hi Zaphod,
Perhaps, something like you mentioned. What i look for is sort of source code or setting instruction to fix this.  Cause microsoft just provides theory for this problem.

rgds,

Vin,
before your comment arrived, i've tried to do similar with your suggestion. I set Log On As option in Service's startup... into This Account, then fill with my account.
My ActiveX works and runs properly as a service.
I think, if  it makes my service works ? yes it solves problem. Since I will not be the only one that access this service, any other way ?

FYI, I put NTSVC.OCX object in form.

rgds,
ASKER CERTIFIED SOLUTION
Avatar of VincentLawlor
VincentLawlor

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Vin,
Yes, as you explained.

thanks,
HOWTO: Launching OLE Servers from ISAPI Extensions
http://support.microsoft.com/support/kb/articles/Q156/2/23.ASP
Any progress on this one ?

Vin.
Dave I don't think that KB article is relative to this problem.

Vin.