Asp.net MVC 出现“Failed to map the path '/'.”错误-LMLPHP

Server Error in '/' Application.

Parser Error

Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load type 'yl.MvcApplication'.

Source Error:

Line :  <%@ Application Codebehind="Global.asax.cs" Inherits="yl.MvcApplication" Language="C#" %>

Source File: /global.asax    Line:  

解决方式:

重新启动服务器 重新启动IIS网站 都无效。

找到网站对应的进程池,回收进程池。

Asp.net MVC 出现“Failed to map the path &#39;/&#39;.”错误-LMLPHP

05-11 22:15