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

Bizzare behaviour - Null reference exception on setup .NET 2.0

Vote:
 
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 (http://www.episerver.com/en/EPiServer_Knowledge_Center/Download2/EPiServer-Downloads/EPiServer_461/) 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!
#17631
Apr 26, 2007 4:50
Vote:
 
Hi. Are you using an Enterprise license? See this FAQ if it helps: http://www.episerver.com/en/EPiServer_Knowledge_Center/FAQ_EPiServer_4/1010/Why-does-my-EPiServer-installation-crash-when-I-am-installing-templates/
#18466
Apr 26, 2007 10:18
* 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.