Jump to content

[1391] - Web Access Error


rene

Recommended Posts

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

Link to comment
Share on other sites

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]

Link to comment
Share on other sites

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...