Try our conversational search powered by Generative AI!

Having trouble accessing edit and admin


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?

Mar 06, 2013 10:41

Ps. The frontend works fine

Mar 06, 2013 10:41

Which version of EPi?

Mar 06, 2013 11:00

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.

Mar 06, 2013 11:06

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.

Mar 06, 2013 11:23

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

Mar 06, 2013 13:44

Ah I was close but not close enough then :)

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

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.