Solved

WSUS on Server 2012 failing post-launch setup

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

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

Secure Your Active Directory - April 20, 2017

Active Directory plays a critical role in your company’s IT infrastructure and keeping it secure in today’s hacker-infested world is a must.
Microsoft published 300+ pages of guidance, but who has the time, money, and resources to implement? Register now to find an easier way.

Question has a verified solution.

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

Suggested Solutions

This article will review the basic installation and configuration for Windows Software Update Services (WSUS) in a Windows 2012 R2 environment.  WSUS is a Microsoft tool that allows administrators to manage and control updates to be approved and ins…
The recent Microsoft changes on update philosophy for Windows pre-10 and their impact on existing WSUS implementations.
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 their Windows Server 2012 domain controller to synchronize its time with a trusted, external resource. Use Google, Bing, or other preferred search engine to locate trusted NTP …

730 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