locked
wsus post deployment failed with IIS Target WebSite Index RRS feed

  • Question

  • hello guys,

    im trying to configure wsus but facing post deplyment error with 

    "wsus post deployment failed with IIS Target WebSite Index"..posting log here plz can some one help me out here

    LOG

    2017-06-11 13:17:14  Install type is: Reinstall
    2017-06-11 13:17:14  Creating logins...
    2017-06-11 13:17:14  Fetching account info for S-1-5-20
    2017-06-11 13:17:14  Found principal
    2017-06-11 13:17:14  Found account
    2017-06-11 13:17:14  Got binary SID
    2017-06-11 13:17:14  Fetching WsusAdministratorsSid from registry store
    2017-06-11 13:17:14  Value is S-1-5-21-870666984-400100481-3183875842-1105
    2017-06-11 13:17:14  Fetching account info for S-1-5-21-870666984-400100481-3183875842-1105
    2017-06-11 13:17:14  Fetching account info for S-1-5-21-870666984-400100481-3183875842-1105
    2017-06-11 13:17:14  Found principal
    2017-06-11 13:17:14  Found account
    2017-06-11 13:17:14  Got binary SID
    2017-06-11 13:17:14  Setting content location...
    2017-06-11 13:17:14  Fetching ContentDir from registry store
    2017-06-11 13:17:14  Value is M:\wsus1
    2017-06-11 13:17:14  Swtching DB to multi-user mode......
    2017-06-11 13:17:15  Finished setting multi-user mode
    2017-06-11 13:17:15  Writing DB settings to registry...
    2017-06-11 13:17:15  Marking PostInstall done for UpdateServices-WidDatabase in the registry...
    2017-06-11 13:17:15  Starting service W3SVC
    2017-06-11 13:17:16  Configuring IIS...
    2017-06-11 13:17:16  Start: ConfigureWebsite
    2017-06-11 13:17:16  Configuring website on port 8530
    2017-06-11 13:17:26  System.ArgumentException: Cannot find system setting. Please check setting name.
    Parameter name: IISTargetWebSiteIndex

    Sunday, June 11, 2017 8:09 AM

All replies

  • Hi Krego,

    According to the log, seems you are re-installing the WSUS server, then, please check if you removed the original WSUS components completely.

    1. Remove WSUS role in Server Management;

    2. Remove WSUS content folder;

    3. Delete SUSDB file in C:\Windows\WID\Data, SUSDB.mdf and SUSDB_log.ldf, then install SQL server management studio to connect to WID to check if SUSDB is removed, if not, right click the SUSDB and detach it;

    4. Remove WSUS site in IIS Manager;

    After that, restart the Server then reinstall the WSUS role.

    Best Regards,

    Anne


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

    Monday, June 12, 2017 5:39 AM
  • thx anne..followed the steps mentioned and it worked for me..thx for helping :)
    Tuesday, June 13, 2017 10:52 AM
  • Hi Krego,

    Glad to hear it works for you, could you help to mark the useful reply as answer, so that the resolution will be highlighted, thanks in advance.

    Best Regards,

    Anne


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

    Wednesday, June 14, 2017 1:42 AM
  • For WSUS Maintenance, Have a peek at my Adamj Clean-WSUS script. It is the last WSUS Script you will ever need.

    http://community.spiceworks.com/scripts/show/2998-adamj-clean-wsus

    What it does:

    1. Remove all Drivers from the WSUS Database.
    2. Shrink your WSUSContent folder's size by declining superseded updates.
    3. Remove declined updates from the WSUS Database.
    4. Clean out all the synchronization logs that have built up over time (configurable, with the default keeping the last 14 days of logs).
    5. Compress Update Revisions.
    6. Remove Obsolete Updates.
    7. Computer Object Cleanup (configurable, with the default of deleting computer objects that have not synced within 30 days).
    8. Application Pool Memory Configuration to display the current private memory limit and easily increase it by any configurable amount.
    9. Run the Recommended SQL database Maintenance script on the actual SQL database.
    10. Run the Server Cleanup Wizard.

    It will email the report out to you or save it to a file, or both.

    Although the script is lengthy, it has been made to be super easy to setup and use. There are some prerequisites and instructions at the top of the script. After installing the prerequisites and configuring the variables for your environment, simply run:

    .\Clean-WSUS.ps1 -FirstRun

    and then

    .\Clean-WSUS.ps1 -InstallTask

    If you wish to view or increase the Application Pool Memory Configuration, you must run it with the required switch. See Get-Help .\Clean-WSUS.ps1 -Examples

    If you're having trouble, there's also a -HelpMe option that will create a log so you can send it to me for support.


    Adam Marshall, MCSE: Security
    http://www.adamj.org

    Wednesday, June 14, 2017 3:52 AM