Paul-K Posted March 7, 2014 Posted March 7, 2014 Hi there, I am installing HAP+ Version 10 along side my current version 9 install for testing purposes. However, I seem to be receiving the errors seen in the below screen shots when accessing: /api/setup (/api/test returns OK) If I add the HTTP binding it fixes the services activated for version 10 but then my version 9 starts to play up because I've added the HTTP binding, it starts to flash as mentioned in a previous post. I have had two different versions of HAP+ 9 running together before but both of these required the HTTP binding not to be there but version 10 seems to want it. Is there any way to have them running alongside each other for testing of version 10?
Paul-K Posted March 10, 2014 Author Posted March 10, 2014 Just wondering if anyone might have a suggestion for the above issue? I am trying to test HAP+ version 10 before moving over to a live site. Any help is appreciated.
mattgrimley Posted March 10, 2014 Posted March 10, 2014 No massive insight on this.. other than, i run side-by-side installs here and i have them installed to https://portal.school.com/hap and https://portal.school.com/beta. It may be that the api subfolder is causing the issue? Your setup should really be domainname/folder/setup.aspx i think..
minimoo Posted March 10, 2014 Posted March 10, 2014 Paul-K: OK, I'm seeing exactly the same on my development box on the latest development code, I'll try and either work out / remind myself what changed and see what insight Nick has.
Paul-K Posted March 11, 2014 Author Posted March 11, 2014 @nickbro I have HTTPS which works fine for version 9.5.831.2140, If I add HTTP it breaks my live 9.5 version but then my test version 10 works correctly. Is there a way to resolve this so that I can have both running together to test version 10
nickbro Posted March 11, 2014 Posted March 11, 2014 Copy the web.config file from the v10 release to the v9.5 release
Paul-K Posted March 11, 2014 Author Posted March 11, 2014 Worked like a charm, always sound advice Nick. Cheers
Paul-K Posted March 23, 2014 Author Posted March 23, 2014 @nickbro Hi Nick, I had HAP+ 10 preview 2 working fine with the above advice, I have now updated to the preview 3 for testing and receive the error show below. Any ideas? or has something been added to the preview 3 that could be causing the error?
nickbro Posted March 23, 2014 Posted March 23, 2014 Yes, we've gone back to locking the web.config file down to https only. To override this choose either: 1. Remove the HTTP Binding 2. Remove this from the web.config file:
Paul-K Posted March 23, 2014 Author Posted March 23, 2014 Yes, we've gone back to locking the web.config file down to https only. To override this choose either: 1. Remove the HTTP Binding 2. Remove this from the web.config file: Hi Nick, I have done the above and I get the "Could not find a base address that matches scheme http for the endpoint with binding WebHttpBinding. Registered base address schemes are [https]." Seems like it still wants the HTTP Binding, If I add the HTTP Binding back but remove the line it works again, is this the correct behaviour or is there something wrong with the web.config if it is still requiring the HTTP binding?
nickbro Posted March 23, 2014 Posted March 23, 2014 Thanks for the info, missed a bit in the web.config in restoring it:
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