Simon_Weaver
Simon_Weaver

Reputation: 145980

Windows 8.1 / Windows 10 breaks my ASP.NET / IIS : "Service unavailable"

With Windows 8.1 finally released to MSDN/Technet today I came across the following issue running my ASP.NET application after doing an in place upgrade with Win 8.1 RTM:

Service Unavailable

HTTP Error 503. The service is unavailable.

How can I recover my IIS to make it work again?

Upvotes: 96

Views: 35305

Answers (10)

Steven Chou
Steven Chou

Reputation: 2215

I encountered the same problem in Windows Server 2012 R2. After I update Windows Updates to newest, it works.

Upvotes: 0

Kevin Dimey
Kevin Dimey

Reputation: 729

For some weird reasons, the only solution for me was to install previous version of the module, from https://www.microsoft.com/en-us/download/details.aspx?id=7435

Upvotes: 13

9Rune5
9Rune5

Reputation: 463

I struggled with similar issues last night.

It started out with a complaint about missing redirect.dll. After installing IIS' Redirect feature, that log message disappeared and all I was left with was a bunch of error messages from WAS. It tried starting my application pool five times until giving up.

A listener channel for protocol 'http' in worker process '120' serving application pool 'my app pool' reported a listener channel failure. The data field contains the error number.

The error code was "8007007E" (File not found according to google).

I then installed ProcMon from sysinternals.com and every time the w3wp process complained about "NAME NOT FOUND" right before terminating, I googled and installed the corresponding IIS feature. I repeated this until I had installed them all and got everything working again.

Installing everything is not a good solution, but I do not have time to investigate deeper right now.

Upvotes: 2

Stuart
Stuart

Reputation: 669

I had a similar issue with "httpplatformhandler.dll failed to load". Again the solution was to download the appropriate httpplatformhandler install msi from http://www.iis.net/downloads/microsoft/httpplatformhandler and then run a repair.

Upvotes: 1

Marco Duindam
Marco Duindam

Reputation: 135

The Repair worked for me after updating to W10 Insider Preview 160826-1902

Upvotes: 0

Simon_Weaver
Simon_Weaver

Reputation: 145980

It looks like a simple uninstall and re-install of the rewrite module will do the trick.

Edit: As others have said - try a repair first - if it works then that should be faster.

It doesn't look like the Microsoft Web Platform Installer is able to uninstall it so just go to Programs and Features to uninstall it.

You'll find it listed as IIS URL Rewrite Module 2 and just click the Uninstall button on top.

Then reinstall it from here:

http://www.iis.net/downloads/microsoft/url-rewrite

Make sure your App Pool is started - or just restart IIS and it should all work again.


Edit: 8/30/16 : A similar but unrelated error can occur if you have the 'new' .NET core installed and update to Win 10 Anniversary edition. See here: https://github.com/aspnet/Home/issues/1583 - Running a repair on VS 2015 Tooling Preview should fix it. Wanted to add it here since the errors are very similar to this answer.

Upvotes: 128

GarDavis
GarDavis

Reputation: 1399

I got this Event Log error after updating Win8.1 to Win10. To fix, go to the Control Panel -> Programs and Features, locate IIS URL Rewrite Module 2, right click and select Repair (it's quick). Next, restart your stopped AppPool(s). Should be OK now.

No need to uninstall nor reinstall.

Gary Davis

Upvotes: 53

Chad Carisch
Chad Carisch

Reputation: 2472

I just ran in to this issue after an update. All of the app pools where stopped! Starting them resolved the issue.

Upvotes: 3

Dave Mateer
Dave Mateer

Reputation: 6626

I came across similar symptoms after changing my domain password. I had to also reset my password in my (hard coded!) App Pool settings on my dev box.

Upvotes: 1

Jimmy Soh
Jimmy Soh

Reputation: 419

Don't need to uninstall. Just do a Repair instead, and it will works.

Upvotes: 26

Related Questions