Upgrades Questions on upgrading to version 6.x.
Version 6.x > Upgrades > Error after upgrade View modes: 
User avatar
Certified Developer v7
Certified  Developer v7
maxg - 11/29/2011 6:12:24 PM
   
Error after upgrade
Have upgraded to v6.0,

When trying to login to site manager, I get the following error:

[Exception: The value for field 'UserNickName' is missing. You need to initialize the field before executing this operation.]
CMS.DataEngine.ClassStructureInfo.ConvertDataToParams(Object[] data, Boolean allowMissing, Boolean nullForMissing) +518
CMS.DataEngine.SimpleDataClass.Update() +36
CMS.DataEngine.AbstractInfo`1.UpdateData() +257
CMS.Synchronization.SynchronizedInfo`1.UpdateData() +30
CMS.DataEngine.AbstractInfoProvider`2.SetInfo(InfoType info) +420
CMS.SiteProvider.UserInfoProvider.SetUserInfoInternal(UserInfo user) +426
CMS.SiteProvider.UserInfoProvider.AuthenticateUser(String userName, String password, String siteName, Boolean login) +838
CMS.MembershipProvider.CMSMembershipProvider.ValidateUser(String username, String password) +50
System.Web.UI.WebControls.Login.AuthenticateUsingMembershipProvider(AuthenticateEventArgs e) +60
System.Web.UI.WebControls.Login.OnAuthenticate(AuthenticateEventArgs e) +129
System.Web.UI.WebControls.Login.AttemptLogin() +127
System.Web.UI.WebControls.Login.OnBubbleEvent(Object source, EventArgs e) +101
System.Web.UI.Control.RaiseBubbleEvent(Object source, EventArgs args) +37
System.Web.UI.WebControls.Button.OnCommand(CommandEventArgs e) +125
System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +167
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +10
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +13
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +36
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5563


How do I fix this?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 11/30/2011 2:15:13 AM
   
RE:Error after upgrade
Hi,

Could you please describe us the upgrade steps you have made? What was the initial CMS version?

After each upgrade - have you visited your site to check if it is working? Right now, it is hard to isolate where the problem occured and more important thing is that you must start the site - there are some thing being imported on the first start as well as some code executed when the application is started.

I would like to recommend to perform the upgrade again and after each upgrade run the site and check for errors, try to login at least.

Best Regards,
Juraj Ondrus

User avatar
Certified Developer v7
Certified  Developer v7
maxg - 11/30/2011 2:08:23 PM
   
RE:Error after upgrade
I am upgrading from 3.1a to 6.0.

I have done each of the 6 upgrades in between and it worked fine.

But I have 7 installations to upgrade, and tried to run all SQL scripts on the next one, and then apply the new files and start up - so an upgrade in one step.

That is now where I get the error. Is there anyway to do this in one step?

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 12/1/2011 2:50:14 AM
   
RE:Error after upgrade
Hi,

If there would be an option to do it in one step, we would offer it. Regrettably it is not.

After each upgrade the site must be launched since new web parts, templates and other objects are imported as well as some code has to be executed after the first startup and compilation.

Please, follow the upgrade instructions.

Best regards,
Juraj Ondrus