Book a Demo

Author Topic: Deploying Add-In  - Error - Missing (0x80040154)  (Read 13250 times)

Kaspatoo

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Deploying Add-In  - Error - Missing (0x80040154)
« on: October 30, 2014, 12:36:22 am »
Hello,

I tried to register a Addin in my EA.
I did the steps described here:
http://www.sparxsystems.com/enterprise_architect_user_guide/9.3/automation/deployingaddins.html

I used
C:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\RegAsm.exe "C:\...\...Exporter.dll" /codebase
instead of
C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\RegAsm.exe "C:\...\...Exporter.dll" /codebase
because my AddIn is on .Net v4 and using the v2 regasm.exe results in an error:

"RegAsm : error RA0000 : "C:\...\...Exporter.dll" konnte nicht geladen werden, da es sich nicht
um eine gültige .NET-Assembly handelt."

Using the first one results that registration was successfull.
I ran the powershell with administrator rights for the commands above.
My Windows is Server 2012 all Updates, my EA is 10.0.1005.

Using regedit I inserted a registry entry as described. There were still two other entries similar to the one I created.
HKEY_CURRENT_USER\Software\Sparx Systems\EAAddins\...Exporter
with Key:
(Standard)   REG_SZ   ...Exporter.Main

The projects name in Visual Studio C# is "...Exporter".
The main-class is Main.cs.

I still restarted the server to be sure.
When starting EA going to "Extensions --> Manage Add-Ins..." the next Window (see attachement "1.png")
shows the new Add-In but with status "Error - Missing (0x80040154).
1.png

Quick Google search shows amongst others "class not registered".

I do no know what I did wrong or how to solve it.

Any advice would be grateful.

Thank in advance.
« Last Edit: October 30, 2014, 12:38:10 am by Kaspatoo »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile

Kaspatoo

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Deploying Add-In  - Error - Missing (0x8004015
« Reply #2 on: October 30, 2014, 01:22:36 am »
Of course I repeated several times.
On the linked post, where should I keep my eyes on?
Using regmon (today its procmon)? What then?
Regmon says when starting EA that EA is going to the specific registry entry. No errors regarding the Addin.

Edit:
the registry activity regarging my add-In are looking very similar to the other working add-Ins.
« Last Edit: October 30, 2014, 01:24:33 am by Kaspatoo »

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Deploying Add-In  - Error - Missing (0x8004015
« Reply #3 on: October 30, 2014, 02:44:13 am »
I was just googling for the error number 80040154 which brought this up. You're the first here having that problem. So my guess is that your registration went the wrong way. I can't really help. Maybe one of our Windoze gurus?

q.
« Last Edit: October 30, 2014, 02:44:31 am by qwerty »

Kaspatoo

  • EA Novice
  • *
  • Posts: 19
  • Karma: +0/-0
    • View Profile
Re: Deploying Add-In  - Error - Missing (0x8004015
« Reply #4 on: October 30, 2014, 03:13:23 am »
It looks like that I needed to register other DLLs as well referenced by my Add-In.
After registering a second DLL its working now.

A hint in the manual for guys like me would be helpfull^^

Thanks at all.