Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more

Error in EPiMail CheckAccess() on upgrade

Vote:
 

Hi all,

Upgraded a site from Relate 1.0 to 2.0 and now am getting the following error:

[NullReferenceException: Object reference not set to an instance of an object.]

EPiServer.Mail.Core.EP.Web.MailEditPanelPlugIn.CheckAccess() +87

EPiServer.Mail.Core.EP.Web.MailEditPanelPlugIn.List() +16

EPiServer.PlugIn.AssemblyTypeInfo.UseCustomLoader(Type type, PlugInAttribute matchAttribute, ArrayList list) +60

 

After looking at reflector I belive the issue to be with either of these lines:

IUser currentUser = Settings.DefaultSecuirty.CurrentUser;

ISite currentSite = SiteHandler.Instance.CurrentSite;

 

But that's as far as I've gotten.

#48895
Feb 22, 2011 2:58
Vote:
 

Have you tried to check the Event Viewer? I think you can find some clues there.

#48944
Feb 24, 2011 5:43
Vote:
 

Thanks for the idea but I wasn't getting much out of error logs.

In the end I found there were a couple of other issues too which indicated that the database migration wasn't 100% successful. So did that again from the original version 1.0 site and connected the upgraded database from the second attempt and all is working. So most likely a few things in the db weren't migrated over correctly.

#48981
Feb 25, 2011 3:35
This thread is locked and should be used for reference only. Please use the Legacy add-ons forum to open new discussions.
* You are NOT allowed to include any hyperlinks in the post because your account hasn't associated to your company. User profile should be updated.