Author Topic: MDG link VS2005 Beta 1.0 - Can't create EA Model  (Read 4396 times)

kstrain

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
MDG link VS2005 Beta 1.0 - Can't create EA Model
« on: November 22, 2005, 08:44:03 pm »
I create a new windows application in Visual Studio 2005.  Then try to create a corresponding EA Model by selecting View, Enterprise Architect, Create a model.  I get the following message "Error: Failed to create Solution Items folder!" or if replacing an existing model I get: "System.Runtime.InteropServices.COMException(0x80040009): There was an error creating the selected project.  Please check you details and try again at EA.RepositoryClass.CreateModel(CreateModelType CreateType, String FilePath, Int32 ParentWnd) as Vsip.VSIntegerate.m.e()" - Any Suggestions?

Phil_Bachmann

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: MDG link VS2005 Beta 1.0 - Can't create EA Mod
« Reply #1 on: November 23, 2005, 03:21:38 pm »
Hello Keith,

The second message is EA's overreaction to an attempt to overwrite an existing file.  We will fix that.

The first error is more sinister, and we have yet to get to the bottom of it.  Basically we ask VS to create a solution items folder for us and sometimes it says yes and sometimes it doesn't.

Could you confirm that trying to create a non-existant file succeeds eventually?

Regards,

Phil Bachmann

kstrain

  • EA Novice
  • *
  • Posts: 2
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: MDG link VS2005 Beta 1.0 - Can't create EA Mod
« Reply #2 on: November 24, 2005, 06:41:44 am »
I have further characterized the problem.  Clicking the Properties Icon in Solution Explorer or other icons above the main window such as Toolbox or Start Page always makes it succeed.  Otherwise, it fails.  Perhaps it is trying to make a subfolder of the highlighted file in Solution Explorer when it fails - I'm not sure.

charker

  • EA Novice
  • *
  • Posts: 1
  • Karma: +0/-0
  • I love YaBB 1G - SP1!
    • View Profile
Re: MDG link VS2005 Beta 1.0 - Can't create EA Mod
« Reply #3 on: November 28, 2005, 04:07:23 pm »
I concur. I get the solution files creation error every time if I have selected the solution in the solutions explorer and I get a stray tmp file left in the root of the solution explorer after it fails

If I select the banner on the properties window and try it works.

charker
« Last Edit: November 28, 2005, 04:20:30 pm by charker »

Phil_Bachmann

  • EA User
  • **
  • Posts: 38
  • Karma: +0/-0
    • View Profile
Re: MDG link VS2005 Beta 1.0 - Can't create EA Mod
« Reply #4 on: November 29, 2005, 04:20:48 pm »
Hello again Charker and Keith,

These problems have been addressed in Beta 2, which is now available for download:

http://www.sparxsystems.com.au/cgi-bin/yabb/YaBB.pl?board=Latest;action=display;num=1134429278

Phil Bachmann
Sparx Systems PTY LTD.
« Last Edit: December 12, 2005, 04:24:11 pm by Phil_Bachmann »