Error Message
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: 'ProjectName.PageName' is not allowed here because it does not extend class 'System.Web.UI.Page'.
When running a Visual Studio 2005 web project, the above error message appears. 
Solution
the problem can be traced back to renaming the page. Generally renaming a web page via solution explorer is not such a good idea since IDE fails to completely rename all the parameters. It is recommended to delete the file and create a new web page and place the functions in the new page instead. 
To fix the above problem, make sure the page code-behind class has been renamed correctly.
 
No comments:
Post a Comment