Jump to content

Recommended Posts

Posted
Is there any instructions to achieve this successfully? is it just an overright of the exisiting files and copying the relevant config files back across?
Posted

It hates me.

 

[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) +4064869 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) +11775984 System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141 System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4914821[/TD]

[/TR]

[/TABLE]

Posted

Ah, the dreaded upgrade failed error. backup your hapConfig.xml, delete it. Use setup to create a new one, then copy parts of the old config over the new one (using notepad).

 

Sorry about this. I never did find out why the upgrade failed like that.

Posted

Don't apologize, your doing us all a favour with this project.

 

Will have another go tommorow, I tried copying stuff from one XML to the other and it didn't like any of the line... then it didn't show any icons so I think I will just manually use the GUI to recreate the links... won't take me long.

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 account

Sign in

Already have an account? Sign in here.

Sign In Now



×
×
  • Create New...