Error trying to run a vb6 com+ server application on Windows 7 32bit OS
I’m getting the following error: -2147417848 Automation error The object invoked has disconnected from its clients.
When I run a VB6 COM+ Server component. When I run the same code from the debugger (or change the com+ activation type to a library application) there are no errors.
We used Matt Curland’s Power VB and the code is failing specifically around vboost. This is one of the lines of code that is failing:
VBoost.Assign pSA, ByVal VarPtr(vArray) + VARIANT_DATA_OFFSET
DLLHost is disabled in DEP.
UAC is disabled
I’m logged into the computer as an admin.
I’ve set the com+ identity to the same admin user (also tried using Interactive user).
In DCOM Config administrators group has default access and default launch permissions.
Disabled policy that runs all users, including administrators, as standard users
The code works in XP, Vista, Windows Server 2003, and Windows Server 2008. We cannot however get this up and running on a Windows 7 OS. Any ideas?
Re: Error trying to run a vb6 com+ server application on Windows 7 32bit OS
even though you are logged in as administrator you may need to run the program with elevated privileges
Re: Error trying to run a vb6 com+ server application on Windows 7 32bit OS
Thank you for the response. This is a com+ server package and the identity is set to the admin user, is that any different than what you are suggesting? Also I have disabled user access control so all applications that I launch should run as admin, correct? Also, I have tried calling the application from a test.exe and launched the executable as an administrator.