Dead_Eyes
asked on
WSUS Setup error
Hi really need some help with WSUS I am trying to re-install the service but It constantly fails at the "launch Post-Installation tasks" part at the end. The server is 2012R2 and I have the following error log:
2014-10-27 11:58:55 Postinstall started
2014-10-27 11:58:55 Detected role services: UI, WidDatabase, Services
2014-10-27 11:58:55 Start: LoadSettingsFromXml
2014-10-27 11:58:55 Start: GetConfigValue with filename=UpdateServices-Se rvices.xml item=ContentLocal
2014-10-27 11:58:55 System.TypeInitializationE xception: The type initializer for 'Microsoft.UpdateServices. Internal.U tilConstan ts' threw an exception. ---> System.IO.InvalidDataExcep tion: Invalid installation directory
at Microsoft.UpdateServices.I nternal.Se tupInfo.Ge tInstallDi rectory()
at Microsoft.UpdateServices.I nternal.Ut ilConstant s..cctor()
--- End of inner exception stack trace ---
at Microsoft.UpdateServices.A dministrat ion.PostIn stall.GetC onfigValue (String filename, String item)
at Microsoft.UpdateServices.A dministrat ion.PostIn stall.Load SettingsFr omXml()
at Microsoft.UpdateServices.A dministrat ion.PostIn stall.Init alize(Para meters parameters)
at Microsoft.UpdateServices.A dministrat ion.PostIn stall.Exec ute(String [] arguments)
Fatal Error: The type initializer for 'Microsoft.UpdateServices. Internal.U tilConstan ts' threw an exception.
2014-10-27 11:58:55 Postinstall started
2014-10-27 11:58:55 Detected role services: UI, WidDatabase, Services
2014-10-27 11:58:55 Start: LoadSettingsFromXml
2014-10-27 11:58:55 Start: GetConfigValue with filename=UpdateServices-Se
2014-10-27 11:58:55 System.TypeInitializationE
at Microsoft.UpdateServices.I
at Microsoft.UpdateServices.I
--- End of inner exception stack trace ---
at Microsoft.UpdateServices.A
at Microsoft.UpdateServices.A
at Microsoft.UpdateServices.A
at Microsoft.UpdateServices.A
Fatal Error: The type initializer for 'Microsoft.UpdateServices.
how did you reinstall?
what database are you using?
did you delete the update services folder before reinstalling?
what database are you using?
did you delete the update services folder before reinstalling?
Did you do an uninstall of the role?
Is the wsus services still show up in services?
Was WSUS setup as internal database or using SQL?
Is the wsus services still show up in services?
Was WSUS setup as internal database or using SQL?
ASKER
Hi sorry for the late reply. WSUS was uninstalled through add remove features, D:\WSUS folder was deleted and I am using the internal database. D:\WSUS exists and has correct permissions on root (D:\) and on the folder. I think it may be a database issue but as I don't do much with SQL and not sure how to check internal database I am getting stuck. The reinstall works fine right up until you launch post installation tasks
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Thanks for the troubleshooting guide I managed to narrow it down the SUSDB Database as the issue. So uninstalled WSUS, IIS & Windows internal database. Deleted C:\Windows\WID\DATA\SUSDB. mdf and SUSDB_log.ldf and reinstalled.
Do you mean you entirely uninstalled IIS?
ASKER
@ garryshape - Hi sorry have not checked in for a while. Yes I did but only as a blanket measure as I was not sure how deep it ran and I was not using the IIS service on that server for anything else. I am sure if you deleted the relevant IIS entry's the WSUS installer would re-add them
Rerun your post install check and verify the value.
Also triple check all the folder locations specified in your config actually exist.