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.UI.SystemPageBase.CreatePageTitle(String titlePrefix) +216
EPiServer.UI.Edit.MasterPages.Frameworks.Framework.OnLoad(EventArgs e) +37
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +627
Ps. The frontend works fine
Which version of EPi?
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.
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.
I found the problem. It was in EPiServerFramework.config. siteHostMapping was wrong. Thanks for the help!
Ah I was close but not close enough then :)
Nice. Those errors can take quite some time to figure out sometimes