britzj Posted April 24, 2013 Posted April 24, 2013 I recently upgraded to v9 and am now receiving this error: [h=1]Server Error in '/hap' Application.[/h] [h=2]Object reference not set to an instance of an object.[/h] Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. Exception Details: System.NullReferenceException: Object reference not set to an instance of an object. Source Error: [TABLE=width: 100%] [TR] [TD] An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below. [/TD] [/TR] [/TABLE] Stack Trace: [TABLE=width: 100%] [TR] [TD] [NullReferenceException: Object reference not set to an instance of an object.] HAP.Web.Configuration.hapConfig.doUpgrade(Version version) +9258 HAP.Web.Configuration.hapConfig..ctor() +666 HAP.Web.Configuration.hapConfig.get_Current() +135 HAP.Web.Global.Application_Start(Object sender, EventArgs e) +52 [HttpException (0x80004005): Object reference not set to an instance of an object.] System.Web.HttpApplicationFactory.EnsureAppStartCalledForIntegratedMode(HttpContext context, HttpApplication app) +4057733 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers) +191 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context) +352 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context) +407 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext) +375 [HttpException (0x80004005): Object reference not set to an instance of an object.] System.Web.HttpRuntime.FirstRequestInit(HttpContext context) +11702064 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4870277 [/TD] [/TR] [/TABLE] Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272
nickbro Posted April 24, 2013 Posted April 24, 2013 A few people are experiencing this error, the only real way to fix it is to delete your hapConfig.xml file and remake it using the setup.aspx page. I'll investigate why this would be happening
britzj Posted April 24, 2013 Author Posted April 24, 2013 Hmm, I tried editing my hapconfig.xml cause I was still getting errors, it seems adding height="1" width="1" to a lot of the homepage items fixes it up, a bit. Still wasn't working so I'm just going to stick with 8.7 for a while.
k9mjl Posted April 29, 2013 Posted April 29, 2013 Same problem here, have had to roll back to 8.7 as well, no matter what I do I cant get 9.0 or 9.1 to work.
nickbro Posted April 29, 2013 Posted April 29, 2013 Is there any way you can do a fresh install, and after completing the setup then transferring parts of the hapConfig.xml file back into the file, being careful to look at any formatting or tag differences
k9mjl Posted April 29, 2013 Posted April 29, 2013 Tried a fresh install and setup again, as soon as I go onto the files page it fails.
nickbro Posted April 29, 2013 Posted April 29, 2013 Hmm, odd, what error does it give you on the files page?
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now