Wrote a project on mvc. I created a pool for it, trying to run it. If I put a version of asp.net 4.0 in the pool, an error occurs: 
If I put without a managed code, then another error takes off. 
Previously flew 502, but I'm in line:
<add name="BlockViewHandler" path="Views/*" verb="*" preCondition="integratedMode" type="System.Web.HttpNotFoundHandler" /> in the path part added Views /. And now this is such a mistake. And not how it is impossible to start a site. What is the problem I do not understand, not a single error could not be solved. Target version of framework in project 4.6.1. Please tell me what could be the problem. If you need any other information to analyze the problem, write, I will add.