Doing automation of Enterprise Architect in an non-graphical environment (e.g. Windows Service) will cause the following error:

Retrieving the COM class factory for component with CLSID {8667FE5E-6D96-400A-AF0A-15C29F94DFCD} failed due to the following error: 80080005.

The code suggests lack of permission to use the COM interface from within the windows service.

Solution: you must configure DCom (EA.App)

1) Open COM-Components-Window and navigate to DCOM, EA.App
2) right-click EA.App and go to properties
3) go to security tab and customize Launch Permissions
4) add a user permitted to launch EA and grant full permissions
5) in EA.App Properties move on to Identity-Tab, and change user to the one entered before in Launch permissions

( see also: Documentation of software projects )

Share and Enjoy:
  • Technorati
  • Digg
  • Facebook
  • del.icio.us
  • Live
  • Google Bookmarks
  • DotNetKicks
  • DZone
  • TwitThis
  • Blogosphere News
  • Blogplay
  • LinkedIn
  • MisterWong
  • MisterWong.DE
  • MSN Reporter
  • MyShare
  • RSS
  • StumbleUpon
  • Suggest to Techmeme via Twitter
  • Tumblr
  • Twitter
  • Webnews.de
  • Yahoo! Bookmarks
  • Yigg

2 Responses to “Running Enterprise Architect on a Server”

  1. [...] auf einem Server laufen soll, interessieren Sie sich eventuell auch für diesen Artikel: : Running Enterprise Architect on a server English: Documentation of existing software projects made easy by using Enterprise Architect. [...]

  2. Daniel Siegl sagt:

    Man sollte aber bedenken das dies für den Anwendungsfall “Buildserver” gedacht ist! Dort hat man eigentlich nie mehr wie eine Instanz vom Enterprise Architect gleichzeitig in Betrieb!

    Auch muss man die Lizenz für diesen User haben und auch eingeben.

Leave a Reply