I trying to debug a MVC 6 site on IIS 10. I have installed v1.2 x64 Platform Handler as required and followed all the steps to setup the correct application pool and Unlock the web handler section in IIS etc etc.
Requests to the site return a 500 Error. The site runs correctly on IIS Express
I turned on Failed Request Tracing which generated a log file ( all 3000 lines of it) for the request. In this entire file, there is only one warning which is that their was a 500 error on the httpPlatformHandler - on the EXECUTE_REQUEST_HANDLER.
So, its taken 2 days to eventually get IIS to tell me something the browser told me in seconds.
EXECUTE_REQUEST_HANDLER means IIS already passed the request to ASP.NET 5 if you are using RC1 (or Core 1.0 if you are using RC2 nightly), and it is likely that the 500 comes from ASP.NET side, not HttpPlatformHandler (as the handler is just a proxy).
You should be aware that ASP.NET 5 (or ASP.NET Core 1.0 right now) is a moving target, so that testing build you use can itself contains bugs and issues. You should carefully check which build you are using, and trying the latest to see if a certain issue
has been addressed.
It is meaningless at this stage to use that to develop anything yet, and all such questions should go to the dedicate forum at ASP.NET,
Lex Li
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.
7 Posts
Http Platform Handler 500 Error Status
Jan 23, 2016 10:19 AM|geeee|LINK
I trying to debug a MVC 6 site on IIS 10. I have installed v1.2 x64 Platform Handler as required and followed all the steps to setup the correct application pool and Unlock the web handler section in IIS etc etc.
Requests to the site return a 500 Error. The site runs correctly on IIS Express
I turned on Failed Request Tracing which generated a log file ( all 3000 lines of it) for the request. In this entire file, there is only one warning which is that their was a 500 error on the httpPlatformHandler - on the EXECUTE_REQUEST_HANDLER.
So, its taken 2 days to eventually get IIS to tell me something the browser told me in seconds.
Is their no other way to debug a 500 error?
iis failedrequestlog aspnet5
8960 Posts
MVP
Re: Http Platform Handler 500 Error Status
Jan 23, 2016 10:11 PM|lextm|LINK
EXECUTE_REQUEST_HANDLER means IIS already passed the request to ASP.NET 5 if you are using RC1 (or Core 1.0 if you are using RC2 nightly), and it is likely that the 500 comes from ASP.NET side, not HttpPlatformHandler (as the handler is just a proxy).
You should be aware that ASP.NET 5 (or ASP.NET Core 1.0 right now) is a moving target, so that testing build you use can itself contains bugs and issues. You should carefully check which build you are using, and trying the latest to see if a certain issue has been addressed.
It is meaningless at this stage to use that to develop anything yet, and all such questions should go to the dedicate forum at ASP.NET,
http://forums.asp.net/1255.aspx/1?ASP+NET+5
iis failedrequestlog aspnet5
Affordable IIS Consulting Services at https://support.lextudio.com/services/consulting.html
---------------------------
This posting is provided "AS IS" with no warranties, and confers no rights.