Quantcast
Channel: Windows Server
Viewing all articles
Browse latest Browse all 26364

WSUS fails on 2012 R2 POST Installation tasks

$
0
0

worked fine before on my 2008 R2 server. Upgraded and now won't load. This is a WSUS server and not a DC. Log:

2014-01-02 14:33:05 Postinstall started
2014-01-02 14:33:05 Detected role services: Api, UI, WidDatabase, Services
2014-01-02 14:33:05 Start: LoadSettingsFromXml
2014-01-02 14:33:05 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2014-01-02 14:33:05 Value is true
2014-01-02 14:33:05 End: GetConfigValue
2014-01-02 14:33:05 Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2014-01-02 14:33:05 Value is c:\wsus
2014-01-02 14:33:05 End: GetConfigValue
2014-01-02 14:33:05 Content directory is c:\wsus
2014-01-02 14:33:05 Database roleservice is not installed
2014-01-02 14:33:05 End: LoadSettingsFromXml
Post install is starting
2014-01-02 14:33:05 Start: Run
2014-01-02 14:33:05 Fetching WsusAdministratorsSid from registry store
2014-01-02 14:33:05 Value is S-1-5-21-3706009128-2822206464-901699685-1006
2014-01-02 14:33:05 Fetching WsusReportersSid from registry store
2014-01-02 14:33:05 Value is S-1-5-21-3706009128-2822206464-901699685-1005
2014-01-02 14:33:07 Configuring content directory...
2014-01-02 14:33:07 Configuring groups...
2014-01-02 14:33:07 Starting group configuration for WSUS Administrators...
2014-01-02 14:33:07 Found group in regsitry, attempting to use it...
2014-01-02 14:33:09 Writing group to registry...
2014-01-02 14:33:09 Finished group creation
2014-01-02 14:33:09 Starting group configuration for WSUS Reporters...
2014-01-02 14:33:09 Found group in regsitry, attempting to use it...
2014-01-02 14:33:09 Writing group to registry...
2014-01-02 14:33:09 Finished group creation
2014-01-02 14:33:09 Configuring permissions...
2014-01-02 14:33:09 Fetching content directory...
2014-01-02 14:33:09 Fetching ContentDir from registry store
2014-01-02 14:33:09 Value is c:\wsus
2014-01-02 14:33:09 Fetching group SIDs...
2014-01-02 14:33:09 Fetching WsusAdministratorsSid from registry store
2014-01-02 14:33:09 Value is S-1-5-21-3706009128-2822206464-901699685-1006
2014-01-02 14:33:09 Fetching WsusReportersSid from registry store
2014-01-02 14:33:09 Value is S-1-5-21-3706009128-2822206464-901699685-1005
2014-01-02 14:33:09 Creating group principals...
2014-01-02 14:33:09 Granting directory permissions...
2014-01-02 14:33:09 Granting permissions on content directory...
2014-01-02 14:33:09 Granting registry permissions...
2014-01-02 14:33:09 Granting registry permissions...
2014-01-02 14:33:09 Granting registry permissions...
2014-01-02 14:33:09 Configuring shares...
2014-01-02 14:33:09 Configuring network shares...
2014-01-02 14:33:09 Fetching content directory...
2014-01-02 14:33:09 Fetching ContentDir from registry store
2014-01-02 14:33:09 Value is c:\wsus
2014-01-02 14:33:09 Fetching WSUS admin SID...
2014-01-02 14:33:09 Fetching WsusAdministratorsSid from registry store
2014-01-02 14:33:09 Value is S-1-5-21-3706009128-2822206464-901699685-1006
2014-01-02 14:33:09 Content directory is local, creating content shares...
2014-01-02 14:33:09 Creating share "UpdateServicesPackages" with path "c:\wsus\UpdateServicesPackages" and description "A network share to be used by client systems for collecting all software packages (usually applications) published on this WSUS system."
2014-01-02 14:33:09 Deleting existing share...
2014-01-02 14:33:09 Creating share...
2014-01-02 14:33:09 Share successfully created
2014-01-02 14:33:09 Creating share "WsusContent" with path "c:\wsus\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2014-01-02 14:33:09 Deleting existing share...
2014-01-02 14:33:09 Creating share...
2014-01-02 14:33:09 Share successfully created
2014-01-02 14:33:09 Creating share "WSUSTemp" with path "C:\Program Files\Update Services\LogFiles\WSUSTemp" and description "A network share used by Local Publishing from a Remote WSUS Console Instance."
2014-01-02 14:33:09 Deleting existing share...
2014-01-02 14:33:09 Creating share...
2014-01-02 14:33:09 Share successfully created
2014-01-02 14:33:09 Finished creating content shares
2014-01-02 14:33:09 Stopping service WSUSService
2014-01-02 14:33:09 Stopping service W3SVC
2014-01-02 14:33:10 Configuring WID database...
2014-01-02 14:33:10 Configuring the database...
2014-01-02 14:33:10 Establishing DB connection...
2014-01-02 14:33:10 Checking to see if database exists...
2014-01-02 14:33:10 Database exists
2014-01-02 14:33:10 Switching database to single user mode...
2014-01-02 14:33:13 Loading install type query...
2014-01-02 14:33:13 DECLARE @currentDBVersion int
DECLARE @scriptMajorVersion int = (9600)
DECLARE @scriptMinorVersion int = (16384)
DECLARE @databaseMajorVersion int
DECLARE @databaseMinorVersion int
DECLARE @databaseBuildNumber nvarchar(10)
IF NOT EXISTS(SELECT * FROM sys.databases WHERE name='SUSDB')
BEGIN
SELECT 1
END
ELSE
BEGIN
SET @currentDBVersion = (SELECT SchemaVersion FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
SET @databaseBuildNumber = (SELECT BuildNumber FROM SUSDB.dbo.tbSchemaVersion WHERE ComponentName = 'CoreDB')
DECLARE @delimiterPosition INT = CHARINDEX('.', @databaseBuildNumber)
IF (@delimiterPosition = 0)
BEGIN
RAISERROR('Invalid schema version number', 16, 1) with nowait
return
END
SET @databaseMajorVersion = SUBSTRING(@databaseBuildNumber, 1, @delimiterPosition - 1)
SET @databaseMinorVersion = SUBSTRING(@databaseBuildNumber, (@delimiterPosition + 1), (10 - @delimiterPosition))
IF @currentDBVersion < 926
BEGIN
SELECT 3
END
ELSE
BEGIN
IF (@scriptMajorVersion > @databaseMajorVersion OR
(@scriptMajorVersion = @databaseMajorVersion AND @scriptMinorVersion > @databaseMinorVersion))
BEGIN
SELECT 2
END
ELSE IF (@scriptMajorVersion = @databaseMajorVersion AND
@scriptMinorVersion = @databaseMinorVersion)
BEGIN
SELECT 0
END
ELSE
BEGIN
SELECT 4
END
END
END

2014-01-02 14:33:13 Install type is: Reinstall
2014-01-02 14:33:13 Creating logins...
2014-01-02 14:33:13 Fetching account info for S-1-5-20
2014-01-02 14:33:13 Found principal
2014-01-02 14:33:13 Found account
2014-01-02 14:33:13 Got binary SID
2014-01-02 14:33:14 Fetching WsusAdministratorsSid from registry store
2014-01-02 14:33:14 Value is S-1-5-21-3706009128-2822206464-901699685-1006
2014-01-02 14:33:14 Fetching account info for S-1-5-21-3706009128-2822206464-901699685-1006
2014-01-02 14:33:14 Found principal
2014-01-02 14:33:14 Found account
2014-01-02 14:33:14 Got binary SID
2014-01-02 14:33:14 Setting content location...
2014-01-02 14:33:14 Fetching ContentDir from registry store
2014-01-02 14:33:14 Value is c:\wsus
2014-01-02 14:33:14 Swtching DB to multi-user mode......
2014-01-02 14:33:15 Finished setting multi-user mode
2014-01-02 14:33:15 Writing DB settings to registry...
2014-01-02 14:33:15 Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2014-01-02 14:33:15 Starting service W3SVC
2014-01-02 14:33:15 Configuring IIS...
2014-01-02 14:33:15 Start: ConfigureWebsite
2014-01-02 14:33:15 Configuring website on port 8530
2014-01-02 14:33:43 2014-01-02 14:33:24 Info IISCustomAction Performing Setup Action, Command /Install
2014-01-02 14:33:42 Info IISCustomAction Command /Install Succeeded

2014-01-02 14:33:43 End: ConfigureWebsite
2014-01-02 14:33:43 Configuring performance counters...
2014-01-02 14:33:43 Configuring Stats.NET perf counter...
2014-01-02 14:33:43 Configuring reporting perf counter...
2014-01-02 14:33:43 Configuring client webservice perf counter...
2014-01-02 14:33:43 Configuring server sync webservice perf counter...
2014-01-02 14:33:43 Configuring API remoting perf counter...
2014-01-02 14:33:43 Bringing services online...
2014-01-02 14:33:43 Checking initialization status...
2014-01-02 14:33:44 Database needs initialization.
2014-01-02 14:33:44 StartServer starting...
2014-01-02 14:33:44 Generating encryption key to write to the registry...
2014-01-02 14:33:44 Generating encryption key to write to the database...
2014-01-02 14:33:44 Generating encryption key succeeded...
2014-01-02 14:33:44 Setting WSUSService to autostart...
2014-01-02 14:33:44 WSUSService is set to autostart.
2014-01-02 14:33:44 Starting WSUSService...
2014-01-02 14:33:44 Failed to start WsusService. Exception: System.InvalidOperationException: Cannot start service WSUSService on computer '.'. ---> System.ComponentModel.Win32Exception: The service did not respond to the start or control request in a timely fashion
--- End of inner exception stack trace ---
at System.ServiceProcess.ServiceController.Start(String[] args)
at Microsoft.UpdateServices.Setup.StartServer.StartServer.StartAndConfigureService()
2014-01-02 14:33:44 Importing default detectoids.
2014-01-02 14:33:44 Importing CriticalUpdates.xml...
2014-01-02 14:33:45 Importing Drivers.xml...
2014-01-02 14:33:45 Importing FeaturePacks.xml...
2014-01-02 14:33:45 Importing MicrosoftCorporation.xml...
2014-01-02 14:33:45 Importing SecurityUpdates.xml...
2014-01-02 14:33:45 Importing ServicePacks.xml...
2014-01-02 14:33:45 Importing Tools.xml...
2014-01-02 14:33:45 Importing UpdateRollups.xml...
2014-01-02 14:33:45 Importing Updates.xml...
2014-01-02 14:33:45 Importing Windows.xml...
2014-01-02 14:33:45 Importing Windows2000family.xml...
2014-01-02 14:33:45 Importing WindowsServer2003DatacenterEdition.xml...
2014-01-02 14:33:45 Importing WindowsServer2003Family.xml...
2014-01-02 14:33:45 Importing WindowsXPfamily.xml...
2014-01-02 14:33:45 Importing LocalPublisher.xml...
2014-01-02 14:33:45 Importing LocallyPublishedPackages.xml...
2014-01-02 14:33:45 Importing Applications.xml...
2014-01-02 14:33:45 Importing Exchange.xml...
2014-01-02 14:33:45 Importing Office.xml...
2014-01-02 14:33:45 Importing SQL.xml...
2014-01-02 14:33:45 Importing Exchange2000Server.xml...
2014-01-02 14:33:45 Importing ExchangeServer2003.xml...
2014-01-02 14:33:45 Importing OfficeXP.xml...
2014-01-02 14:33:45 Importing Office2003.xml...
2014-01-02 14:33:45 Importing SQLServer.xml...
2014-01-02 14:33:45 Importing WindowsXP64BitEditionVersion2003.xml...
2014-01-02 14:33:45 Importing DefinitionUpdateSusXml.xml...
2014-01-02 14:33:45 Importing ClientServicingApiDetectoid.xml...
2014-01-02 14:33:45 Importing default detectoids succeeded.
2014-01-02 14:33:45 Creating default subscription.
2014-01-02 14:33:45 Instantiating UpdateServer
2014-01-02 14:33:46 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:
--


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.

Server Error in '/ApiRemoting30' Application.

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.

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 '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.

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 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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 '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) +11321608
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 '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() +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 '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) +11415606
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4402724



Version Information:ÿMicrosoft .NET Framework Version:2.0.50727.7905; ASP.NET Version:2.0.50727.7905




--.
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()
2014-01-02 14:33:46 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:
--


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.

Server Error in '/ApiRemoting30' Application.

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.

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 '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.

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 'Microsoft.UpdateServices.WebServices.ApiRemoting' 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 '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) +11321608
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 '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() +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 '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) +11415606
System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +88
System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4402724



Version Information:ÿMicrosoft .NET Framework Version:2.0.50727.7905; ASP.NET Version:2.0.50727.7905




--.
2014-01-02 14:33:46 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)
Fatal Error: Failed to start and configure the WSUS service


Viewing all articles
Browse latest Browse all 26364

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>