I upgraded one Windows Server 2008 R2 machine to Windows Server 2012 R2 the other day and had a bit hard time getting WSUS to work again. WSUS is now part of Windows Server 2012 family serving as a role, instead of a standalone software that needs to be installed separately in previous Windows.
After I successfully added WSUS as a service role to the server, I need to run the Post-installation process to complete the whole installation. And that’s where the issue started.
Fatal Error: Failed to start and configure the WSUS service
After looking at the log file indicated in the Notification window, here is what I found:
2016-12-21 10:06:27 CreateDefaultSubscription failed. Exception: System.InvalidOperationException: Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'. The request failed with the error message: -- <html> <head> <title>Could not load file or assembly 'Microsoft.UpdateServices.WebServices.ApiRemoting' or one of its dependencies. This assembly is built by a runtime newer than the currently loaded runtime and cannot be loaded.</title> <style> body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;} p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px} b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px} H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red } H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon } pre {font-family:"Lucida Console";font-size: .9em} .marker {font-weight: bold; color: black;text-decoration: none;} .version {color: gray;} .error {margin-bottom: 10px;} .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; } </style> </head>
It took me at least one hour to finally figure it out. It’s basically the setup in Application Pools in IIS that messed things up. To fix it up, open IIS Manager, head over to Application Pool, and set WsusPool to use .Net v4.0 instead of v2.0 in my case.
Once done, I started the Post-installation again and it went all the way to the end successfully without any further issues.
On another note, there is another different error that also causes post-installation to fail.
CreateDefaultSubscription failed. Exception: System.Net.WebException: The request failed with HTTP status 503: Service Unavailable.
If that’s the case for you, all you need to do is to remove WSUS Administration site in IIS and start the post-installation process again.
That’s about it. Hopefully, it helps.
Thank you so much, i had search for this problem so long. I had upgraded the Server from 2008 to 2012 (new installation not possible there are too many programs would reinstall from the publishers self) after then WSUS post install give errors and errors and errors. now it works fine!!!! Greetings from Germany.
Thank you!!!
wow.. thanks… same situation thankss thanks
Last step working for me…
thanks
Last step is worked for me.
It works for me on Windows Server 2016
WSUS run
Great fix for Server 2016 WSUS install!
it ‘s working for me on windows server 2016 Datacenter .
although default application pool was using .net 4 but deleting the WSUS administration site fix the problem . tnx 🙂
Great!!!
the second option works for me.
Setup wsus on w2016 server.
The second option works for me also! Wsus on w2016 server.
Thanks very much!
Thank you very much. I deleted system32 as i was instructed. Now i’m free to go outside and live my life.
Fantastic, solved my problem thank you.
I also can complete post installation configuration just now.
thank you very much!
The 2nd suggestion worked for me during installation of Windows 2016 WSUS. Thanks.
Last step worked for me as well!
Thank you!
Thank you very, very much! Solved problem with WSUS install on Windows Server 2016.
removing WSUS admin service obliterates WSUS… redoing the postinstall does not bring it back. “C:\Program Files\Update Services\Tools\Wsusutil.exe” postinstall /servicing <—– this doesn't work
thanks much. your second answer about deleting the WSUS Administration site worked. I’d like to buy you a virtual BEvERage!
haha…thank you, my BC fellow. Glad it helped.
Thank you kind sir!
I removed the “WSUS Administration” site in IIS and then re-ran the post-installation task.. successfully!!
Removing the WSUS Administration site in IIS and starting the post-installation process again worked for me. Thank you!
Thank you so much!!!!
Thanks for saving my butt. I was going to scrap my upgraded server and do a clean install. You saved me a few hours of work. The first option worked for me.
A mi me funciono la segunda opcion para el error.
Gracias
It works for me on Windows 2012R2 Standard, Thank you very much,
From Hanoi, with Love
Lthang.
2nd option worked a treat, much appreciated
Second option worked for me.
Thank you so much it worked
And it caught me too.
Thanks for quick solution. Solution 2 worked for me
en 2021, j ai pu lancer wsus par la 2 -ème solution
chapeau…
I upgraded my WSUS server from server 2016 to server 2022 and had WSUS post installation error “Exception: System.Net.WebException”. I tried so many solutions with no success.
The second option in – removing the WSUS Administration in IIS – worked perfectly for me.
Thank you for this post.
Thanks. It working after delete the WSUS administration. Just restart IIS after delete the WSUS administration and make sure the share folder for WSUS DB correctly configured. Open back WSUS and run the post installation.