Quantcast
Channel: WSUS forum
Viewing all articles
Browse latest Browse all 12874

WSUS Post Installation Task fails with"The request failed with HTTP status 405: Method Not Allowed"

$
0
0

I am trying to install WSUS on a Hyper-V guest server 2012 R2 but it is failing on the post installation task. I have done this on a number of other similar system without any problems.

I have uninstalled WSUS, IIS and WID then re-installed but still get the same error.

I have obviously done something different on this system but cannot see what.

Log from the installation is:

2015-07-16 22:24:47  Postinstall started
2015-07-16 22:24:47  Detected role services: Api, UI, WidDatabase, Services
2015-07-16 22:24:47  Start: LoadSettingsFromXml
2015-07-16 22:24:47  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2015-07-16 22:24:47  Value is true
2015-07-16 22:24:47  End: GetConfigValue
2015-07-16 22:24:47  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentDirectory
2015-07-16 22:24:47  Value is F:\WSUS
2015-07-16 22:24:47  End: GetConfigValue
2015-07-16 22:24:47  Content directory is F:\WSUS
2015-07-16 22:24:47  Database roleservice is not installed
2015-07-16 22:24:47  End: LoadSettingsFromXml
2015-07-16 22:24:47  Start: Run
2015-07-16 22:24:47  Fetching WsusAdministratorsSid from registry store
2015-07-16 22:24:47  Value is S-1-5-21-60817473-2732258804-334072484-1109
2015-07-16 22:24:47  Fetching WsusReportersSid from registry store
2015-07-16 22:24:47  Value is S-1-5-21-60817473-2732258804-334072484-1108
2015-07-16 22:24:47  Configuring content directory...
2015-07-16 22:24:47  Configuring groups...
2015-07-16 22:24:47  Starting group configuration for WSUS Administrators...
2015-07-16 22:24:47  Found group in regsitry, attempting to use it...
2015-07-16 22:24:47  Searching for existing group...
2015-07-16 22:24:47  Existing group was found
2015-07-16 22:24:47  Writing group to registry...
2015-07-16 22:24:47  Finished group creation
2015-07-16 22:24:47  Starting group configuration for WSUS Reporters...
2015-07-16 22:24:47  Found group in regsitry, attempting to use it...
2015-07-16 22:24:47  Searching for existing group...
2015-07-16 22:24:47  Existing group was found
2015-07-16 22:24:47  Writing group to registry...
2015-07-16 22:24:47  Finished group creation
2015-07-16 22:24:47  Configuring permissions...
2015-07-16 22:24:47  Fetching content directory...
2015-07-16 22:24:47  Fetching ContentDir from registry store
2015-07-16 22:24:47  Value is F:\WSUS
2015-07-16 22:24:47  Fetching group SIDs...
2015-07-16 22:24:47  Fetching WsusAdministratorsSid from registry store
2015-07-16 22:24:47  Value is S-1-5-21-60817473-2732258804-334072484-1109
2015-07-16 22:24:47  Fetching WsusReportersSid from registry store
2015-07-16 22:24:47  Value is S-1-5-21-60817473-2732258804-334072484-1108
2015-07-16 22:24:47  Creating group principals...
2015-07-16 22:24:47  Granting directory permissions...
2015-07-16 22:24:47  Granting permissions on content directory...
2015-07-16 22:24:47  Granting registry permissions...
2015-07-16 22:24:47  Granting registry permissions...
2015-07-16 22:24:47  Granting registry permissions...
2015-07-16 22:24:47  Configuring shares...
2015-07-16 22:24:47  Configuring network shares...
2015-07-16 22:24:47  Fetching content directory...
2015-07-16 22:24:47  Fetching ContentDir from registry store
2015-07-16 22:24:47  Value is F:\WSUS
2015-07-16 22:24:47  Fetching WSUS admin SID...
2015-07-16 22:24:47  Fetching WsusAdministratorsSid from registry store
2015-07-16 22:24:47  Value is S-1-5-21-60817473-2732258804-334072484-1109
2015-07-16 22:24:47  Content directory is local, creating content shares...
2015-07-16 22:24:47  Creating share "UpdateServicesPackages" with path "F:\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."
2015-07-16 22:24:47  Deleting existing share...
2015-07-16 22:24:47  Creating share...
2015-07-16 22:24:47  Share successfully created
2015-07-16 22:24:47  Creating share "WsusContent" with path "F:\WSUS\WsusContent" and description "A network share to be used by Local Publishing to place published content on this WSUS system."
2015-07-16 22:24:47  Deleting existing share...
2015-07-16 22:24:47  Creating share...
2015-07-16 22:24:47  Share successfully created
2015-07-16 22:24:47  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."
2015-07-16 22:24:48  Deleting existing share...
2015-07-16 22:24:48  Creating share...
2015-07-16 22:24:48  Share successfully created
2015-07-16 22:24:48  Finished creating content shares
2015-07-16 22:24:48  Stopping service WSUSService
2015-07-16 22:24:48  Stopping service W3SVC
2015-07-16 22:24:49  Configuring WID database...
2015-07-16 22:24:49  Configuring the database...
2015-07-16 22:24:49  Establishing DB connection...
2015-07-16 22:24:49  Checking to see if database exists...
2015-07-16 22:24:49  Database exists
2015-07-16 22:24:49  Switching database to single user mode...
2015-07-16 22:24:52  Loading install type query...
2015-07-16 22:24:52  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

