Link to home
Start Free TrialLog in
Avatar of Garry Shape
Garry ShapeFlag for United States of America

asked on

WSUS on Server 2012 failing post-launch setup

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 .

User generated image
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?
Avatar of Sean
Sean
Flag of United States of America image

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.
Avatar of Garry Shape

ASKER

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?
ASKER CERTIFIED SOLUTION
Avatar of Garry Shape
Garry Shape
Flag of United States of America image

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
just had to wipe and reformat then reinstall