Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > Parser Error Message View modes: 
User avatar
Member
Member
tommyribbers-live - 6/10/2010 7:43:52 PM
   
Parser Error Message
Server Error in '/' Application.
--------------------------------------------------------------------------------

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: Unknown server tag 'cms:CMSButton'.

Source Error:


Line 12: <br />
Line 13: <br />
Line 14: <cms:CMSButton runat="server" OnClientClick="HideCheck(); return false;" ID="btnContinue" />
Line 15: </asp:Panel>
Line 16: </div>


Source File: /CMSAdminControls/UI/System/RequireScript.ascx Line: 14


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:2.0.50727.4927; ASP.NET Version:2.0.50727.4927


can anyone tell me whats wrong?

im using II7 .net 2.0 and im on a shared host the site is in httpdocs on root

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 6/11/2010 8:13:43 AM
   
RE:Parser Error Message
Hello,

That's strange. Could you please check whether your web.config file contains following line to load CMS Extended Controls:

<add tagPrefix="cms" namespace="CMS.ExtendedControls" assembly="CMS.ExtendedControls"/>

If not, please add it.

Best regards
Ondrej Vasil

User avatar
Member
Member
tommyribbers-live - 6/11/2010 1:33:05 PM
   
RE:Parser Error Message
this is all whats in my web.config


<?xml version="1.0"?>
<!--
Please refer to machine.config.comments for a description and
the default values of each configuration section.

For a full documentation of the schema please refer to
http://go.microsoft.com/fwlink/?LinkId=42127

To improve performance, machine.config should contain only those
settings that differ from their defaults.
-->
<configuration>
<system.web>
<compilation defaultLanguage="c#" />
<trust level="Medium" />
</system.web>
</configuration>



where should i put that line u gave me?
i tryd after medium trust and it gave me an errror 500.19

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 6/22/2010 3:35:16 AM
   
RE:Parser Error Message
Hello,

Please look for the web.config file in the root of your project folder. This is general one, used for the whole application.

There should be following structure:


...
<system.web>
<pages validateRequest="false">
<controls>
<add tagPrefix="asp" namespace="System.Web.UI" assembly="System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" />
<add tagPrefix="ajaxToolkit" namespace="AjaxControlToolkit" assembly="AjaxControlToolkit" />
<add tagPrefix="cms" namespace="CMS.Controls" assembly="CMS.Controls" />
<add tagPrefix="cms" namespace="CMS.FormControls" assembly="CMS.FormControls" />
<add tagPrefix="cms" namespace="CMS.ExtendedControls" assembly="CMS.ExtendedControls" />
<add tagPrefix="cms" namespace="CMS.PortalControls" assembly="CMS.PortalControls" />
</controls>
...


Basically the following section is the one you should add it to:
<system.web>
<pages validateRequest="false">
<controls>


Hope it helps.

Best regards
Ondrej Vasil

User avatar
Member
Member
dhanrajm-bitwiseglobal - 9/15/2011 2:10:39 AM
   
RE:Parser Error Message
Hi

I have upgraded the 4.0 to 4.1 version i am getting the error

Could not load file or assembly 'AjaxControlToolkit, Version=1.0.10920.32880, Culture=neutral, PublicKeyToken=28f01b0e84b6d53e' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)

Please let me know help

Regards
Dhanraj

User avatar
Kentico Developer
Kentico Developer
kentico_ondrejv - 9/15/2011 6:26:46 AM
   
RE:Parser Error Message
Hello,

This issue seems to be rather a problem with the ASP.NET cache. There might remain the old assemblies from the old version. Therefore, please delete it.

If you are not sure about their location, please try to search in our forums, I'm pretty sure it was mentioned many times.

Best regards
Ondrej Vasil