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

Object reference not set to an instance of an object - on site startup

Vote:
 

Hi, I'm a newbie to EpiServer, trying to setup my first site through deployment center. Site is crashing after installation.

I found stack trace like this. Any help would be appreciated.

[NullReferenceException: Object reference not set to an instance of an object.]
   EPiServer.Configuration.Settings.get_Instance() +49
   EPiServer.UriSupport.get_InternalUIUrl() +74
   EPiServer.SiteBase.OnValidateRequestAccess(ValidateRequestAccessEventArgs e) +141
   EPiServer.Global.Global_PreRequestHandlerExecute(Object sender, EventArgs e) +131
   System.Web.SyncEventExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +136
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +69
#61989
Oct 09, 2012 14:07
Vote:
 

Hi Suresh,

 

Could you look in your episerver.config and see if there is a site element?

<episerver>
  <sites>
    <site siteId="MySite" description="Short description of the site">

#61994
Oct 09, 2012 15:15
Vote:
 

Yes, there is a site element. I had a look into SiteSettings element and UiUrl attribute.

#61995
Oct 09, 2012 15:25
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.