locked
Failed to start and configure the WSUS service RRS feed

  • Question

  • Hola, un saludo para quien me pueda ayudar con este problema: Estoy instalando WSU en un Windows Server 2012 r2 y al finalizar la "Post-Deployment Configurartion" me arrojó el problema que esta puesto en el titulo.

    Adjunto el log de la instalación, la verdad yo no lo entiendo como para tomar alguna acción, por lo que agradeceré mucho alguna orientación para resolver el problema:

    Nota: debido a la restricción del máximo de caracteres, no cabía todo el texto así que puse solamente la ultima parte del log (espero esto no afecte en el análisis del log)

    Changed database context to 'SUSDB'.
    Populating the database with basic configuration information
    Creating the pre-defined target groups 
    Populating Auto Deployment Rules
    Populating System Subscription
    Populating Email Notification Configuration
    Populating Email Notification Status
    Populating Languages
    Populating tbLanguageInSubscription for default subscription
    Populating Categories
    Populating Driver classes
    Populating handlers
    Populating driver types
    Populating state machine
    Changed database context to 'SUSDB'.
    Changed database context to 'SUSDB'.
    Creating PROCEDURE spUpdateInventoryRulesXml
    Creating PROCEDURE spAddDetailedInventoryRules
    Creating PROCEDURE spGetInventoryVersion
    Creating PROCEDURE spAddInventoryXml
    Creating PROCEDURE spAddDetailedInventoryInformation
    Changed database context to 'SUSDB'.
    Creating PublicViewAccess Database role
    Creating view PUBLIC_VIEWS.vUpdate
    Creating view PUBLIC_VIEWS.vCategory
    Creating view PUBLIC_VIEWS.vClassification
    Creating view PUBLIC_VIEWS.vUpdateInCategory
    Creating view PUBLIC_VIEWS.vLanguage
    Creating view PUBLIC_VIEWS.vUpdateText
    Creating view PUBLIC_VIEWS.vUpdateAdditionalInfoUrl
    Creating view PUBLIC_VIEWS.vCategoryText
    Creating view PUBLIC_VIEWS.vClassificationText
    Creating view PUBLIC_VIEWS.vDownstreamServer
    Creating view PUBLIC_VIEWS.vComputerTarget
    Creating view PUBLIC_VIEWS.vComputerTargetGroup
    Creating view PUBLIC_VIEWS.vComputerGroupMembership
    Creating view PUBLIC_VIEWS.vUpdateApproval
    Creating view PUBLIC_VIEWS.vUpdateInstallationInfoBasic
    Creating view PUBLIC_VIEWS.vUpdateInstallationInfo
    Creating view PUBLIC_VIEWS.vUpdateEffectiveApprovalPerComputer
    Creating view PUBLIC_VIEWS.vSupportedInventory
    Creating view PUBLIC_VIEWS.vComputerInventory
    Creating TVF PUBLIC_VIEWS.fnUpdateInstallationStateMap
    Reestablishing database connection...
    Configuring database...
    Writing settings...
    Settings set
    Creating logins...
    Fetching account info for S-1-5-20
    Found principal
    Found account
    Got binary SID
    Fetching WsusAdministratorsSid from registry store
    Value is S-1-5-21-1891460248-1163817837-2969494106-1000
    Fetching account info for S-1-5-21-1891460248-1163817837-2969494106-1000
    Found principal
    Found account
    Got binary SID
    Setting content location...
    Fetching ContentDir from registry store
    Value is E:\WSUS
    Swtching DB to multi-user mode......
    Finished setting multi-user mode
    Writing DB settings to registry...
    Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    Starting service W3SVC
    Configuring IIS...
    Start: ConfigureWebsite
    Configuring website on port 8530
    Info      IISCustomAction    Performing Setup Action, Command /Install 
    Info      IISCustomAction    Command /Install Succeeded

    End: ConfigureWebsite
    Configuring performance counters...
    Configuring Stats.NET perf counter...
    Configuring reporting perf counter...
    Configuring client webservice perf counter...
    Configuring server sync webservice perf counter...
    Configuring API remoting perf counter...
    Bringing services online...
    StartServer starting...
    Generating encryption key to write to the registry...
    Generating encryption key to write to the database...
    Generating encryption key succeeded...
    Setting WSUSService to autostart...
    WSUSService is set to autostart.
    Starting WSUSService...
    WSUSService is now started.
    Importing default detectoids.
    Importing CriticalUpdates.xml...
    Importing Drivers.xml...
    Importing FeaturePacks.xml...
    Importing MicrosoftCorporation.xml...
    Importing SecurityUpdates.xml...
    Importing ServicePacks.xml...
    Importing Tools.xml...
    Importing UpdateRollups.xml...
    Importing Updates.xml...
    Importing Windows.xml...
    Importing Windows2000family.xml...
    Importing WindowsServer2003DatacenterEdition.xml...
    Importing WindowsServer2003Family.xml...
    Importing WindowsXPfamily.xml...
    Importing LocalPublisher.xml...
    Importing LocallyPublishedPackages.xml...
    Importing Applications.xml...
    Importing Exchange.xml...
    Importing Office.xml...
    Importing SQL.xml...
    Importing Exchange2000Server.xml...
    Importing ExchangeServer2003.xml...
    Importing OfficeXP.xml...
    Importing Office2003.xml...
    Importing SQLServer.xml...
    Importing WindowsXP64BitEditionVersion2003.xml...
    Importing DefinitionUpdateSusXml.xml...
    Importing ClientServicingApiDetectoid.xml...
    Importing default detectoids succeeded.
    Creating default subscription.
    Instantiating UpdateServer
    CreateDefaultSubscription failed. Exception: 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>Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.</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 '/ApiRemoting30' Application.<hr width=100% size=1 color=silver></H1>

                <h2> <i>Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.</i> </h2></span>

                <font face="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.

                <br><br>

                <b> Exception Details: </b>System.BadImageFormatException: Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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>

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

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

                <br>

                <b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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>

                <b>Stack Trace:</b> <br><br>

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

    [BadImageFormatException: Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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) +1149
       System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +332
       System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +119
       System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +36
       System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +219
       System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76
       System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +286
       System.Web.Compilation.BuildManager.CompileGlobalAsax() +48
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +685

    [HttpException (0x80004005): Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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() +79
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1033
       System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1061

    [HttpException (0x80004005): Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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) +656
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +907
    </pre></code>

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

                <br>

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

                <b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.8800; ASP.NET Version:2.0.50727.8762

                </font>

        </body>
    </html>
    <!-- 
    [BadImageFormatException]: Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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.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 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
       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.Configuration.AssemblyInfo.get_AssemblyInternal()
       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 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
       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 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
       at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
       at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
       at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    -->
    --.
       at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)
       at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)
       at Microsoft.UpdateServices.Internal.ApiRemoting.GetServerVersion()
       at Microsoft.UpdateServices.Internal.DatabaseAccess.AdminDataAccessProxy.GetServerVersion()
       at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer.CreateUpdateServer(String serverName, Boolean useSecureConnection, Int32 portNumber)
       at Microsoft.UpdateServices.Internal.BaseApi.UpdateServer..ctor(Boolean bypassApiRemoting)
       at Microsoft.UpdateServices.Setup.StartServer.StartServer.CreateDefaultSubscription()
    StartServer encountered errors. Exception=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>Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.</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 '/ApiRemoting30' Application.<hr width=100% size=1 color=silver></H1>

                <h2> <i>Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.</i> </h2></span>

                <font face="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.

                <br><br>

                <b> Exception Details: </b>System.BadImageFormatException: Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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>

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

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

                <br>

                <b>Assembly Load Trace:</b> The following information can be helpful to determine why the assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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>

                <b>Stack Trace:</b> <br><br>

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

    [BadImageFormatException: Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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) +1149
       System.Web.Configuration.CompilationSection.LoadAllAssembliesFromAppDomainBinDirectory() +332
       System.Web.Configuration.CompilationSection.LoadAssembly(AssemblyInfo ai) +119
       System.Web.Configuration.AssemblyInfo.get_AssemblyInternal() +36
       System.Web.Compilation.BuildManager.GetReferencedAssemblies(CompilationSection compConfig) +219
       System.Web.Compilation.BuildProvidersCompiler..ctor(VirtualPath configPath, Boolean supportLocalization, String outputAssemblyName) +76
       System.Web.Compilation.ApplicationBuildProvider.GetGlobalAsaxBuildResult(Boolean isPrecompiledApp) +286
       System.Web.Compilation.BuildManager.CompileGlobalAsax() +48
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +685

    [HttpException (0x80004005): Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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() +79
       System.Web.Compilation.BuildManager.EnsureTopLevelFilesCompiled() +1033
       System.Web.Hosting.HostingEnvironment.Initialize(ApplicationManager appManager, IApplicationHost appHost, IConfigMapPathFactory configMapPathFactory, HostingEnvironmentParameters hostingParameters) +1061

    [HttpException (0x80004005): Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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) +656
       System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
       System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +907
    </pre></code>

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

                <br>

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

                <b>Version Information:</b> Microsoft .NET Framework Version:2.0.50727.8800; ASP.NET Version:2.0.50727.8762

                </font>

        </body>
    </html>
    <!-- 
    [BadImageFormatException]: Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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.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 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
       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.Configuration.AssemblyInfo.get_AssemblyInternal()
       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 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
       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 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.
       at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
       at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
       at System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context)
    -->
    --.
    Microsoft.UpdateServices.Administration.CommandException: Failed to start and configure the WSUS service
       at Microsoft.UpdateServices.Administration.PostInstall.Run()
       at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)

    Thursday, February 7, 2019 10:19 PM

