Solved

WSUS on Server 2012 failing post-launch setup

Posted on 2014-12-29
5
639 Views
Last Modified: 2016-02-20
I'm trying to get WSUS setup on Server 2012 so I can have it in place to allow for the Software Updates role to be added in SCCM 2012. However, WSUS is throwing a fit and I'm not sure why it won't successfully open or launch the post-configuration .

wus-post-config-failure.png
I checked the log file and it reads:

2014-12-29 09:54:06  Postinstall started
2014-12-29 09:54:06  Detected role services: UI, WidDatabase, Services
2014-12-29 09:54:06  Start: LoadSettingsFromXml
2014-12-29 09:54:06  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2014-12-29 09:54:06  System.TypeInitializationException: The type initializer for 'Microsoft.UpdateServices.Internal.UtilConstants' threw an exception. ---> System.IO.InvalidDataException: Invalid installation directory
   at Microsoft.UpdateServices.Internal.SetupInfo.GetInstallDirectory()
   at Microsoft.UpdateServices.Internal.UtilConstants..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.UpdateServices.Administration.PostInstall.GetConfigValue(String filename, String item)
   at Microsoft.UpdateServices.Administration.PostInstall.LoadSettingsFromXml()
   at Microsoft.UpdateServices.Administration.PostInstall.Initalize(Parameters parameters)
   at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
Fatal Error: The type initializer for 'Microsoft.UpdateServices.Internal.UtilConstants' threw an exception.

It doesn't seem like a complicated process. I mean, I add the role in Server 2012, it doesn't prompt for any reboots. I tell it to store updates in D:\WsusUpdates and click next/finish, and I end up with the above error and info in the log file.

If I remove the role, reboot, delete the IIS Website "WSUS Administration" and reboot, then re-add, it does the same thing it appears.
Do I need to uninstall more stuff or something?
0
Comment
Question by:garryshape
  • 4
5 Comments
 
LVL 9

Expert Comment

by:Sean
ID: 40522249
Even though it didn't ask for a reboot did you? I have had that happen quite often with 2012 that it doesn't require a reboot but you can't really use the software until you do so.
0
 

Author Comment

by:garryshape
ID: 40522347
No but I just unintalled, rebooted, reinstalled then rebooted again, same issue.
Then I repeated this again, and upon the next re-install, I did not choose a location to store updates, and instead just let it install, then rebooted.
Post launch failed again and get the same error:

2014-12-29 11:34:03  Postinstall started
2014-12-29 11:34:03  Detected role services: UI, WidDatabase, Services
2014-12-29 11:34:03  Start: LoadSettingsFromXml
2014-12-29 11:34:04  Start: GetConfigValue with filename=UpdateServices-Services.xml item=ContentLocal
2014-12-29 11:34:04  System.TypeInitializationException: The type initializer for 'Microsoft.UpdateServices.Internal.UtilConstants' threw an exception. ---> System.IO.InvalidDataException: Invalid installation directory
   at Microsoft.UpdateServices.Internal.SetupInfo.GetInstallDirectory()
   at Microsoft.UpdateServices.Internal.UtilConstants..cctor()
   --- End of inner exception stack trace ---
   at Microsoft.UpdateServices.Administration.PostInstall.GetConfigValue(String filename, String item)
   at Microsoft.UpdateServices.Administration.PostInstall.LoadSettingsFromXml()
   at Microsoft.UpdateServices.Administration.PostInstall.Initalize(Parameters parameters)
   at Microsoft.UpdateServices.Administration.PostInstall.Execute(String[] arguments)
Fatal Error: The type initializer for 'Microsoft.UpdateServices.Internal.UtilConstants' threw an exception.

Why does it say "Invalid installation directory" without referencing the directory? Is there a log file that's actually helpful and provides details?
0
 

Author Comment

by:garryshape
ID: 40522360
0
 

Accepted Solution

by:
garryshape earned 0 total points
ID: 40537064
I ended up wiping and reformatting then restoring SCCM backup.
It surprisingly is easy and doesn't take very long.
0
 

Author Closing Comment

by:garryshape
ID: 40544006
just had to wipe and reformat then reinstall
0

Featured Post

Comprehensive Backup Solutions for Microsoft

Acronis protects the complete Microsoft technology stack: Windows Server, Windows PC, laptop and Surface data; Microsoft business applications; Microsoft Hyper-V; Azure VMs; Microsoft Windows Server 2016; Microsoft Exchange 2016 and SQL Server 2016.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Recently, I was assigned the task of performing a hardware refresh in the datacenter. The previous Windows 2008 systems were connected to the SAN via fiber channel HBA’s and among other thing, had PowerPath installed in order to provide sufficient f…
The article will show you how you can maintain a simple logfile of all Startup and Shutdown events on Windows servers and desktops with PowerShell. The script can be easily adapted into doing more like gracefully silencing/updating your monitoring s…
This tutorial will walk an individual through the process of transferring the five major, necessary Active Directory Roles, commonly referred to as the FSMO roles from a Windows Server 2008 domain controller to a Windows Server 2012 domain controlle…
This tutorial will walk an individual through the process of installing of Data Protection Manager on a server running Windows Server 2012 R2, including the prerequisites. Microsoft .Net 3.5 is required. To install this feature, go to Server Manager…

813 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

10 Experts available now in Live!

Get 1:1 Help Now