StrataFrame Forum

Can't load assembly 'MicroFour StrataFrame Base

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

By Curtis Graves - 5/11/2007

Whether I try to run the sample web application, or create a new web site with a single default page, I am getting the following error:

Could not load file or assembly 'MicroFour StrataFrame Base, Culture=neutral, PublicKeyToken=99fe9917f71608a7' or one of its dependencies. The system cannot find the file specified.

There doesn't appear to be missing references, the assemblies are actually in the folders they should be, and web.config is pointing to the correct version. In fact, I am evaluating the framework to determine if our company would benefit from StrataFrame. We only have the one version (1.6) installed.

Any help would be greatly appreciated.

Thanks,

Curtis Graves

By StrataFrame Team - 5/11/2007

We pulled the version out of the Web Application template because every time the version changed on our side, we had to change all of the templates by hand.  However, this caused lots of other problems (like the one you've mentioned), so we added it back.  Here's the 2 templates for creating either a Web Site or a Web Application Project. 

The SF_WebApplicationProject.zip goes into the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\CSharp\StrataFrame\ folder

The SF_WebApplication.zip goes into the C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\Web\CSharp\ folder

By StrataFrame Team - 5/11/2007

These are the 2 templates for VB if that's what you're using (had to put them in a different post because they have the same names...).

SF_WebApplicaton.zip -> C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\Web\VisualBasic\

SF_WebApplicationProject.zip -> C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\ProjectTemplates\VisualBasic\StrataFrame\

By StrataFrame Team - 5/11/2007

Once you replace the files, you'll need to close Visual Studio and run "C:\Program Files\Microsoft Visual Studio 8\Common7\IDE\devenv.exe" /setup from the command prompt to get the new templates installed.
By Curtis Graves - 5/11/2007

Thanks for your help, Ben. I already figured out that I needed to add the version info into the web.config.

I will make the changes you mentioned and I'm sure it will fix the templates.

Thanks again.

Curtis Graves