StrataFrame Forum

Should I include MicroFour StrataFrame Extensibility.dll?

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

By ChanKK - 10/28/2010

Hi,
According to what I read from SF help documentation, the MicroFour StrataFrame Extensibility.dll should not be deployed as it is used for design time only. However, recently i found that I have to deploy this file as else will hit error as attached. But it works fine in certain server as well.. weird. Any ideas?
By Ivan George Borges - 10/29/2010

Hi Chan.

Have a look at this post:

http://forum.strataframe.net/FindPost6152.aspx
By ChanKK - 11/10/2010

Hi
It is web application, it it seem like I need to ship it. However, I will hit error in 64 bits server environment . It would hit error could load library ... 32 bits... as well...
any ideas?
By Ivan George Borges - 11/10/2010

Sorry Chan, cou'ldn't really get it. Can you post the error and the situation you are hitting it?
By ChanKK - 11/15/2010

Server Error in '/FlexHR' Application.

Could not load file or assembly 'MicroFour StrataFrame Extensibility' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. 

Exception Details: System.BadImageFormatException: Could not load file or assembly 'MicroFour StrataFrame Extensibility' or one of its dependencies. An attempt was made to load a program with an incorrect format.

Source Error: 

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Assembly Load Trace: The following information can be helpful to determine why the assembly 'MicroFour StrataFrame Extensibility' could not be loaded.



WRN: Assembly binding logging is turned OFF.
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.
Note: There is some performance penalty associated with assembly bind failure logging.
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].

Stack Trace: 



[BadImageFormatException: Could not load file or assembly 'MicroFour StrataFrame Extensibility' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
   System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection) +0
   System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +416
   System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +166
   System.Reflection.Assembly.Load(String assemblyString) +35
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +190

[ConfigurationErrorsException: Could not load file or assembly 'MicroFour StrataFrame Extensibility' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
   System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11211672
   System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +388
   System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +232
   System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +48
   System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +210
   System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76
   System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +283
   System.Web.Compilation.BuildManager.CompileGlobalAsax() +50
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +676

[HttpException (0x80004005): Could not load file or assembly 'MicroFour StrataFrame Extensibility' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
   System.Web.Compilation.BuildManager.ReportTopLevelCompilationException() +76
   System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1012
   System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1025

[HttpException (0x80004005): Could not load file or assembly 'MicroFour StrataFrame Extensibility' or one of its dependencies. An attempt was made to load a program with an incorrect format.]
   System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11305670
   System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
   System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr) +11179160
By Ivan George Borges - 11/15/2010

Right.

See if this one helps:

http://blog.crowe.co.nz/archive/2007/11/05/Could-not-load-file-or-assembly-name-or-one-of.aspx
By ChanKK - 11/17/2010

Hi
Do you mean I need to Enable 32 bits mode? Why? Doesn't SF support 64 bits, does it?
By Ivan George Borges - 11/17/2010

Have you tried configuring the IIS? Did it help?
By ChanKK - 11/19/2010

Yes, if I enable 32 bits it will work. But why not 64 bits?
By Ivan George Borges - 11/20/2010

Probably because the developing team had the need to compile it this way. Guess it is not an issue at the moment, since it will fit either 32 or 64 bit configurations.