{"action":"closed","issue":{"url":"https://api.github.com/repos/aspnet/IISIntegration/issues/45","labels_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/45/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/45/comments","events_url":"https://api.github.com/repos/aspnet/IISIntegration/issues/45/events","html_url":"https://github.com/aspnet/IISIntegration/issues/45","id":120706392,"number":45,"title":"HTTP 502.3 Bad Gateway running on the IIS with HttpPlatformHandler(1.2)","user":{"login":"zhengchun","id":5097328,"avatar_url":"https://avatars.githubusercontent.com/u/5097328?v=3","gravatar_id":"","url":"https://api.github.com/users/zhengchun","html_url":"https://github.com/zhengchun","followers_url":"https://api.github.com/users/zhengchun/followers","following_url":"https://api.github.com/users/zhengchun/following{/other_user}","gists_url":"https://api.github.com/users/zhengchun/gists{/gist_id}","starred_url":"https://api.github.com/users/zhengchun/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zhengchun/subscriptions","organizations_url":"https://api.github.com/users/zhengchun/orgs","repos_url":"https://api.github.com/users/zhengchun/repos","events_url":"https://api.github.com/users/zhengchun/events{/privacy}","received_events_url":"https://api.github.com/users/zhengchun/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":8,"created_at":"2015-12-07T06:17:29Z","updated_at":"2015-12-07T07:39:42Z","closed_at":"2015-12-07T07:39:42Z","body":"I'm sorry,i known this issue already discussing at [ASPNET-Home#1000](https://github.com/aspnet/Home/issues/1000) or at [ASPNET-Hosting#364](https://github.com/aspnet/Hosting/issues/364),but it still can't help me how to running correct.\r\n\r\nI'm testing run a `HelloWeb` project that in the `v1.0.0-rc1-update1` version and it can running correct on `dnu web` command,when publish(dnu publish command) and run on IIS integration with HttpPlatformHandler1.2,get `HTTP 502.3 Bad Gateway` error,i'm read this article [Publishing to IIS](http://docs.asp.net/en/latest/publishing/iis.html).\r\n\r\nthe following is my environment:\r\n\r\nWin10 64-bits\r\nHttpPlatformHandler 1.2\r\n.net 4.6\r\ndnvm on `1.0.0-rc1-update1 clr     x64`\r\n\r\nweb.config on wwwroot folder:\r\n```c#\r\n<configuration>\r\n  <system.webServer>\r\n    <handlers>\r\n      <add name=\"httpplatformhandler\" path=\"*\" verb=\"*\" modules=\"httpPlatformHandler\" resourceType=\"Unspecified\" />\r\n    </handlers>\r\n    <httpPlatform processPath=\"..\\approot\\web.cmd\" arguments=\"\" stdoutLogEnabled=\"true\" stdoutLogFile=\"..\\logs\\stdout.log\"></httpPlatform>\r\n  </system.webServer>\r\n</configuration>\r\n```\r\nproject.json\r\n```c#\r\n{\r\n    \"version\": \"1.0.0-*\",\r\n    \"webroot\": \"wwwroot\",\r\n    \"exclude\": [\r\n        \"wwwroot\"\r\n    ],\r\n    \"packExclude\": [\r\n        \"**.kproj\",\r\n        \"**.user\",\r\n        \"**.vspscc\"\r\n    ],\r\n    \"dependencies\": {\r\n        \"Microsoft.AspNet.Server.Kestrel\": \"1.0.0-rc1-final\",\r\n        \"Microsoft.AspNet.IISPlatformHandler\": \"1.0.0-rc1-final\",\r\n        \"Microsoft.AspNet.Diagnostics\": \"1.0.0-rc1-final\",\r\n        \"Microsoft.AspNet.Hosting\": \"1.0.0-rc1-final\",\r\n        \"Microsoft.AspNet.StaticFiles\": \"1.0.0-rc1-final\",\r\n        \"Microsoft.Extensions.Logging.Console\": \"1.0.0-rc1-final\"\r\n    },\r\n    \"commands\": {\r\n        \"web\": \"Microsoft.AspNet.Server.Kestrel --server.urls http://*:5004\"\r\n    },\r\n    \"frameworks\": {\r\n        \"dnx451\": { },\r\n        \"dnxcore50\": { }\r\n    }\r\n}\r\n```\r\n"}}