locked
WSUS Connection Error when trying to view all updates RRS feed

  • Question

  • Hello,

    ive recently started getting Error: Connection Error when trying to view all updates within WSUS. and cannot work out how to resolve this.

    to give some more information

    i have x2 WSUS servers (1 is setup as a downstream server and doesnt recieve the error). the main server is the one in question. i am able to view computer information and how many updates are needed etc, i dont get any sync issues reported. reports are sent out daily and new updates sync with both servers when available. i only receive the error when i try to view anything within the Updates section. which is what i need in order to approve and assign any new updates that are available.

    when i check the event log, the following event is listed

    Event 7032

    The WSUS administration console was unable to connect to the WSUS Server via the remote API.

    Verify that the Update Services service, IIS and SQL are running on the server. If the problem persists, try restarting IIS, SQL, and the Update Services Service.

    i have checked services and restarted them, plus re-booted the server all with no joy

    Help!!

    thanks in advance

    Monday, September 5, 2011 2:37 PM

Answers

  • could the amount of appproved updates be causing the issue (20500)?
    Absolutely! That's about four times more updates than a typical WSUS server would have synchronized.
    if so is there a way of deleting approved updates that are no longer needed. have tried using the cleanup wizard but it only removes about 5

    The Server Cleanup Wizard does not remove updates from the database for valid updates, so in this case it's not going to be much help.

    The issue here is not what you need to remove, but most likely what you've synchronized to begin with. My guess would be that you enabled all classifications (including Drivers) -- and it's the "Drivers" update classification that loads the extra 15,000 updates in your database.

    For that scenario, the only fix is to uninstall the WSUS server, delete the database, and reinstall WSUS with a new database and NOT select the "Drivers" update classification for synchronization.


    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    Principal/CTO, Onsite Technology Solutions, Houston, Texas
    Microsoft MVP - Software Distribution (2005-2011)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin
    My Blog: http://onsitechsolutions.spaces.live.com
    Tuesday, September 20, 2011 3:31 PM

All replies

  • Hello, ChrisB83.

    Read this: http://techscrapbook.com/windows-operating-system/wsus-30-event-id-7053/

    I hope that you find it helps.

    Regards.


    Oscar Abad -- MCITP Enterprise Administrator // MCITP Server Administrator
    • Marked as answer by Vincent Hu Friday, September 9, 2011 7:38 AM
    • Unmarked as answer by ChrisB83 Tuesday, September 20, 2011 2:07 PM
    Monday, September 5, 2011 3:01 PM
  • sorry for the delayed response.

    no joy im afraid with the recommended fix, i still receive the Error: Error Connection when trying to view approved updates.

    i can view unapproved updates without any issues, but as soon as i try view approved updates, status any, the error happens

    could the amount of appproved updates  be causing the issue (20500)? if so is there a way of deleting approved updates that are no longer needed. have tried using the cleanup wizard but it only removes about 5 and all other threads i have read say about deleting unndeeded updates but it only deletes the declined updates of which the bulk of my updates are already approved and i cannot get into the approved section to delete them

    thanks in advance

    Tuesday, September 20, 2011 2:00 PM
  • could the amount of appproved updates be causing the issue (20500)?
    Absolutely! That's about four times more updates than a typical WSUS server would have synchronized.
    if so is there a way of deleting approved updates that are no longer needed. have tried using the cleanup wizard but it only removes about 5

    The Server Cleanup Wizard does not remove updates from the database for valid updates, so in this case it's not going to be much help.

    The issue here is not what you need to remove, but most likely what you've synchronized to begin with. My guess would be that you enabled all classifications (including Drivers) -- and it's the "Drivers" update classification that loads the extra 15,000 updates in your database.

    For that scenario, the only fix is to uninstall the WSUS server, delete the database, and reinstall WSUS with a new database and NOT select the "Drivers" update classification for synchronization.


    Lawrence Garvin, M.S., MCITP:EA, MCDBA, MCSA
    Principal/CTO, Onsite Technology Solutions, Houston, Texas
    Microsoft MVP - Software Distribution (2005-2011)
    My MVP Profile: http://mvp.support.microsoft.com/profile/Lawrence.Garvin
    My Blog: http://onsitechsolutions.spaces.live.com
    Tuesday, September 20, 2011 3:31 PM
  • Hi there,

    i have the same Problem. Too much updates in the wsus Server but this wsus Server is ingredient in the SBS 2011 Server. So i cant just uninstall the wsus Server. Any hints for that?

    best,

    Stefan

    Saturday, August 30, 2014 11:21 AM
  • Any hints for that?

    Perform the required update maintenance as discussed hundreds of times elsewhere.

    See Remove Unneeded Update Approvals as a starting point.


    Lawrence Garvin, M.S., MCSA, MCITP:EA, MCDBA
    SolarWinds Head Geek
    Microsoft MVP - Software Packaging, Deployment & Servicing (2005-2014)
    My MVP Profile: http://mvp.microsoft.com/en-us/mvp/Lawrence%20R%20Garvin-32101
    http://www.solarwinds.com/gotmicrosoft
    The views expressed on this post are mine and do not necessarily reflect the views of SolarWinds.


    Sunday, August 31, 2014 1:03 AM
  • this worked a treat.  DB is SQL on a separate server 

    http://www.flexecom.com/how-to-delete-driver-updates-from-wsus-3-0/


    Monday, November 23, 2015 9:51 AM
  • Open an elevated CMD and run this command:

    > cd 'C:\Program Files\Update Services\Tools

    > wsusutil.exe" postinstall /servicing

    After installing the feature on ".NET 4.5 > WCF Services > HTTP Activation"

    Reboot WSUS server

    Issue solved!

    "C:\Program Files\Update Services\Tools\wsusutil.exe" postinstall /servicing
    "C:\Program Files\Update Services\Tools\wsusutil.exe" postinstall /servicing
    "C:\Program Files\Update Services\Tools\wsusutil.exe" postinstall /servicing
    Friday, January 6, 2017 12:48 PM
  • That Works for me. Thanks alot
    Tuesday, January 24, 2017 4:34 AM
  • It is greatly appreciated. It is working for me. Thank you very much......................!
    Saturday, February 25, 2017 4:23 PM
  • I try this one ok.
    Thursday, April 6, 2017 3:18 AM
  • Thanks, its workign for me

    Tuesday, May 16, 2017 2:13 PM
  • It worked for me.. Thanks!
    Wednesday, May 24, 2017 1:15 PM
  • Without reinstalling WSUS, you can use my WSUS Cleanup Script to rid yourself of these.

    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

    Thursday, May 25, 2017 3:51 AM
  • Thk you very much!!!!! it's working perfectly for me!! 
    Thursday, May 25, 2017 2:50 PM
  • Well the command line by LUCAS Omena works with me too.

    first I was getting error but I put the command in this way

    C:\Program Files\Update Services\Tools> wsusutil.exe  postinstall /servicing

    here I removed the Quote which was after Wsusutil.exe

    My ATTP Activaiton was already installed so I restarted and the conneciton came back issue resolved

    Gr8 JOB ...... Thanks Dear 

    Tuesday, April 10, 2018 5:54 AM