Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chriss Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

System error after installing SP6 for VB6

Status
Not open for further replies.

Unscruffed

Programmer
Apr 2, 2002
102
AU
I keep getting the following error when trying to run Activex projects from the IDE:

System Error &H80004015(-2147467243).

That's all it says. I searched the net and found references to an error that says:

System Error &H80004015(-2147467243). The class is configured to run as a security id different from the caller.

I Googled the error number and everything seems to point to an article titled System Error Message "&H80004015" When You Run ActiveX DLL in Visual Basic IDE at the Microsoft Support Site.

It basically says to install Client for Microsoft Networks (why this is related is anyone's guess) and check that the Shell is set to a single exe in the registry.

I checked the above:
Client for Microsoft Networks is installed, and the Shell is set to Explorer.exe

I strained my brain and worked out exactly when this error started.

It started after installing Service Pack 6 for Visual Basic 6.0

The error occurs every time I try to run an Activex Dll or Activex Control project.
It does not occur with Activex Exe projects, nor with Standard Exe projects containing User Controls.

My versions are:
Windows 2000 Pro SP4
VB6 Pro SP6
IE6

Does anyone know what may be causing the error and how to fix it? It definately seems to be related to VB Service Pack 6.


Be good. If you can't, don't get caught!
 
Found the problem.

I have a dual boot PC (both OS are Win 2000 Pro SP4).
On one, I installed Service Pack 6 for VB6, and also VB.NET 2005 Express to try out.

When I installed SP6 on the other OS, no problem.

It seems to me that the error is being caused by having VB.NET 2005 installed alongside VB6.

Be good. If you can't, don't get caught!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top