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

Having trouble accessing edit and admin

Vote:
 

We having trouble with a clients site. On the live site, everything works just fine but when we trying to access admin or editmode in developement or test server we get the following error:

[NullReferenceException: Object reference not set to an instance of an object.]
   EPiServer.Licensing.SiteInformationHandler.GetSiteInformationFromConfig(SiteElement siteElement) +123
   EPiServer.Licensing.License.get_CurrentLicenseUsage() +54
   EPiServer.UI.SystemPageBase.CreatePageTitle(String titlePrefix) +216
   EPiServer.UI.Edit.MasterPages.Frameworks.Framework.OnLoad(EventArgs e) +37
   System.Web.UI.Control.LoadRecursive() +50
   System.Web.UI.Control.LoadRecursive() +141
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627

Any ideas?

#66651
Mar 06, 2013 10:41
Vote:
 

Ps. The frontend works fine

#66652
Mar 06, 2013 10:41
Vote:
 

Which version of EPi?

#66656
Mar 06, 2013 11:00
Vote:
 

I tought it was cms 6 R2 but it was cms 6. Iv'e tried to truncate tblSiteConfig and restart but that did't help either.

#66657
Mar 06, 2013 11:06
Vote:
 

My guess is that it's an episerver.config error.

Try switching to a clean one from demo site and insert VPP paths + startpage etc to that one if you can't find the error. That's my best guess.

#66660
Mar 06, 2013 11:23
Vote:
 

I found the problem. It was in EPiServerFramework.config. siteHostMapping was wrong. Thanks for the help!

#66666
Mar 06, 2013 13:44
Vote:
 

Ah I was close but not close enough then :)

Nice. Those errors can take quite some time to figure out sometimes

#66668
Mar 06, 2013 14:09
This thread is locked and should be used for reference only. Please use the Episerver CMS 7 and earlier versions 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.