StrataFrame Forum

StrataFrame 1.6.5 - VS2008 Add-In Error

http://forum.strataframe.net/Topic14308.aspx

By Crones - 2/11/2008

I have been round and round trying to figure out why I cannot get StrataFrame v1.6.5 (release as of yesterday) installed.



The installation goes through without a hitch however when opening Visual Studio 2008, I get this error:



The Add-In 'StrataFrame Add-In Manager' failed to load or caused an exception.

StrataFrame2008.AddIn



Message: The system cannot find the file specified.

Number: 80070002





I believe this may be due to me running Vista x64?

I've tried copying the files from Program Files (x86) to the Program Files location and the other way around. (Get other errors when doing that...)

I've installed, uninstalled, re-installed and checked the GAC making sure I didn't have any old references.

I've tried modifying the AddIn file to reflect both locations, and nothing seems to work so I figured it was time to ask for help!BigGrin



What can I do to get this installed and functioning?
By Trent L. Taylor - 2/11/2008

First, I will install on a x64 box to see if there are any issues.  When I rebuilt my machine this last go around I decided to rebuild as x32 since there are far fewer issues with most drivers, applications, etc.  So I will have to setup a virtual x64 instance for me to test on.

As for the files, I doubt that the issue is with the Program Files\Common Files\MicroFour\StrataFrame location.  Though you definitely want to get these updated with the correct assemblies, I would imagine that the issue is with the SF assemblies in the GAC.  You might try these steps:

  1. Manually delete them from the GAC
  2. Make sure that the program files\common files\microfour strataframe have the most recent assemblies
  3. Once there, drag those assemblies manually into the GAC
  4. Go back into Visual Studio to see if the error persists.

You may also want to download the most recent source code update and build it as well to see if things get themselves "worked out."  You can get this through the My Account area of the site.

By Crones - 2/11/2008

I must've been tired last night when I tried resolving this last night or something and didn't double check myself.

After checking everything you mentioned and short of installing & compiling the source, on a whim, I modified the AddIn file again and changed the Assembly reference location to reflect the Program Files (x86) location. This fixed the issue and everything seems to work.



I DID encounter a few issues however after I uninstalled previously...

During the uinstall, this error came up:



Error occurred when removing templates...

Could not find a part of the path 'C:\Windows\system32\ItemTemplates'.



And not sure if this is related or not, but Visual Studio would still show the Project templates (though it would just tell me it couldn't find them) when opening the New Project dialog after uinstalling & manually removing any visible trace of StrataFrame and any reference to MicroFour that I could find on the computer.



Thanks for the help!
By Trent L. Taylor - 2/12/2008

Could not find a part of the path 'C:\Windows\system32\ItemTemplates'.

Hmm...I will see if I can reproduce, but this path comes from the registry Crazy .  But all the same, I will be testing on the x64 OS and I will see if this comes up as well.  Thanks. Smile

By Ralph Rutschmann - 2/15/2008

Hello,

I've got the same error, but I'm running XP Professional SP 2:

----------------------------------

The Add-In 'StrataFrame Add-In Manager' failed to load or caused an exception.
StrataFrame2008.AddIn

Message: The system cannot find the file specified.
Number: 80070002

----------------------------------

Does anybody know how to fix this?

TIA, Ralph

By Trent L. Taylor - 2/15/2008

This error can be caused from an infinite number of things, so the screen shot alone isn't enough.  But here are the things to check:

  • The SQL Server connection to the StrataFrame table
  • All of the StrataFrame assemblies are synced or on the same version (check the GAC and the Program Files\Common Files\MicroFour\StrataFrame locations

Generally it is one of those two items, so if neither of these produce a result then let us know and we can look at some other items.  You will also need to set the Add-Ins file back to a usuable state once you get this message.  Depending upon how you answered this message, it will have either renamed the AddIns file or changed the LoadBehavior tag inside of the file.  The LoadBehavior tag should be set to 1.  if the file was renamed, just name it back.  You will find this file in the MSEnvDte folder under your logged in user.  You can always do a search to find it. Smile

By Ralph Rutschmann - 2/19/2008

Hello Trent,

thank you very much for giving me some hints. :-)

I reach the StrataFrame tables thru the SQL ServerManagementStudio Express with no problem. All of the StrataFrame assemblies on my machine are of the same version: Assembly Version 1.6.0.0 - File Verison 1.6.5.0

If LoadBehavior tag is set to 1 I get the mentioned error. Maybe the screen shot alone isn't enough, but it is all i get.

Some more hints?

TIA and friendly greetings, Ralph

By Trent L. Taylor - 2/19/2008

Ralph,

First, be sure to get the newest update I just posted: http://forum.strataframe.net/FindPost14430.aspx .  After you load this, if the error persists, then delete your AppData.dat and Connections.dat files and then go back into VS and re-create your connection.  If this doesn't work, then I am not sure what exactly could be causing the problem so we may have to try something else.

By Ralph Rutschmann - 2/21/2008

Hi Trent,

sorry, no success. I tried all you wrote, but nothing worked. Seems I have to reinstall my machine?

TIA, Ralph

By Trent L. Taylor - 2/21/2008

sorry, no success. I tried all you wrote, but nothing worked. Seems I have to reinstall my machine?

I don't want you to have to do that...we can setup a time for a screen sharing session or something before you go to that kind of energy!  Do you have another computer that you can load on to see if the issue follows the machine?

By Ralph Rutschmann - 3/2/2008

Hello Trent,

thank you very much for your generous offer to help me online. It's a very nice kind of you, a really great service.

But meanwhile I found the solution right here at the SF-forum: http://forum.strataframe.net/Topic211-10-1.aspx

The path to the SF Addin.dll pointed to the wrong direction, directories named in english on a german XP. This can't work, but is easy to fix if you know where to look at. ;-)

Thank you very much for your great support,

Ralph

By StrataFrame Team - 3/3/2008

But meanwhile I found the solution right here at the SF-forum:

I'm glad you found it, Ralph.  There really is a great deal of information to be found here on the forum if you know where to look Wink