Book a Demo

Author Topic: API Usage causes COM Exception  (Read 4346 times)

mabu

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
API Usage causes COM Exception
« on: October 07, 2010, 01:04:08 am »
Hi,

i am working on an automation workflow where an eap file should be parsed in a windows service.
The C# program works like a charm when the code is running as user 'x'. when the same code is running as service under privileges of user 'x' an excpetion is thrown when ea object is created.

Did i miss something? Did i make a mistake? Can somebody help me at this issue?

TIA, Martin
« Last Edit: October 07, 2010, 01:12:58 am by mabu »

mabu

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: API Usage causes COM Exception
« Reply #1 on: October 19, 2010, 10:31:16 pm »
Nobody from Sparx or anybody else???

Geert Bellekens

  • EA Guru
  • *****
  • Posts: 13523
  • Karma: +574/-33
  • Make EA work for YOU!
    • View Profile
    • Enterprise Architect Consultant and Value Added Reseller
Re: API Usage causes COM Exception
« Reply #2 on: October 19, 2010, 10:59:04 pm »
Martin,

If you're looking for a reply from Sparx then you'll have to contact support. This is a user forum, so no answer from Sparx guaranteed.

Geert

mrf

  • EA User
  • **
  • Posts: 311
  • Karma: +0/-0
    • View Profile
Re: API Usage causes COM Exception
« Reply #3 on: October 20, 2010, 03:14:41 pm »
Daniel Siegl wrote this very detailed and useful article on the community site, it may be of some use to you.

http://community.sparxsystems.com/tutorials/code-engineering/running-enterprise-architect-server
Best Regards,

Michael

[email protected]
"It is more complicated than you think." - RFC 1925, Section 2.8

mabu

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: API Usage causes COM Exception
« Reply #4 on: October 21, 2010, 12:37:46 am »
oooooooh sh*t .. i missed that .. google did not find it and i missed to search the ea site for com stuff ..   ::)

thanks :)

mabu

  • EA Novice
  • *
  • Posts: 5
  • Karma: +0/-0
    • View Profile
Re: API Usage causes COM Exception
« Reply #5 on: October 21, 2010, 01:43:57 am »
well, did the modifications and still no success :(