Wrox Programmer Forums
Go Back   Wrox Programmer Forums > C# and C > C++ and Visual C++ > Visual C++
|
Visual C++ Questions specific to Microsoft's Visual C++. For questions not specific to this Microsoft version, use the C++ Programming forum instead.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Visual C++ section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old October 20th, 2003, 05:15 AM
Registered User
 
Join Date: Oct 2003
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default COM exe server returns CO_E_SERVER_EXEC_FAILURE

Hi,

An application running as the Interactive User acts as COM server.
A service spawns another application - therefore running under the System account - that tries to create an instance of the running COM server.

The spawned application fails with CO_E_SERVER_EXEC_FAILURE.

Additional info:
- The COM server uses TypeLib marshalling.
- A test application running as the logged on user succeeds in creating the instance of the COM object.
- The COM server is a former MFC app that has been converted to use ATL.
- Everything was working fine when the marshalling was done using a proxy/stub dll.

I have a feeling that is something related to security, but I'm quite surprised not to see 'access denied' rather than 0x80080005.

Any ideas? Thanks,

Alberto





Similar Threads
Thread Thread Starter Forum Replies Last Post
Urgent help! Index Server Query returns 0 records rakeshsharma Internet Information Services 0 August 29th, 2006 12:35 AM
invoke .exe from webservice on server Mk_CSharp .NET Web Services 3 January 17th, 2005 08:10 AM
Exe Server without using ATL science_daan Visual C++ 0 April 6th, 2004 05:20 AM
Exe Server without using ATL science_daan C++ Programming 0 April 6th, 2004 01:07 AM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.