Installation and deployment
Version 7.x > Installation and deployment > Parser Error View modes: 
User avatar
Member
Member
rayed@ha.com.sa - 10/24/2012 4:56:13 AM
   
Parser Error
I had upload all the files of my project to IIS7
and when I tried to browse the site I got parser error
Parser Error Message: Unknown server tag 'cms:CMSPageManager'.

body class="<%=BodyClass%>" <%=BodyParameters%>>
Line 10: <form id="form1" runat="server">
Line 11: <cms:CMSPageManager ID="manPage" runat="server" />
Line 12: <asp:Label runat="server" ID="lblText" EnableViewState="false" />
Line 13: </form>

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 10/24/2012 5:22:09 AM
   
RE:Parser Error
Hi,

could you please check if you have the following line in your web.config?
<add tagPrefix="cms" namespace="CMS.Controls" Assembly="CMS.Controls"/>

I would also recommend you to use CMSPortalManager instead of CMSPageManager (it's an old equivalent).

Best regards,
Martin Danko

User avatar
Member
Member
rayed@ha.com.sa - 11/7/2012 2:03:45 AM
   
RE:Parser Error
under what can I add this

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 11/7/2012 2:20:03 AM
   
RE:Parser Error
Hi,

Add them into following section:
     <system.web>
<pages validateRequest="false">
<controls>

Best regards,
Martin Danko

User avatar
Member
Member
rayed@ha.com.sa - 11/7/2012 7:59:02 AM
   
RE:Parser Error
It already exist

User avatar
Kentico Customer Success
Kentico Customer Success
kentico_martind2 - 11/8/2012 3:38:10 AM
   
RE:Parser Error
Hi,

What version if IIS and .Net are you using?
Are you logged to the Windows system with user account with administrator rights?

Best regards,
Martin Danko