Book a Demo

Author Topic: Creating an app to open a repository  (Read 4469 times)

wkenyon

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Creating an app to open a repository
« on: December 18, 2018, 09:17:44 am »
I am trying to run a third party app that reads EA modeled requirements and populates a requirements tracking system. The application does not work, reporting that the EA.Repository class is not registered.  I look in the registry and find the class GUID under HKCR\WOW6432Node\CLSID.  Everyone is puzzled. Maybe a WOW6432 issue.

So, I try to create a simply C# application that opens a repository.  I add a reference to the Interop.EA.dll as usual.  Project compiles just fine. But when I run it, I get the same exception.  The class is not registered.

I have written EA extensions in the past that run under EA as part of an MDG, but this is the first time I have needed to write an application that opened a repository without running under EA.  I just assumed it would work.

So the question is, why is the class not registered. OR, why is it not registered in the place that cannot be reached by COM?

OS: Win 10 Pro 64bit
EA: version 13.0.1310

wkenyon

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Creating an app to open a repository
« Reply #1 on: December 18, 2018, 05:07:00 pm »
More information.

The same test application works with the same version of EA on my Win7 box at home.   The registry looks very different, but the EA.Repository class is registered under the same GUID within HKCR\WOW6432.  There is more info under that GUID than on the WIN10 box.

I ran regasm on Interop.ea.dll on the Win10 box.  No change. 

Is v13 not compatible with Win10? Has this problem been solved with v14?

qwerty

  • EA Guru
  • *****
  • Posts: 13584
  • Karma: +397/-301
  • I'm no guru at all
    • View Profile
Re: Creating an app to open a repository
« Reply #2 on: December 18, 2018, 09:01:02 pm »
Have you tried re-installing EA?

q.

wkenyon

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Creating an app to open a repository
« Reply #3 on: December 19, 2018, 04:15:11 am »
I would think that running regasm on Interop.EA.dll would solve the registration issues.  Perhaps not. I am thinking this is a Win10 compatibility issue with v13. I'll try upgrading to latest to see what happens.

wkenyon

  • EA Novice
  • *
  • Posts: 7
  • Karma: +0/-0
    • View Profile
Re: Creating an app to open a repository
« Reply #4 on: December 19, 2018, 10:04:35 am »
Ok, upgrading fixed the issue.