2015-07-16 22:24:52  Install type is: Reinstall
2015-07-16 22:24:52  Creating logins...
2015-07-16 22:24:52  Fetching account info for S-1-5-20
2015-07-16 22:24:52  Found principal
2015-07-16 22:24:52  Found account
2015-07-16 22:24:52  Got binary SID
2015-07-16 22:24:52  Fetching WsusAdministratorsSid from registry store
2015-07-16 22:24:52  Value is S-1-5-21-60817473-2732258804-334072484-1109
2015-07-16 22:24:52  Fetching account info for S-1-5-21-60817473-2732258804-334072484-1109
2015-07-16 22:24:52  Fetching account info for S-1-5-21-60817473-2732258804-334072484-1109
2015-07-16 22:24:52  Found principal
2015-07-16 22:24:52  Found account
2015-07-16 22:24:52  Got binary SID
2015-07-16 22:24:52  Setting content location...
2015-07-16 22:24:52  Fetching ContentDir from registry store
2015-07-16 22:24:52  Value is F:\WSUS
2015-07-16 22:24:52  Swtching DB to multi-user mode......
2015-07-16 22:24:54  Finished setting multi-user mode
2015-07-16 22:24:54  Writing DB settings to registry...
2015-07-16 22:24:54  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
2015-07-16 22:24:54  Starting service W3SVC
2015-07-16 22:24:54  Configuring IIS...
2015-07-16 22:24:54  Start: ConfigureWebsite
2015-07-16 22:24:54  Configuring website on port 8530
2015-07-16 22:25:16  2015-07-16 22:24:55  Info      IISCustomAction    Performing Setup Action, Command /Install
2015-07-16 22:25:15  Info      IISCustomAction    Command /Install Succeeded

2015-07-16 22:25:16  End: ConfigureWebsite
2015-07-16 22:25:16  Configuring performance counters...
2015-07-16 22:25:16  Configuring Stats.NET perf counter...
2015-07-16 22:25:16  Configuring reporting perf counter...
2015-07-16 22:25:16  Configuring client webservice perf counter...
2015-07-16 22:25:16  Configuring server sync webservice perf counter...
2015-07-16 22:25:16  Configuring API remoting perf counter...
2015-07-16 22:25:16  Bringing services online...
2015-07-16 22:25:16  Checking initialization status...
2015-07-16 22:25:16  Database needs initialization.
2015-07-16 22:25:16  StartServer starting...
2015-07-16 22:25:16  Generating encryption key to write to the registry...
2015-07-16 22:25:16  Generating encryption key to write to the database...
2015-07-16 22:25:17  Generating encryption key succeeded...
2015-07-16 22:25:17  Setting WSUSService to autostart...
2015-07-16 22:25:17  WSUSService is set to autostart.
2015-07-16 22:25:17  Starting WSUSService...
2015-07-16 22:25:17  WSUSService is now started.
2015-07-16 22:25:17  Importing default detectoids.
2015-07-16 22:25:17  Importing CriticalUpdates.xml...
2015-07-16 22:25:17  Importing Drivers.xml...
2015-07-16 22:25:17  Importing FeaturePacks.xml...
2015-07-16 22:25:17  Importing MicrosoftCorporation.xml...
2015-07-16 22:25:17  Importing SecurityUpdates.xml...
2015-07-16 22:25:17  Importing ServicePacks.xml...
2015-07-16 22:25:17  Importing Tools.xml...
2015-07-16 22:25:17  Importing UpdateRollups.xml...
2015-07-16 22:25:17  Importing Updates.xml...
2015-07-16 22:25:17  Importing Windows.xml...
2015-07-16 22:25:17  Importing Windows2000family.xml...
2015-07-16 22:25:17  Importing WindowsServer2003DatacenterEdition.xml...
2015-07-16 22:25:17  Importing WindowsServer2003Family.xml...
2015-07-16 22:25:17  Importing WindowsXPfamily.xml...
2015-07-16 22:25:17  Importing LocalPublisher.xml...
2015-07-16 22:25:17  Importing LocallyPublishedPackages.xml...
2015-07-16 22:25:17  Importing Applications.xml...
2015-07-16 22:25:17  Importing Exchange.xml...
2015-07-16 22:25:17  Importing Office.xml...
2015-07-16 22:25:17  Importing SQL.xml...
2015-07-16 22:25:17  Importing Exchange2000Server.xml...
2015-07-16 22:25:17  Importing ExchangeServer2003.xml...
2015-07-16 22:25:17  Importing OfficeXP.xml...
2015-07-16 22:25:17  Importing Office2003.xml...
2015-07-16 22:25:17  Importing SQLServer.xml...
2015-07-16 22:25:17  Importing WindowsXP64BitEditionVersion2003.xml...
2015-07-16 22:25:17  Importing DefinitionUpdateSusXml.xml...
2015-07-16 22:25:17  Importing ClientServicingApiDetectoid.xml...
2015-07-16 22:25:17  Importing default detectoids succeeded.
2015-07-16 22:25:17  Creating default subscription.
2015-07-16 22:25:17  Instantiating UpdateServer
2015-07-16 22:25:18  CreateDefaultSubscription failed. Exception: System.Net.WebException: The request failed with HTTP status 405: Method Not Allowed.
   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()
2015-07-16 22:25:18  StartServer encountered errors. Exception=The request failed with HTTP status 405: Method Not Allowed.
2015-07-16 22:25:18  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)

Anyone else seen this error?

Thanks

Mike


Viewing all articles
Browse latest Browse all 12874

Trending Articles



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