Link to home
Start Free TrialLog in
Avatar of Member_2_6492660_1
Member_2_6492660_1Flag for United States of America

asked on

WSUS 4 Fails to Connect to the Console

Windows 2012 R2
SQL 2014  
WSUS 4

I built a Windows 2012 R2 Virtual Machine on my VMware ESXi 6.0 Host
Then installed SQL 2014 Enterprise.
So far so Good
Then installed the Windows Update Service Role WSUS 4
Did not install WID
I am using the SQL database for WSUS
After installation of the Role and features was successful I launched my SQL Studio
The WSUS database was created
All still looking good.
Then I launched the WSUS Console MMC
I was happy that I was able to configure all the WSUS options
next step was to migrate my computers from my old WSUS server 3.0 on a Windows 2008 server.

I had to apply a few Microsoft security fixes for Windows 2012.

After the restart that's when things went wrong.

The WSUSService was not started even when it is set to automatic.
So I started the service and it started.
When I tried to access the WSUS Console MMC it failed to connect  using port 8530  tried 8531 too

My event log full of event id 70053
Log Name:      Application
Source:        Windows Server Update Services
Date:          5/23/2016 21:36:56
Event ID:      7053
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      SER014.FQDN.com
Description:
The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,

Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.


System.NullReferenceException -- Object reference not set to an instance of an object.

Source
Microsoft.UpdateServices.UI.SnapIn

Stack Trace:
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ResetScopeNode()
Event Xml:
<Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
  <System>
    <Provider Name="Windows Server Update Services" />
    <EventID Qualifiers="0">7053</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2016-05-24T01:36:56.000000000Z" />
    <EventRecordID>7508</EventRecordID>
    <Channel>Application</Channel>
    <Computer>SER014.FDQN.com</Computer>
    <Security />
  </System>
  <EventData>
    <Data>The WSUS administration console has encountered an unexpected error. This may be a transient error; try restarting the administration console. If this error persists,

Try removing the persisted preferences for the console by deleting the wsus file under %appdata%\Microsoft\MMC\.


System.NullReferenceException -- Object reference not set to an instance of an object.

Source
Microsoft.UpdateServices.UI.SnapIn

Stack Trace:
   at Microsoft.UpdateServices.UI.SnapIn.Scope.ServerSummaryScopeNode.ResetScopeNode()</Data>
  </EventData>
</Event>


I event deleted the WSUS file from %appdata%\Microsoft\mmc

Any thoughts short of removing and re adding the role?

Thanks

Tom
Avatar of Radhakrishnan
Radhakrishnan
Flag of India image

Hi,

At the time of WSUS crash, Is the "WSUSpool" in IIS>Application Pools showing as stopped? what's memory usage of SQL server (WSUS instance) and W3WP IIS worker process.

I think the issue lying within those area.
WSUS on 2012 R2 will only connect to a SQL 2012 backend. It will not connect to a SQL 2014 backend. BTDT.
SOLUTION
Avatar of Rich Weissler
Rich Weissler

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
*My mistake, documentation indicates SQL 2014. My apologies for the mistake.
Avatar of Member_2_6492660_1

ASKER

guys  thanks for the responces

After applying the post functions

Now the WSUS service is now staying started. which is was not before kept stopping

I still can not connect to the server via the console.

Any thoughts?
Update

after getting nowhere on this I decided to uninstall WSUS, delete the SQL database and the WSUS folder.

I then restarted the server and installed WSUS role again
Install was successful
Then I saw the Post installation task and it FAILED

See attached log

IISCustomAction section is the error

Need help thanks
wsus4-post-taks-error.txt
Guys

Another update

I keep getting the following event also

Event Id 13042 Self update is not working
Event Id 13051
Event Id 12002 The reporting web service is not working
event id 12012 The API remoting web service is not working
event id 12032  the server sync web service not working
event id 12022 the client web service is not working
event id 12042 the simpleauth web service is not working
event id 12052 the DSS authentication web service is not working
event id 12072 the wsus content directory is not accessible

The above errors occur everytime I try to run post installation tasks

Hope this help you guys to help me figure out what is wrong



Thanks
Update

I even tried this command

wsusutil postinstall content_dir=E:\wsus sql_instance_name=SERV014

All methods fails to complet postinstall tasks

Need help on this please
ASKER CERTIFIED SOLUTION
Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Thanks every  one for posting.

Rich you posting lead me to removing WSUS

Thanks again