Solved

WSUS on Server 2012 failing post-launch setup

Posted on 2014-12-29
5
560 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

Windows Server 2016: All you need to know

Learn about Hyper-V features that increase functionality and usability of Microsoft Windows Server 2016. Also, throughout this eBook, you’ll find some basic PowerShell examples that will help you leverage the scripts in your environments!

Join & Write a Comment

Understanding the various editions available is vital when you decide to purchase Windows Server 2012. You need to have a basic understanding of the features and limitations in each edition in order to make a well-informed decision that best suits y…
The reason that corporations and businesses use Windows servers is because it supports custom modifications to adapt to the business and what it needs. Most individual users won’t need such powerful options. Here I’ll explain how you can enable Wind…
This tutorial will walk an individual through the steps necessary to join and promote the first Windows Server 2012 domain controller into an Active Directory environment running on Windows Server 2008. Determine the location of the FSMO roles by lo…
This tutorial will walk an individual through the process of installing the necessary services and then configuring a Windows Server 2012 system as an iSCSI target. To install the necessary roles, go to Server Manager, and select Add Roles and Featu…

760 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

20 Experts available now in Live!

Get 1:1 Help Now