Portal Engine
Version 2.x > Portal Engine > Error on page creation View modes: 
User avatar
Member
Member
matt - 12/7/2006 7:04:34 PM
   
Error on page creation
Error:

Cannot set column 'NodeAlias'. The value violates the MaxLength limit of this column.

Stack:

[ArgumentException: Cannot set column 'NodeAlias'. The value violates the MaxLength limit of this column.]
CMS.TreeEngine.TreeNode.Insert(Int32 parentNodeId) +3539
CMSDesk_PortalEngine_NewPage.btnOk_Click(Object sender, EventArgs e) +580
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +174
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102



I know this has to do with a page name being too long. Specifically in this case the page name was 55 characters long (yeah, that's a ridiculously long page name). I will reduce the length of the page name since that's the easiest fix but it would be nice to know what the maximum page name character length can be. And I thought you guys might like to see the error.

User avatar
Guest
admin - 12/8/2006 1:31:42 PM
   
Re: Error on page creation
Hi Matt,

Thank you for your message. I'm sorry, this was a bug in 2.0a. You may need to upgrade to 2.0b using the upgrade procedure from: http://www.kentico.com/Download/Upgrades.aspx

I'm sorry for this inconvenience.

Thank you.

Best Regards,

User avatar
Member
Member
matt - 12/8/2006 4:06:43 PM
   
Re: Error on page creation
Ah, that's good news.

I've been meaning to upgrade anyway, now I have a good reason.

Can I upgrade from 2.0 to 2.0b without upgrading to 2.0a first?

User avatar
Guest
admin - 12/9/2006 2:36:05 PM
   
Re: Error on page creation
No, unfortunately, you need to upgrade to 2.0a first and then to 2.0b.

Please let me know if you need any help with that.

Best Regards,