The file '/MasterPage.master' does not exist. 类错误解决方法

错误详情:

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: The resource object with key 'URLFlashHeader' was not found.

 

The file '/MasterPage.master' does not exist.
等信息。

   建了一个新的Web项目,在发布的时候按照同事说的方法将代码包上传到现有网站的目录下面,单独建了一个文件夹,可是上传去之后能够访问一些静态页,可是访问动态页的时候报各种错啊。在网上搜索了很久也没有找到解决方法。

自己苦苦研究很很久才找到解决方法,方法就是把自己的发布的网站的bin下的文件拷贝到网站的根目录下面去,把一些相对路径进行修改一下,之后就能进行正常访问了。

原文地址:https://www.cnblogs.com/xuhongfei/p/3021512.html