{"action":"opened","issue":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/434","repository_url":"https://api.github.com/repos/aspnet/IISIntegration","labels_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/434/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/434/comments","events_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/434/events","html_url":"https://github.com/aspnet/IISIntegration/issues/434","id":262193206,"number":434,"title":"Internal Server Error when hosting ASP.NET Core on IIS","user":{"login":"saf-itpro","id":10931726,"avatar_url":"https://avatars3.githubusercontent.com/u/10931726?v=4","gravatar_id":"","url":"https://api.github.com/users/saf-itpro","html_url":"https://github.com/saf-itpro","followers_url":"https://api.github.com/users/saf-itpro/followers","following_url":"https://api.github.com/users/saf-itpro/following{/other_user}","gists_url":"https://api.github.com/users/saf-itpro/gists{/gist_id}","starred_url":"https://api.github.com/users/saf-itpro/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/saf-itpro/subscriptions","organizations_url":"https://api.github.com/users/saf-itpro/orgs","repos_url":"https://api.github.com/users/saf-itpro/repos","events_url":"https://api.github.com/users/saf-itpro/events{/privacy}","received_events_url":"https://api.github.com/users/saf-itpro/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-02T19:12:24Z","updated_at":"2017-10-02T19:12:24Z","closed_at":null,"author_association":"NONE","body":"Deployed ASP.NET MVC `Core 1.1.1` on `Windows 2012 Server R2`. Followed [this][1] ASP.NET article (installed DotNetCore.1.0.5_1.1.2-WindowsHosting bundle etc). App runs fine as localhost on the server if we follow the following steps:\r\n\r\n 1. In cmd from root dir of the app, ran: dotnet MyWebapplication.dll\r\n 2. Noticed that application is running and waiting for responses on localhost:5000.\r\n 3. Opened the browser on the host server and navigated to: `http://localhost:5000`\r\n 4. Home page opened as expected\r\nBut when we navigate to the `http://IP Address/MyWebapplication` on a different desktop on the same network, we get the `500 - Internal Server Error`\r\n\r\n**NOTE**: We tested that if we host a simple web app (**not** ASP.NET Core) with just one Index.html page on IIS, we can access the app from another machine on the same network via, say, `http://IP Address/MySimpleHtmlApp`. So issue seems to be related to something on ASP.NET Core deployment on IIS. **Question**: What we may be missing and how to resolve it?\r\n\r\n  [1]: https://docs.microsoft.com/en-us/aspnet/core/publishing/iis?tabs=aspnetcore1x"}}
{"actor":{"display_login":"saf-itpro"}}