Solved

WSUS on Server 2012 failing post-launch setup

Posted on 2014-12-29
5
792 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 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
 

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

Does Powershell have you tied up in knots?

Managing Active Directory does not always have to be complicated.  If you are spending more time trying instead of doing, then it's time to look at something else. For nearly 20 years, AD admins around the world have used one tool for day-to-day AD management: Hyena. Discover why

Question has a verified solution.

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

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…
Microsoft Windows Server Update Service (WSUS) is free for everyone, but it lacks of some desirable features like send an e-mail to the administrator with the status of all computers on the WSUS server. This article is based on my PowerShell script …
In this Micro Tutorial viewers will learn how to restore single file or folder from Bare Metal backup image of their system. Tutorial shows how to restore files and folders from system backup. Often it is not needed to restore entire system when onl…
This tutorial will walk an individual through the process of configuring basic necessities in order to use the 2010 version of Data Protection Manager. These include storage, agents, and protection jobs. Launch Data Protection Manager from the deskt…

729 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