Book a Demo

Author Topic: EA running through ASP.NET/COM  (Read 5225 times)

clibby

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
EA running through ASP.NET/COM
« on: September 13, 2005, 03:44:31 pm »
I have a Delphi application that calls EA via COM to extract a model to XML. This works fine when I run at the command line.

I have a web page that kicks off a script that calls this application. I've set up impersonation so that it uses the same user as when I'm running at the command line. My application successfully starts EA, but EA hangs for a few seconds before returning these errors:

Exception EOleSysError in module ModToXml.exe at 0002D355.
Server execution failed.

and in the event log:

Event Type:Error
Event Source:DCOM
Event Category:None
Event ID:10010
Date:9/12/2005
Time:6:05:32 PM
Description:
The server {67F4E0FA-46A7-4255-B084-69A9433D08C3} did not register with DCOM within the required timeout.

Any idea how to get this to work?

clibby

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA running through ASP.NET/COM
« Reply #1 on: September 15, 2005, 08:45:01 am »
Never mind - got it working 8)

doctor_uv

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: EA running through ASP.NET/COM
« Reply #2 on: July 24, 2007, 10:57:58 am »
Good to find out that I am not alone with this problem.
The OLE interface called from a perl script works fine from the command line.
Called from a cgi-bin web server it fails with
Win32::OLE(0.1502) error 0x80080005: "Server execution failed"

Is there any more news on this?
Dr. UV
Software Architect
Alcatel-Lucent IPTV

«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: EA running through ASP.NET/COM
« Reply #3 on: July 24, 2007, 11:10:32 am »
Quote
Never mind - got it working 8)

Please enlighten us with the solution. As you can see from the earlier answer this problem is common, but the solution is not.

David
No, you can't have it!

clibby

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: EA running through ASP.NET/COM
« Reply #4 on: July 24, 2007, 11:41:13 am »
I believe that this is how we fixed it:

In Component Services you need to go to the DCOM Config folder and select EA.APP component and go to its
properties.

Goto the Identity tab and change the selection to 'This user' and provide the login and password.


«Midnight»

  • EA Guru
  • *****
  • Posts: 5651
  • Karma: +0/-0
  • That nice Mister Grey
    • View Profile
Re: EA running through ASP.NET/COM
« Reply #5 on: July 24, 2007, 12:25:40 pm »
That sounds plausible, at least for a single user.
No, you can't have it!

doctor_uv

  • EA Novice
  • *
  • Posts: 17
  • Karma: +0/-0
    • View Profile
Re: EA running through ASP.NET/COM
« Reply #6 on: July 25, 2007, 06:21:15 am »
Hello,

I tried a few different permutations for this but, while not understanding what the goal is, I did not succeed :-(

The perl script is running as an CGI from an apache HTTPD service which is running on its own windows userid.

I tried to set the apache httpd and the EA DCOM settings to the same user but this did not work either.....
Any ideas how things should be??

Thanks for any help!
Dr. UV
Software Architect
Alcatel-Lucent IPTV

tom_guenter

  • EA Novice
  • *
  • Posts: 11
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: EA running through ASP.NET/COM
« Reply #7 on: June 18, 2008, 06:19:18 pm »
Hi,

we had the same failure in the Java automation interface. A "Unknown Exception" in pre-830 builds are now displayed as "Failed to construct object. Error code: 0x80080005".

Identifying the user that is used to run the DCOM component as described above helped to solve the problem.

Thanks!
Tom