Book a Demo

Author Topic: EA error dialogs pop-up when using MDG for Visual Studio  (Read 4651 times)

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
EA error dialogs pop-up when using MDG for Visual Studio
« on: September 26, 2018, 09:19:50 pm »
Hi

Just started looking at the MDG for Visual Studio (again) and early stages, but every time I try to do something involving the EA Project Explorer I get a series of pop-ups e.g.
  • Couldnt find html template file
  • Couldnt find ea.css
  • Couldnt find ea.js
  • Couldnt find index.html
  • Couldnt find top.html

Which is more than a little annoying plus the dialogs don't pop to the front so need to search for them.  I assume this is something simple such as an environment variable that needs to be set so that the EAVS stuff can find the files.

Any ideas?
Whilst posting has anybody seen any documents on this MDG later than 2009 - which references VS 2005/2008?

Thanks
Adrian

EA build: 1427
VS-2012


For those who may understand this the error message is:
Code: [Select]
System.InvalidCastException: Unable to cast COM object of type 'EA.ModelWatcherClass' to interface type 'EA._ModelWatcher'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{23E29B09-8870-4ED9-844C-74DCEA6C06AC}' failed due to the following error: The RPC server is unavailable. (Exception from HRESULT: 0x800706BA).
   at System.StubHelpers.StubHelpers.GetCOMIPFromRCW(Object objSrc, IntPtr pCPCMD, IntPtr& ppTarget, Boolean& pfNeedsRelease)
   at EA.ModelWatcherClass.GetRefreshXMI(String& Item)
   at Vsip.VSIntegrate.EAProjectControl.timerUpdateTree_Tick(Object sender, EventArgs e)
EXploringEA - information, utilities and addins

EXploringEA

  • EA User
  • **
  • Posts: 172
  • Karma: +8/-0
    • View Profile
Re: EA error dialogs pop-up when using MDG for Visual Studio
« Reply #1 on: September 28, 2018, 05:08:25 pm »
If anybody is interested this pop-up issue is resolved, although MDG integration for VS is not fully working for me yet.

I found that EA/MDG was getting errors looking for some of its "web" files which were not present on my system - looks they didn't get installed, not sure why as no warnings during installation (thank goodness for Procmon).  So uninstall (to allow a tidy up) with registry clean and reinstall; this time all the files appear to be installed OK.  Interestingly, I had done a clean install on another machine and got exactly the same issue!  Is it permissions?

Now I have an issue with UML documentation with the ea.js file which I need to explore ???  But at least I can do some initial experiments - I'll capture the information so I can use in a future post for my blog.

« Last Edit: September 28, 2018, 07:54:36 pm by EXploringEA »
EXploringEA - information, utilities and addins