Server Error in ‘/’ Application.
——————————————————————————–
The resource cannot be found.
Description: HTTP 404. The resource you are looking for (or one of its dependencies) could have been removed, had its name changed, or is temporarily unavailable. Please review the following URL and make sure that it is spelled correctly.
Requested Url: /ser_csat_faq.aspx
______________________________________________________________________________________________
要在开发环境里-〉设计页面窗口内-〉右键 -〉在浏览器中浏览
如果成功!那么是你的虚拟站点没有设值默认访问网页的问题
如果不成功!那么是IIS 问题:
看看虚拟站点是否建立、访问权限是否足够、页面连接是否有效;
再看看别人开发的站点在你的机子上是否可以正常运行并显示;
由此,基本可以判断并排除错误
会提示”The Resource Cannot be Found" 的类似错误
错误时website项目的文件名称为:E:\……\Project.WebSite, 后来把这个文件夹名称改成:E:\….\WebSite,错误就没了。
没有去看源代码,是不是mvc的viewlocator在load时,会有什么特殊字符的判别,注意出错的文件夹名称中间有个“.”
评论前必须登录!
注册