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: enter image description here

If I put without a managed code, then another error takes off. enter image description here

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.

  • Click there Try Copy Local for the indicated missing dependency - teran
  • @teran and more detail you can? Where does it click? And by the way, I figured out that the variant without the code being controlled will not work because it is mvc and there are a bunch of razor inserts, so you need to deal with the error where it does not find the library. I can also say that I tried to open my library which lies in the bin and read in error that it occurs when the application pool, there are different public tokens, but why I don’t understand - Andrei
  • @teran can you suggest something? I even tried to create an empty mvc project, it also displays an example of a page with links to the microsoft site. And I tried to run it, the same result, an error on the assembly of Web.MVC - Andrew

0