November Happy Hour will be moved to Thursday December 5th.

EPiServer.Configuration.Settings.Instance has not been initialized and the siteId="" has no corresponding <site> element.

Vote:
 

has anyone else had this error and know how to get rid?!?

#41059
Jun 30, 2010 12:58
Vote:
 

Do you have the siteid attribute in the site tag?

<episerver xmlns="http://EPiServer.Configuration.EPiServerSection">
  <sites>
    <site description="Customer" siteId="customersite.com">

#41160
Jul 02, 2010 11:23
Vote:
 

Are you running multiple sites?  We found this happens when there's a mis-match between what site a domain name is configured in IIS and what the EPiServerFramework.config file says should be in that site.

When a request comes in, IIS maps it based on domain name.  This initializes EPiServer inside the AppDomain of that site, and sets constants like PageReference.StartPage.  If EPiServerFramework.config later says that a page from a different EPiServer site should be delivered within that same AppDomain, then you have this problem.

#41161
Jul 02, 2010 15:16
Vote:
 

I got the same problem, for future reference check that in episerverframework.config in tag automaticSiteMapping the siteId match siteId in episerver.config

#54891
Nov 08, 2011 15:17
Vote:
 

I had the same problem and I solved it by not using Cassini ;)

My web.config wasn't compatible with Visual Studio's IIS 6 compatible internal web server.

#62375
Oct 23, 2012 15:03
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.