Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > errors in the project View modes: 
User avatar
Member
Member
davef-helixpoint - 5/30/2010 6:31:50 AM
   
errors in the project
I opened the solution and tried to build it. I am using VS 2010 and I get 72 errors. It can't find controls like cms:Help...cms:UniGrid.....cms:PageTitle.....

Dave

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 5/31/2010 8:42:31 AM
   
RE:errors in the project
Hello,

Could you please answer the following questions?

1) What version of Kentico are you using?
2) What installation option have you choosen during the installation?
3) What steps did you take before trying to run the project in VS 2010?

Best regards,
Boris Pocatko

User avatar
Member
Member
davef-helixpoint - 5/31/2010 9:46:01 AM
   
RE:errors in the project
5.5

Framework 4.0 VS 2010
Buillt in
Full instalation

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 5/31/2010 11:21:58 AM
   
RE:errors in the project
Hello,

Could you please check your web.config file, if you are using the correct one?
Specifically, if there is the prefix "cms" registered in the following form:
<add tagPrefix="cms" namespace="CMS.Controls" assembly="CMS.Controls" />

Could you please try to open the project as a web site, not through the *.sln file?
Please check, if you are using the correct dll files for the .net version 4.0.

Best regards,
Boris Pocatko

User avatar
Member
Member
ryans-tushaus - 5/24/2011 12:40:36 AM
   
RE:errors in the project
I upgraded a site from version 3.1a to version 5.5R2 and now I am receiving the following error:

Unknown server tag 'cms:PageTitle'.

Because the site is using Ajax 1.0, I have left the site as .net 2.0.

The following tag that you reference in your post is in my web.config and the CMS.Controls.dll file for version 5.5R2 .net 2.0 is in the bin folder.

User avatar
Kentico Support
Kentico Support
kentico_zdenekc - 5/24/2011 2:14:03 AM
   
RE:errors in the project
Hi,

There were changes in newer versions so that multiple web.config files in different sub-folders (where the controls were registered in previous versions) were refactorized in new versions. You will probably need to register the control manually in your custom pages, please find sample code below:
<%@ Register Src="~/CMSAdminControls/UI/PageElements/PageTitle.ascx" TagName="title" TagPrefix="cms" %>

Optionally please specify in which file does the "unknown server tag" error appear. This typically appears for master page files like "TabLevel#.master" or so.

Regards,
Zdenek

User avatar
Member
Member
ryans-tushaus - 5/25/2011 4:19:02 AM
   
RE:errors in the project
Registering the control manually solved the problem. Thanks!