when I run the application in VS,it is normal.But when I publish it to the server on IIS,there are two views throw exceptions like this:
Exception type: InvalidOperationException
Exception message: The view 'Error' or its master was not found or no view engine supports the searched locations. The following locations were searched:
~/Views/View_AccountManage/Error.aspx
~/Views/View_AccountManage/Error.ascx
~/Views/Shared/Error.aspx
~/Views/Shared/Error.ascx
~/Views/View_AccountManage/Error.cshtml
~/Views/View_AccountManage/Error.vbhtml
~/Views/Shared/Error.cshtml
~/Views/Shared/Error.vbhtml
and at this moment,only when I visit these two views, it throw exception,other views is normal.And it is not always throw exception,only sometimes,and when I reset IIS it will be normal. I'm sure the view is in the right location,after all ,it can work right when I reset IIS. Please help me ,3Q!