Jump to content

Recommended Posts

Posted
In the release notes at the bottom of the download page is upgrade instructions: https://hap.codeplex.com/releases/view/105468

 

 

 

Only two things i would add to that is to backup your web.config files from the helpdesk and booking system admin. As these have permission settings in which get wiped, and they don't appear to have had any changes made between 8.7 and 9.0. Plus there's still the small section about changing permissions on the setup.aspx file in the main web.config file.

Posted

I just tried the usual upgrade which is to remove everything from the HAP folder except the App_Data folder.

However I had the following error upon browsing to HAP...

Server Error in '/' Application.

--------------------------------------------------------------------------------

 

Object reference not set to an instance of an object.

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:

 

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.

 

Stack Trace:

 

 

[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) +4057141

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) +11700896

System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context) +141

System.Web.HttpRuntime.ProcessRequestNotificationPrivate(IIS7WorkerRequest wr, HttpContext context) +4869125

 

 

 

 

--------------------------------------------------------------------------------

Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.0.30319.272

 

What have I cocked up? :o

Posted

After installing the update I get this when browsing to HAP :

 

This web page has a redirect loop

 

The web page at "Hap link here" has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

 

I can't load hap at all with v9, I have tried both keeping app data and doing a fresh install but i can't seem to load HAP.

 

The my restore to 8.7 still works though.

Posted
Hmm, recovered it to previous version and it ran fine. Dropped the new files across into the hap folder and I get the same error again?

 

It's probably not this, but i found that whenever i download the hap.zip file from codeplex i have to right click the zip file > properties > click unblock. Prior to unpacking it, else i get an issue with one of the scripts or dlls not working.

 

Think that only applies to server 2008 and later though, and i could be wrong but give it a go anyway...you never know :p

  • Thanks 1
Posted
How odd, sorry it's not working @reggiep, I don't quite know what would be causing that issue. Is it happening on every browser? Make sure you don't access HAP+ from the server that's running it, it can cause issues. It could be a cookie/token missmatch, or a miss configuration of the kerberos stuff (if you are using that)
Posted (edited)

Hi!

 

When any user apart from an admin tries to download a file I get an error "Bad request"

 

I presume I have messed up some file permissions?

 

Any idea's?

 

Cheers,

Adam

Edited by ataylor
Posted

Ok, That was strange. Its because I was testing with uploading and downloading a blank text file. It did not seem to like it. Put some text in it and it worked fine.

 

Cheers.

Posted
After installing the update I get this when browsing to HAP :

 

This web page has a redirect loop

 

The web page at "Hap link here" has resulted in too many redirects. Clearing your cookies for this site or allowing third-party cookies may fix the problem. If not, it is possibly a server configuration issue and not a problem with your computer.

 

I can't load hap at all with v9, I have tried both keeping app data and doing a fresh install but i can't seem to load HAP.

 

The my restore to 8.7 still works though.

 

Same happening here :S

Posted

what is the URL that is causing the redirect? Do you have a redirect script at the root of your IIS server? (above the HAP level)

 

I did notice that one of the login scripts is redirecting to the root of the IIS server rather than the root of the /HAP folder - if you have a redirect script in the root sending it back, you might get a loop..

Posted

yeah, i had a redirect in too but as im testing on a /BETA site, it was redirecting back to /HAP.. (hence no redirect loop for me).

I'm wondering what the specific URL (in the address bar) is causing the loop for those experiencing it? For me, it was the ~/beta/login.aspx?ReturnUrl=/&From=Negotiate

The "ReturnUrl=/" would appear to be incorrect.

Posted

Hmm? Any ideas?

 

[TABLE=width: 100%]

 

 

[TR]

 

[TD]

[NullReferenceException: Object reference not set to an instance of an object.] HAP.Web.Configuration.hapConfig.doUpgrade(Version version) +8468 HAP.Web.Configuration.hapConfig..ctor() +433 HAP.Web.Configuration.hapConfig.get_Current() +126 HAP.Web.Setup.Page_Load(Object sender, EventArgs e) +176 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207[/TD]

[/TR]

[/TABLE]

Posted
Hmm? Any ideas?

 

[TABLE=width: 100%]

[TR]

[TD][NullReferenceException: Object reference not set to an instance of an object.] HAP.Web.Configuration.hapConfig.doUpgrade(Version version) +8468 HAP.Web.Configuration.hapConfig..ctor() +433 HAP.Web.Configuration.hapConfig.get_Current() +126 HAP.Web.Setup.Page_Load(Object sender, EventArgs e) +176 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +91 System.Web.UI.Control.LoadRecursive() +74 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207[/TD]

[/TR]

[/TABLE]

 

You've gotten a corrupt hapConfig.xml file

Posted
yeah, i had a redirect in too but as im testing on a /BETA site, it was redirecting back to /HAP.. (hence no redirect loop for me).

I'm wondering what the specific URL (in the address bar) is causing the loop for those experiencing it? For me, it was the ~/beta/login.aspx?ReturnUrl=/&From=Negotiate

The "ReturnUrl=/" would appear to be incorrect.

 

Just re-release the v9 release, you just need the hap.web.dll file in the bin folder, see if that works. (Give it 10 minutes while it uploads)

Posted
[ATTACH=CONFIG]17943[/ATTACH]

 

This is all I get, fixed the redirect issue :S

You need to remove the svg line from the web.config file

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...