Bizzare behaviour - Null reference exception on setup .NET 2.0

Hi guys, I am fairly new to the scene. Recently I installed EpiServer 4.6.1 sample site on my workstation to train myself. I followed the steps provided here ( to build it in .NET 2.0. When I complete the build and load the local site (http://episerverdemo), I am prompted to select content to install - I choose 'English sample templates with all templates installed'. Then it runs...and crashes, throwin the following stack trace. [NullReferenceException: Object reference not set to an instance of an object.] EPiServer.ConfigFileSettings.ᐃ() +65 EPiServer.ConfigFileSettings.ᐂ() +87 EPiServer.ConfigFileSettings.SetAppSetting(String name, String val) +20 EPiServer.ApplicationConfiguration.Persist() +412 EPiServer.Admin.Setup.DoSetup(Object sender, EventArgs e) +694 System.Web.UI.WebControls.Button.OnClick(EventArgs e) +105 System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) +107 System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePostBackEvent(String eventArgument) +7 System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler sourceControl, String eventArgument) +11 System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +5102 Funnily enough, if I load the site (http://episerverdemo) everything works. That is, until the IIS worker process is restarted. Once the IIS worker process is restarted, when I am prompted to select content to install...again. I think I'm running in circles. Has anybody seen this problem or have any idea how to fix this? It didn't seem to happen when I was running the site in .NET 1.1 - so could it have been something I did during the upgrade to .NET 2.0? Thanks!
Mar 25, 2008 19:33
Hi. Are you using an Enterprise license? See this FAQ if it helps:
Mar 25, 2008 19:43
* 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.