none
Lync 2013 control panel RRS feed

  • Question

  • hi,

    when i log into Lync control panel, it fails to open. I see the splash screen but when the panel opens i see the error below. can someone please help me with this?

    many thanks.

    Server Error in '/cscp' Application.

    Could not load file or assembly 'RtcMgmt.MappingEngine' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

    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 'RtcMgmt.MappingEngine' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.

    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 'RtcMgmt.MappingEngine' 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 'RtcMgmt.MappingEngine' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
       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 'RtcMgmt.MappingEngine' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
       System.Web.Configuration.CompilationSection.LoadAssemblyHelper(String assemblyName, Boolean starDirective) +11317880
       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 'RtcMgmt.MappingEngine' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
       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 'RtcMgmt.MappingEngine' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.]
       System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11411878
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4401140
    


    Version Information: Microsoft .NET Framework Version:2.0.50727.5472; ASP.NET Version:2.0.50727.5474

    Saturday, November 23, 2013 10:13 AM

Answers

  • Looks like the issue is the Lync Application Pools are running with the wrong version of .NET, it should be v4.0 not v2

    Launch IIS on the Front End and look at the Application Pools node (see screenshot).

    The Application Pool used by the CSCP is LyncIntManagement, but you should check that all the Lync items are using the correct version of .NET.

    Right Click the Application Pool you would like to change, Click Advanced Settings and Pick the correct .NET Framework Version from the drop down. You might have to Stop and Start the Application Pool for changes to take effect.

    • Marked as answer by Rod.Hay Saturday, November 23, 2013 9:52 PM
    Saturday, November 23, 2013 5:20 PM

All replies

  • Looks like the issue is the Lync Application Pools are running with the wrong version of .NET, it should be v4.0 not v2

    Launch IIS on the Front End and look at the Application Pools node (see screenshot).

    The Application Pool used by the CSCP is LyncIntManagement, but you should check that all the Lync items are using the correct version of .NET.

    Right Click the Application Pool you would like to change, Click Advanced Settings and Pick the correct .NET Framework Version from the drop down. You might have to Stop and Start the Application Pool for changes to take effect.

    • Marked as answer by Rod.Hay Saturday, November 23, 2013 9:52 PM
    Saturday, November 23, 2013 5:20 PM
  • Thank you Very much, this worked. i didn't even have to restart app pool.

    Cheers

    Saturday, November 23, 2013 9:53 PM
  • Hi,

    The document troubleshooting Lync Server 2013 Control Panel:

    http://technet.microsoft.com/en-us/library/gg195689.aspx

    Hope it will be useful to you in the future. For any further question, please feel free to post the question on forum.


    Kent Huang
    TechNet Community Support

    Friday, November 29, 2013 2:37 AM