Bug reports
Version 3.x > Bug reports > Error - CMSAdminControls_UserPicture View modes: 
User avatar
Member
Member
kobkan.courtney@hyro.com - 8/11/2008 3:19:43 AM
   
Error - CMSAdminControls_UserPicture
Any idea how to fix this error?

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 'picUser', but its type (CMSAdminControls_UserPicture) is not compatible with the type of control (ASP.cmsadmincontrols_userpicture_ascx).

Source Error:


Line 5: <td>
Line 6: <asp:PlaceHolder runat="server" ID="plcImageActions" Visible="false">
Line 7: <uc1:ForumUserPicture ID="picUser" runat="server" />
Line 8:  <asp:ImageButton runat="server" ID="btnDeleteImage" OnClick="DeleteImage_Click" /><br />
Line 9: </asp:PlaceHolder>


Source File: /CMSFormControls/UserPictureEdit.ascx Line: 7


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

User avatar
Kentico Consulting
Kentico Consulting
kentico_borisp - 8/11/2008 3:31:53 AM
   
RE:Error - CMSAdminControls_UserPicture
Hello,

Could you please try the following steps, if you are using a precompiled environment?

1) Could you please try to delete the .net cache on the machine (c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\)?

2) Could you please try NOT to check the box "Allow this precompiled site to be updatable" during the compilation?


Best Regards,
Boris Pocatko

User avatar
Member
Member
kobkan.courtney@hyro.com - 8/11/2008 11:44:51 PM
   
RE:Error - CMSAdminControls_UserPicture
Untick the "Allow this precompiled site to be updatable" fixed it.

Thanks so much for your help :)

User avatar
Member
Member
Peter - TFE - 8/20/2009 3:56:25 AM
   
RE:Error - CMSAdminControls_UserPicture
Hello,

I am experiencing the same problem. However, the solutions offered are nog applicable for me. Our sites are build on a continuous integration server, which merges all dll's into one for the whole website. Allowing it to be updatable is not an option.

Is there any other way to fix this? Updating to 4.0 is also not an option, too much impact...

So if anybody has found a solution, I would be very interrested to know about it!

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 8/25/2009 8:55:07 AM
   
RE:Error - CMSAdminControls_UserPicture
Hi,

Unfortunately the only known solution for this in 3.x and previous version was to disable the option "allow web site to be updatable".

For version 4.0 there was a hotfix package and this problem was solved in 4.1 version. So the recommended way is to upgrade to the latest version. I am sorry for the inconvenience.

Best Regards,
Juraj Ondrus