Answers

  • Hello,

    Try the following steps.

    1. Open IIS manager and navigate to connections then application pools

    2. Locate the Wsuspool and double click on it. There will be a pool drop-down menu: select .net 4

    3. Launch the post-installation again.
     
    Hope my answer could help you and look forward to your feedback.
     
    Best Regards,
    Ray


    Please remembers to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by Mario_Zanetta Friday, February 8, 2019 2:54 PM
    • Unmarked as answer by Mario_Zanetta Friday, February 8, 2019 2:54 PM
    • Marked as answer by Mario_Zanetta Monday, February 11, 2019 2:30 PM
    Friday, February 8, 2019 2:01 AM
  • Hello Ray, thanks a lot!, your solution worked perfect (I just had to restart SII after the changes, beacause it did not work without that steep)

    Best Regards !

    Mario

    • Marked as answer by Mario_Zanetta Monday, February 11, 2019 2:30 PM
    Friday, February 8, 2019 2:58 PM

All replies

  • Hello,

    Try the following steps.

    1. Open IIS manager and navigate to connections then application pools

    2. Locate the Wsuspool and double click on it. There will be a pool drop-down menu: select .net 4

    3. Launch the post-installation again.
     
    Hope my answer could help you and look forward to your feedback.
     
    Best Regards,
    Ray


    Please remembers to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    • Marked as answer by Mario_Zanetta Friday, February 8, 2019 2:54 PM
    • Unmarked as answer by Mario_Zanetta Friday, February 8, 2019 2:54 PM
    • Marked as answer by Mario_Zanetta Monday, February 11, 2019 2:30 PM
    Friday, February 8, 2019 2:01 AM
  • Hello Ray, thanks a lot!, your solution worked perfect (I just had to restart SII after the changes, beacause it did not work without that steep)

    Best Regards !

    Mario

    • Marked as answer by Mario_Zanetta Monday, February 11, 2019 2:30 PM
    Friday, February 8, 2019 2:58 PM
  • Hello Mario,

    Glad to hear it works. So you could mark useful reply as answer and it would help more people who have the same issue.

    Best Regards,

    Ray


    Please remembers to mark the replies as answers if they help.
    If you have feedback for TechNet Subscriber Support, contact tnmff@microsoft.com.

    Friday, February 8, 2019 3:25 PM

  • five stars. worked perfect

    Thanks a lot

    Thursday, March 19, 2020 3:42 PM