rene Posted February 26, 2016 Report Share Posted February 26, 2016 Hello Community, right after installing built 1391 I ran into a problem with the Web Access. When opening the Link on the host system I get this error: [b]Server Error in '/Daminion' Application.[/b] [b] [i]Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format.[/i] [/b] [font="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"] [b] Description: [/b]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. [b] Exception Details: [/b]System.BadImageFormatException: Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format. [b]Source Error:[/b] 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. [b]Assembly Load Trace:[/b] The following information can be helpful to determine why the assembly 'PicaJet.Daminion.BusinessObjects' 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]. [b]Stack Trace:[/b] [badImageFormatException: Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format.] System.Reflection.RuntimeAssembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, RuntimeAssembly locationHint, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +0 System.Reflection.RuntimeAssembly.InternalLoadAssemblyName(AssemblyName assemblyRef, Evidence assemblySecurity, RuntimeAssembly reqAssembly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean throwOnFileNotFound, Boolean forIntrospection, Boolean suppressSecurityChecks) +210 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean forIntrospection) +242 System.Reflection.RuntimeAssembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection) +17 System.Reflection.Assembly.Load(String assemblyString) +35 System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +122 [ConfigurationErrorsException: Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' 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) +12497268 System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +499 System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +131 System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +331 System.Web.Compilation.BuildManager.CallPreStartInitMethods(String preStartInitListPath, Boolean& isRefAssemblyLoaded) +148 System.Web.Compilation.BuildManager.ExecutePreAppStart() +172 System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters, PolicyLevel policyLevel, Exception appDomainCreationException) +1151 [HttpException (0x80004005): Could not load file or assembly 'PicaJet.Daminion.BusinessObjects' or one of its dependencies. An attempt was made to load a program with an incorrect format.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +12618980 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +159 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +12458597 [b]Version Information:[/b] Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.34280 [/font] When I now try to open that link on my client machine the page is not loading it all. thanks René Schildt Quote Link to comment Share on other sites More sharing options...
rene Posted February 26, 2016 Author Report Share Posted February 26, 2016 My client shows this error message: [b]Server Error in '/daminion' Application.[/b] [b] [i]Runtime Error[/i] [/b] [font="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif"] [b] Description: [/b]An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. [b]Details:[/b] To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> [b]Notes:[/b] The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration>[/font] Quote Link to comment Share on other sites More sharing options...
Murat Posted February 26, 2016 Report Share Posted February 26, 2016 Can you click Reinstall button in your admin panel > administration > web-access. Quote Link to comment Share on other sites More sharing options...
rene Posted February 26, 2016 Author Report Share Posted February 26, 2016 will do Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.