Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

CoCreateInstance on Local Server is causing error 0x80080005

415 views
Skip to first unread message

Murthy Akella

unread,
Feb 14, 2003, 5:08:23 PM2/14/03
to
Hi all,
I have Local Server. I am using that one in Active x Control by
calling the CoCreateInstace. My Active X Control have been used by
many clients like VB, MFC, ATL etc, all the client looks ok. Recently
we have the requirement to use this ocx in IIS50. Then the
CoCreatInstance of the Local Server in my control is failing with
error 0x80080005 (Server Execution failed). Can anybody help me to
solve this problem.
Thanks in Advance.

Murthy Akella

Leo Chen [MSFT]

unread,
Feb 17, 2003, 10:01:05 AM2/17/03
to
Hi Murthy,

This problem can occur due to security issue. For example, the registry
hive for the user activating the server is not available, etc Please check
following article for more information:

288366 HOWTO: Configure Office Applications to Run Under the Interactive
User
http://support.microsoft.com/?id=288366

Hope this helps.

Best Regards,
Leo Chen

This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
| From: murthy...@yahoo.com (Murthy Akella)
| Newsgroups: microsoft.public.vc.mfcole
| Subject: CoCreateInstance on Local Server is causing error 0x80080005
| Date: 14 Feb 2003 14:08:23 -0800
| Organization: http://groups.google.com/
| Lines: 11
| Message-ID: <396a99dd.03021...@posting.google.com>
| NNTP-Posting-Host: 140.242.115.56
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit
| X-Trace: posting.google.com 1045260503 31694 127.0.0.1 (14 Feb 2003
22:08:23 GMT)
| X-Complaints-To: groups...@google.com
| NNTP-Posting-Date: 14 Feb 2003 22:08:23 GMT
| Path:
cpmsftngxa06!TK2MSFTNGP08!newsfeed00.sul.t-online.de!t-online.de!news-spur1.
maxwell.syr.edu!news.maxwell.syr.edu!sn-xit-03!sn-xit-06!sn-xit-09!sn-xit-08
!supernews.com!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa06 microsoft.public.vc.mfcole:28329
| X-Tomcat-NG: microsoft.public.vc.mfcole

Murthy Akella

unread,
Feb 20, 2003, 5:08:30 PM2/20/03
to
Thanks Leo for your response.
I think we found the rootcause for this problem. The basic problem is
because of my active X Control Client is started from Remote System,
by default it is running under the Non-interactive WindowStation, that
is not allowing me to run the CreateInstance on Local Server is
already running. So what we did is we converted that Non Interactive
WindowStation to Interactibe Windowstation, that resolved our problem.

Thank You
Murthy

leo...@online.microsoft.com ("Leo Chen [MSFT]") wrote in message news:<4Up#ZVp1CHA.1164@cpmsftngxa08>...

Leo Chen [MSFT]

unread,
Feb 20, 2003, 8:24:55 PM2/20/03
to
I'm glad it helps. :-)

Best Regards,
Leo Chen

This posting is provided "AS IS" with no warranties, and confers no rights.


--------------------
| From: murthy...@yahoo.com (Murthy Akella)
| Newsgroups: microsoft.public.vc.mfcole

| Subject: Re: CoCreateInstance on Local Server is causing error 0x80080005
| Date: 20 Feb 2003 14:08:30 -0800
| Organization: http://groups.google.com/
| Lines: 64
| Message-ID: <396a99dd.03022...@posting.google.com>
| References: <396a99dd.03021...@posting.google.com>
<4Up#ZVp1CHA.1164@cpmsftngxa08>


| NNTP-Posting-Host: 140.242.115.56
| Content-Type: text/plain; charset=ISO-8859-1
| Content-Transfer-Encoding: 8bit

| X-Trace: posting.google.com 1045778910 8269 127.0.0.1 (20 Feb 2003
22:08:30 GMT)
| X-Complaints-To: groups...@google.com
| NNTP-Posting-Date: 20 Feb 2003 22:08:30 GMT
| Path:
cpmsftngxa06!TK2MSFTNGP08.phx.gbl!cppssbbsa01.microsoft.com!news-out.cwix.co
m!newsfeed.cwix.com!news.maxwell.syr.edu!newsfeed-east.nntpserver.com!nntpse
rver.com!chi1.webusenet.com!sjc70.webusenet.com!news.webusenet.com!sn-xit-02
!sn-xit-06!sn-xit-08!supernews.com!postnews1.google.com!not-for-mail
| Xref: cpmsftngxa06 microsoft.public.vc.mfcole:28357
| X-Tomcat-NG: microsoft.public.vc.mfcole

0 new messages