Asp.net MVC 出現“Failed to map the path '/'.”錯誤


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 1:  <%@ Application Codebehind="Global.asax.cs" Inherits="yl.MvcApplication" Language="C#" %>

Source File: /global.asax    Line: 1 

解決方式:

重新啟動服務器 重新啟動IIS網站 都無效。

找到網站對應的進程池,回收進程池。


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM