Skip to content
This repository was archived by the owner on Nov 1, 2018. It is now read-only.
This repository was archived by the owner on Nov 1, 2018. It is now read-only.

AspNetCoreModule returns "The service is unavailable." on IIS 7.5 #266

Closed
@andersnm

Description

@andersnm

Hi!

We have two servers "staging" and "live" running an ASP.NET Core RC1 application currently using HttpPlatformHandler. Our app has run fine for months on RC1.

"Staging": Windows Server 2012, IIS 8
"Live", Windows Server 2008 R2, IIS 7.5

Now we have updated our app to RTM and want to deploy-

First we installed AspNetCoreModule and deployed our RTM-updated app on staging, this went really smooth and had no problems whatsoever. Our app runs fine on the staging server.

Then we tried to follow the same steps on our live server, but it fails and now after days of studying the docs and binging(/googling) I'm out of ideas.

We installed AspNetCoreModule in the live environment and it installed without problems: It appears in IIS' list of "Modules", and the aspnetcore.dlls are indeed present in the filesystem. But our app doesn't start, the server simply returns "The service is unavailable".

Some observations:
- The application pool is started (common cause of 503)
- Cant see any permissions issues, because HttpPlatformHandler works (also common cause of 503)
- App pool configurations are identical on both servers
- Event Viewer has zero relevant log entries
- HTTPERR/IIS logs has zero relevant entries
- Setting stdoutLogEnabled="true" on in web.config does not produce any logs
- If I try to put an "App_Offline.htm" in the root folder, there is no change in behaviour
- IIS' Failed Request Tracing confirms the AspNetCoreModule indeed processes IIS messages and returns "The server is unavailable", but not why

I belive the sum of these issues indicate a sort of problem with the AspNetCoreModule, as it doesn't even attempt to load our app.

Not sure if it is related, but can mention the "Service Service" stopped by itself after installing the ASP.NET Core Module for IIS and rebooting. We were not able to restart it, giving the message "Error 86: The specified network password is not correct". After restoring the server from a week old backup, we reinstalled ASP.NET Core Module for IIS, rebooted, and now the "Server Service" runs, but are still getting "The service is unavailable" from IIS+ANCMI trying to show an "App_Offline.htm".

Any ideas where to begin diagnosing this issue?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions