Try our conversational search powered by Generative AI!

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


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
Oct 09, 2012 14:07

Hi Suresh,


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

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

Oct 09, 2012 15:15

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

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.