Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 4.x > Installation and deployment > Error when publish from VisualStudio 2008 to wwwroot: "CMSFormControls_selectuser is not compatible...." View modes: 
User avatar
Member
Member
son_phuong-yahoo - 2/26/2009 4:25:28 AM
   
Error when publish from VisualStudio 2008 to wwwroot: "CMSFormControls_selectuser is not compatible...."
Hi,

I have got this error when I publish from VS2008 to WWWRoot
(Menu: CMSDesk -> Properties --> General)

------------------------------------------------------------------------
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: The base class includes the field 'usrOwner', but its type (CMSFormControls_selectuser) is not compatible with the type of control (ASP.cmsformcontrols_selectuser_ascx).

Source Error:

Line 117: <td>
Line 118: <asp:Label ID="lblOwner" runat="server" EnableViewState="false" />
Line 119: <cms:selectuser ID="usrOwner" runat="server" Visible="false" />
Line 120: </td>
Line 121: </tr>


Source File: /hana/CMSDesk/Content/Properties/general.aspx Line: 119
---------------------------------------------------------------------------------------------------------

Please help me. Thanks a lot.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 2/26/2009 7:30:18 AM
   
RE:Error when publish from VisualStudio 2008 to wwwroot: "CMSFormControls_selectuser is not compatible...."
Hi,


I am sorry but I am not able to reproduce your issue. Have you upgraded before the error occured?
Could you pelase try to search in the projvec files for this string "CMSFormControls_selectuser" and check if it is not used more than once?

Also, could you please try to clear .Net cache - c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\?

Best Regards,
Juraj Ondrus

User avatar
Certified Developer v7
Certified  Developer v7
slycknick - 5/12/2009 9:09:07 AM
   
RE:Error when publish from VisualStudio 2008 to wwwroot: "CMSFormControls_selectuser is not compatible...."
I also get this problem. Is there any idea why.

It happens only where the site has been compiled. Certains tabs on the CMS desk are not available and produce the error below.

The error is

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: The base class includes the field 'usrOwner', but its type (CMSFormControls_selectuser) is not compatible with the type of control (ASP.cmsformcontrols_selectuser_ascx).

Source Error:

Line 117: <td>
Line 118: <asp:Label ID="lblOwner" runat="server" EnableViewState="false" />
Line 119: <cms:selectuser ID="usrOwner" runat="server" Visible="false" />
Line 120: </td>
Line 121: </tr>


Source File: /CMSDesk/Content/Properties/general.aspx Line: 119

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 5/14/2009 9:08:03 AM
   
RE:Error when publish from VisualStudio 2008 to wwwroot: "CMSFormControls_selectuser is not compatible...."
Hi,

Could you please confirm that you have followed this description? Have you set to false the option to have the web site updatable? It is not recommended to allow the web site to be updatable.

Best Regards,
Juraj Ondrus

User avatar
Certified Developer v6
Certified Developer v6
nortech - 6/24/2009 6:28:22 AM
   
RE:Error when publish from VisualStudio 2008 to wwwroot: "CMSFormControls_selectuser is not compatible...."
Hi, we have the same problem.

The project is published as Updatable. We need this option in order to be able to do changes on the fly on the production server.

We recently upgraded from 4.0 to 4.0.5 according to your upgrade instructions. Does this upgrade cause any problems?

Regards,

Ulysses
Nortech - Internet Applications

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 6/30/2009 3:43:06 AM
   
RE:Error when publish from VisualStudio 2008 to wwwroot: "CMSFormControls_selectuser is not compatible...."
Hi,

Unfortunately this problem will be fixed in next version as it is described in our Bugtracker. There are also some problems with .Net framework itself we had to fix. I am sorry for the inconvenience.
It is still recommended not to allow the web site to be updatable when publishing it.

Which problems you mean with the 4.0.5 hotfix package?

Best Regards,
Juraj Ondrus