|
-
Mar 21st, 2000, 09:16 PM
#1
Whenever i try to run a dll or a ocx(in vb) i get the following error:
System error &H80004015(-2147467243)
Wich i translated useing the FormatMessage into:
The class is configured to run as a security id different from the caller
Anybody got any idea what this is about?
Config:
VB6 + SP3
NT4 Server + SP6 (Installed as stand alone server)
IE 5.5
P3-600, 224Mb
[Edited by Azzmodan on 03-22-2000 at 09:18 AM]
-
Mar 21st, 2000, 11:31 PM
#2
Hyperactive Member
From MSDN
CAUSE
When Visual Basic runs an ActiveX dll from the IDE, it calls the CoRegisterClassObject API to temporarily register the server. This creates the AppId and specifies it to run in the Interactive User context.
The problem is due to a bug in the Microsoft OLE Libraries 4.0, which are included with the Microsoft Platform Software Development Kit (SDK). CoRegisterClassObject fails with the error message given earlier under the following conditions:
If the ActiveX server calling the API is set to run using the "Interactive User" identity.
-and-
The string associated with the following registry key contains any value other than a single valid executable name for the shell process:
HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Shell=
RESOLUTION
Make certain that the HKEY_LOCAL_MACHINE\Software\Microsoft\Windows NT\CurrentVersion\Winlogon Shell= registry key contains a single valid executable name for the shell process.
REFERENCES
For additional information about the big described above, please click the article number below to view the article in the Microsoft Knowledge Base:
Q170364 CoRegisterClassObject Fails with CO_E_WRONG_SERVER_IDENTITY
-
Mar 22nd, 2000, 04:57 AM
#3
I just recently installed the MSPSDK so this could be the problem, ill look into it tomorrow when im at my work again.
BTW, How did you find this information, i tried a search in the msdn(with the hex, and the long error code) and all i came up with was an article about ole db(wich has absoluly nothing to do with my problem).
-
Mar 22nd, 2000, 05:16 AM
#4
Hyperactive Member
Hi Azzmodan,
I found it by querying the KB. I'm taking part of the MSDN Developer Support Trial....It's pretty cool!
If you're interested, send me an email and I'll give you an email address of a Microsoft Rep in charge of this, so that you can see if you can take part too.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|