{"action":"created","issue":{"url":"https://api.github.com/repos/aspnet/Hosting/issues/419","labels_url":"https://api.github.com/repos/aspnet/Hosting/issues/419/labels{/name}","comments_url":"https://api.github.com/repos/aspnet/Hosting/issues/419/comments","events_url":"https://api.github.com/repos/aspnet/Hosting/issues/419/events","html_url":"https://github.com/aspnet/Hosting/issues/419","id":111996620,"number":419,"title":"IIS Express and windows only authentication does not work","user":{"login":"jruckert","id":4064588,"avatar_url":"https://avatars.githubusercontent.com/u/4064588?v=3","gravatar_id":"","url":"https://api.github.com/users/jruckert","html_url":"https://github.com/jruckert","followers_url":"https://api.github.com/users/jruckert/followers","following_url":"https://api.github.com/users/jruckert/following{/other_user}","gists_url":"https://api.github.com/users/jruckert/gists{/gist_id}","starred_url":"https://api.github.com/users/jruckert/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jruckert/subscriptions","organizations_url":"https://api.github.com/users/jruckert/orgs","repos_url":"https://api.github.com/users/jruckert/repos","events_url":"https://api.github.com/users/jruckert/events{/privacy}","received_events_url":"https://api.github.com/users/jruckert/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":27,"created_at":"2015-10-18T02:26:48Z","updated_at":"2015-11-01T14:53:24Z","closed_at":null,"body":"Hi,\r\n\r\nI've been trying to get Windows Authentication working by itself under IIS Express, and unless i have **both** \"Windows Authentication\" and \"Anonymous Authentication\" selected under the project properties I cannot run/debug the application in Visual Studio 2015. \r\n\r\nRunning under a command prompt, the application works using Kestrel + WebListener, so i have ruled out the application being the issue.\r\n\r\n**Error Message:**\r\n\r\n<img width=\"331\" alt=\"image\" src=\"https://cloud.githubusercontent.com/assets/4064588/10562191/45475cb0-7596-11e5-8f85-95b7048eee71.png\">\r\n\r\n**Configuration:**\r\n\r\n<img width=\"354\" alt=\"image\" src=\"https://cloud.githubusercontent.com/assets/4064588/10562196/6c3e779a-7596-11e5-8709-20074050ea54.png\">\r\n\r\n**web.config file under wwwroot**\r\n\r\n```\r\n<?xml version=\"1.0\" encoding=\"utf-8\"?>\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=\"%DNX_PATH%\" arguments=\"%DNX_ARGS%\" forwardWindowsAuthToken=\"true\" startupTimeLimit=\"3600\" />\r\n  </system.webServer>\r\n</configuration>\r\n```\r\n\r\napplicationhost.config (under the project/.vs/config directory - Note it tends to create multiple entries here and under when you turn off/on authentication options - not sure if this is any issue.\r\n\r\n```\r\n<site name=\"Manage.Web(1)\" id=\"2\">\r\n        <application path=\"/\" applicationPool=\"Clr4IntegratedAppPool\">\r\n          <virtualDirectory path=\"/\" physicalPath=\"C:\\Repos\\manage-ui\\src\\Manage.Web\\wwwroot\" />\r\n        </application>\r\n        <bindings>\r\n          <binding protocol=\"http\" bindingInformation=\"*:28249:localhost\" />\r\n        </bindings>\r\n      </site>\r\n```\r\n....\r\n```\r\n<location path=\"Manage.Web(1)\">\r\n        <system.webServer>\r\n            <security>\r\n                <authentication>\r\n                    <anonymousAuthentication enabled=\"false\" />\r\n                    <windowsAuthentication enabled=\"true\" />\r\n                </authentication>\r\n            </security>\r\n        </system.webServer>\r\n    </location>\t\r\n```\r\n\r\nAm i missing something?"},"comment":{"url":"https://api.github.com/repos/aspnet/Hosting/issues/comments/152831515","html_url":"https://github.com/aspnet/Hosting/issues/419#issuecomment-152831515","issue_url":"https://api.github.com/repos/aspnet/Hosting/issues/419","id":152831515,"user":{"login":"Tratcher","id":1821173,"avatar_url":"https://avatars.githubusercontent.com/u/1821173?v=3","gravatar_id":"","url":"https://api.github.com/users/Tratcher","html_url":"https://github.com/Tratcher","followers_url":"https://api.github.com/users/Tratcher/followers","following_url":"https://api.github.com/users/Tratcher/following{/other_user}","gists_url":"https://api.github.com/users/Tratcher/gists{/gist_id}","starred_url":"https://api.github.com/users/Tratcher/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Tratcher/subscriptions","organizations_url":"https://api.github.com/users/Tratcher/orgs","repos_url":"https://api.github.com/users/Tratcher/repos","events_url":"https://api.github.com/users/Tratcher/events{/privacy}","received_events_url":"https://api.github.com/users/Tratcher/received_events","type":"User","site_admin":false},"created_at":"2015-11-01T14:53:24Z","updated_at":"2015-11-01T14:53:24Z","body":"(aside from the debugging issue mentioned above)"}}