Hello All,
I am trying to upgrade a Sharepoint 2007 (3.0) environment to sharepoint 2010.
Steps I am following
- run the upgrade checker on 2007 environment
- Took a backup of the content database
- restored the database on the new sharepoint 2010 environment
- Created a new webapplication
- Ran stsadm command to attach the database to the new web application.
Issue:-
When I try and browse that website it comes up as
An error occurred during the processing of /_catalogs/masterpage/CompanyNameHomePage.aspx. Code blocks are not allowed in this file." - SharePoint 2007 Exceptio.
Note:- my old sharepoint2007 environment uses a Full fledged custom masterpage.
I tried adding this in the web.config file.
<PageParserPaths>
<PageParserPath VirtualPath="/pages/test.aspx" CompilationMode="Always" AllowServerSideScript="true" />
</PageParserPaths>
But apparently this did not help
Please Advise how can I fix this.
Many thanks in advance
Rana





