none
This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded

    General discussion

  • Hi,

    We are having problem after problem with the new websitepanel.

    Now the websitepanel wont work at all. It dosent mather if we run 2.0 or 4.0

    Server Error in '/' Application.

     


     

    Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    --
    <html>
    <head>
    <title>Configuration Error</title>
    <style>
    body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
    p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
    b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
    H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
    H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
    pre {font-family:"Lucida Console";font-size: .9em}
    .marker {font-weight: bold; color: black;text-decoration: none;}
    .version {color: gray;}
    .error {margin-bottom: 10px;}
    .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
    </style>
    </head>

    <body bgcolor="white">

    <span><H1>Server Error in '/EnterpriseServer' Application.<hr width=100% size=1 color=silver></H1>

    <h2> <i>Configuration Error</i> </h2></span>

    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

    <b> Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    <br><br>

    <b> Parser Error Message: </b>Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.<br><br>

    <b>Source Error:</b> <br><br>

    <table width=100% bgcolor="#ffffcc">
    <tr>
    <td>
    <code><pre>

    Line 60: <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 61: <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    <font color=red>Line 62: <add assembly="*"/>
    </font>Line 63: <add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    Line 64: <add assembly="System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></pre></code>

    </td>
    </tr>
    </table>

    <br>

    <b> Source File: </b> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config<b> Line: </b> 62
    <br><br>

    <b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'WebsitePanel.Common.Utils' could not be loaded.<br><br>

    <table width=100% bgcolor="#ffffcc">
    <tr>
    <td>
    <code><pre>

    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].
    </pre></code>

    </td>
    </tr>
    </table>

    <br>

    <hr width=100% size=1 color=silver>

    <b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618

    </font>

    </body>
    </html>
    <!--
    [BadImageFormatException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
    at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
    at System.Reflection.Assembly.Load(String assemblyString)
    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
    [ConfigurationErrorsException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 62)
    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
    at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
    at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
    at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
    at System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName)
    at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
    at System.Web.Compilation.BuildManager.CompileGlobalAsax()
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
    [HttpException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 62)
    at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
    at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
    [HttpException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 62)
    at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
    at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
    at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    -->
    --.

    Description:

    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.

    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.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    --
    <html>
    <head>
    <title>Configuration Error</title>
    <style>
    body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
    p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
    b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
    H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
    H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
    pre {font-family:"Lucida Console";font-size: .9em}
    .marker {font-weight: bold; color: black;text-decoration: none;}
    .version {color: gray;}
    .error {margin-bottom: 10px;}
    .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
    </style>
    </head>

    <body bgcolor="white">

    <span><H1>Server Error in '/EnterpriseServer' Application.<hr width=100% size=1 color=silver></H1>

    <h2> <i>Configuration Error</i> </h2></span>

    <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">

    <b> Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
    <br><br>

    <b> Parser Error Message: </b>Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.<br><br>

    <b>Source Error:</b> <br><br>

    <table width=100% bgcolor="#ffffcc">
    <tr>
    <td>
    <code><pre>

    Line 60: <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 61: <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    <font color=red>Line 62: <add assembly="*"/>
    </font>Line 63: <add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    Line 64: <add assembly="System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></pre></code>

    </td>
    </tr>
    </table>

    <br>

    <b> Source File: </b> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config<b> Line: </b> 62
    <br><br>

    <b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'WebsitePanel.Common.Utils' could not be loaded.<br><br>

    <table width=100% bgcolor="#ffffcc">
    <tr>
    <td>
    <code><pre>

    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].
    </pre></code>

    </td>
    </tr>
    </table>

    <br>

    <hr width=100% size=1 color=silver>

    <b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618

    </font>

    </body>
    </html>
    <!--
    [BadImageFormatException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
    at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
    at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
    at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
    at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
    at System.Reflection.Assembly.Load(String assemblyString)
    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
    [ConfigurationErrorsException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 62)
    at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
    at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
    at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
    at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
    at System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName)
    at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
    at System.Web.Compilation.BuildManager.CompileGlobalAsax()
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
    [HttpException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 62)
    at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
    at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
    at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
    [HttpException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 62)
    at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
    at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
    at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    -->
    --.

    Source Error:


    Stack Trace:

     

    [InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
    The request failed with the error message:
    --
    <html>
      <head>
        <title>Configuration Error</title>
        <style>
         body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} 
         p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
         b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
         H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
         H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
         pre {font-family:"Lucida Console";font-size: .9em}
         .marker {font-weight: bold; color: black;text-decoration: none;}
         .version {color: gray;}
         .error {margin-bottom: 10px;}
         .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
        </style>
      </head>
    
      <body bgcolor="white">
    
          <span><H1>Server Error in '/EnterpriseServer' Application.<hr width=100% size=1 color=silver></H1>
    
          <h2> <i>Configuration Error</i> </h2></span>
    
          <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
    
          <b> Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
          <br><br>
    
          <b> Parser Error Message: </b>Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.<br><br>
    
          <b>Source Error:</b> <br><br>
    
          <table width=100% bgcolor="#ffffcc">
            <tr>
             <td>
               <code><pre>
    
    Line 60:         <add assembly="System.EnterpriseServices, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    Line 61:         <add assembly="System.Web.Mobile, Version=2.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"/>
    <font color=red>Line 62:         <add assembly="*"/>
    </font>Line 63:         <add assembly="System.ServiceModel.Web, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/>
    Line 64:         <add assembly="System.WorkflowServices, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35"/></pre></code>
    
             </td>
            </tr>
          </table>
    
          <br>
    
          <b> Source File: </b> C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config<b>  Line: </b> 62
          <br><br>
    
          <b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'WebsitePanel.Common.Utils' could not be loaded.<br><br>
    
          <table width=100% bgcolor="#ffffcc">
            <tr>
             <td>
               <code><pre>
    
    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].
    </pre></code>
    
             </td>
            </tr>
          </table>
    
          <br>
    
          <hr width=100% size=1 color=silver>
    
          <b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618
    
          </font>
    
      </body>
    </html>
    <!-- 
    [BadImageFormatException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
      at System.Reflection.Assembly._nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
      at System.Reflection.Assembly.nLoad(AssemblyName fileName, String codeBase, Evidence assemblySecurity, Assembly locationHint, StackCrawlMark& stackMark, Boolean throwOnFileNotFound, Boolean forIntrospection)
      at System.Reflection.Assembly.InternalLoad(AssemblyName assemblyRef, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
      at System.Reflection.Assembly.InternalLoad(String assemblyString, Evidence assemblySecurity, StackCrawlMark& stackMark, Boolean forIntrospection)
      at System.Reflection.Assembly.Load(String assemblyString)
      at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
    [ConfigurationErrorsException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 62)
      at System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective)
      at System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory()
      at System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai)
      at System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig)
      at System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName)
      at System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp)
      at System.Web.Compilation.BuildManager.CompileGlobalAsax()
      at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
    [HttpException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 62)
      at System.Web.Compilation.BuildManager.ReportTopLevelCompilationException()
      at System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled()
      at System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters)
    [HttpException]: Could not load file or assembly 'WebsitePanel.Common.Utils' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded. (C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Config\web.config line 62)
      at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
      at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
      at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
    -->
    --.]
      WebsitePanel.Portal.PortalUtils.AuthenticateUser(String username, String password, String ipAddress, Boolean rememberLogin, String preferredLocale, String theme) +159
      WebsitePanel.Portal.Login.LoginUser(String username, String password, Boolean rememberLogin, String preferredLocale, String theme) +31
      WebsitePanel.Portal.Login.btnLogin_Click(Object sender, EventArgs e) +129
      System.Web.UI.WebControls.Button.OnClick(EventArgs e) +107
      System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +110
      System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
      System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
      System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
      System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +3436

     


     

    Version Information:

    Microsoft .NET Framework Version:2.0.50727.3623; ASP.NET Version:2.0.50727.3618
    Sunday, August 21, 2011 10:05 PM

All replies

  • Helooooooooooooooooooooooooooooooooooooooooooooooo
    Thursday, August 25, 2011 8:17 PM
  • Hi,

    Thank you for posting. To determine the root cause of the issue, we need to confirm the following:

    Have you upgrated all 3 components?
    Do you mean the error persists even you change the application pool's .net framework version to 4.0?
    Is that exactly the same error information when use the .net framework 4.0 pool? That means same error content but reports .net version 4.0 at the bottom?

    Thanks.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com. Microsoft One Code Framework
    Friday, August 26, 2011 6:08 AM
    Moderator
  • Hi,

    Have your problem got solved? If not, feel free to let me know and update here. It will be appreciated if you can provide more information on this issue.

    Thanks.


    Please mark the replies as answers if they help or unmark if not. If you have any feedback about my replies, please contact msdnmg@microsoft.com. Microsoft One Code Framework
    Monday, August 29, 2011 3:21 PM
    Moderator