Sparx Systems Forum

Enterprise Architect => General Board => Topic started by: kstrain on November 22, 2005, 08:44:03 pm

Title: MDG link VS2005 Beta 1.0 - Can't create EA Model
Post by: kstrain 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?
Title: Re: MDG link VS2005 Beta 1.0 - Can't create EA Mod
Post by: Phil_Bachmann 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
Title: Re: MDG link VS2005 Beta 1.0 - Can't create EA Mod
Post by: kstrain 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.
Title: Re: MDG link VS2005 Beta 1.0 - Can't create EA Mod
Post by: charker 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
Title: Re: MDG link VS2005 Beta 1.0 - Can't create EA Mod
Post by: Phil_Bachmann 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.