Paul-K Posted July 26, 2013 Posted July 26, 2013 I have also experienced the same issue when upgrading from 9.2 to 9.4. I copied all the files across then added my deny roles and deny webdav handler to the web.config and I received the internal 500 error. I then copied the web.config file from the 9.4 upgrade again and HAP+ worked but with weird results. The login button showed text but no image, the HAP menu bar appeared at the top of the screen before logging in and after logging in the profile drop down in the top right hand corner was constantly visible and only the management and me tabs were visible to any user who logged in but with no navigation or anything showing under them,. Finally I added setup.aspx to get setup but non of the menus were accessible and all of the checks showed red X's. I have gone back to 9.2 for the moment as I upgraded my production site.
nickbro Posted July 26, 2013 Posted July 26, 2013 Open the web.config file and check for the svg line
nickbro Posted July 26, 2013 Posted July 26, 2013 If you get a 500 error, open HAP+ on the server, it will tell you what the error means
WLS-ITGuy Posted July 26, 2013 Posted July 26, 2013 Open the web.config file and check for the svg line All I see is this one:
nickbro Posted July 26, 2013 Posted July 26, 2013 Ok, that one stays, hmm, don't know why it's not working
WLS-ITGuy Posted July 26, 2013 Posted July 26, 2013 I went back to 9.2 and still get the LDAP Error where it says I need to reset my Admin credentials. Can't do that because it won't let me in the Setup page either
nickbro Posted July 26, 2013 Posted July 26, 2013 Replace the web.config with the one from the release, it will allow you back to the setup.aspx page
WLS-ITGuy Posted July 26, 2013 Posted July 26, 2013 I blew everything away and started fresh. I started at 9.0 and went right to 9.4 no matter who I log in as, Myself (non admin) or an admin I get the Internal Server Error pop up and nothing works.
WLS-ITGuy Posted July 26, 2013 Posted July 26, 2013 Check the event log on the server An error occurred in Home Access Plus+ Page: /api/MyFiles/Drives?1374867718471 Message The service '/api/myfiles' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme http for the endpoint with binding WebHttpBinding. Registered base address schemes are [https].. Source System.Runtime.DurableInstancing Target site TAsyncResult End[TAsyncResult](System.IAsyncResult) Stack trace at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) ToString() System.ServiceModel.ServiceActivationException: The service '/api/myfiles' cannot be activated due to an exception during compilation. The exception message is: Could not find a base address that matches scheme http for the endpoint with binding WebHttpBinding. Registered base address schemes are [https].. ---> System.InvalidOperationException: Could not find a base address that matches scheme http for the endpoint with binding WebHttpBinding. Registered base address schemes are [https]. at System.ServiceModel.ServiceHostBase.MakeAbsoluteUri(Uri relativeOrAbsoluteUri, Binding binding, UriSchemeKeyedCollection baseAddresses) at System.ServiceModel.Description.ConfigLoader.ConfigureEndpointAddress(ServiceEndpointElement serviceEndpointElement, ServiceHostBase host, ServiceEndpoint endpoint) at System.ServiceModel.Description.ConfigLoader.ConfigureEndpoint(StandardEndpointElement standardEndpointElement, ServiceEndpointElement serviceEndpointElement, ContextInformation context, ServiceHostBase host, ServiceDescription description, ServiceEndpoint& endpoint, Boolean omitSettingEndpointAddress) at System.ServiceModel.Description.ConfigLoader.LookupEndpoint(ServiceEndpointElement serviceEndpointElement, ContextInformation context, ServiceHostBase host, ServiceDescription description, Boolean omitSettingEndpointAddress) at System.ServiceModel.Web.WebServiceHost.AddAutomaticWebHttpBindingEndpoints(ServiceHost host, IDictionary`2 implementedContracts, String multipleContractsErrorMessage, String standardEndpointKind) at System.ServiceModel.Web.WebServiceHost.OnOpening() at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.Runtime.AsyncResult.End[TAsyncResult](IAsyncResult result) at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.End(IAsyncResult result) at System.Web.HttpApplication.CallHandlerExecutionStep.OnAsyncHandlerCompletion(IAsyncResult ar) There are other errors "ASP.NET 4.0.30319.0" and "System.ServiceModel 4.0.0.0"
nickbro Posted July 26, 2013 Posted July 26, 2013 Are you using HTTPS? You may need to, in IIS, remove the all but the binding for HTTPS on the website
nickbro Posted July 26, 2013 Posted July 26, 2013 Hmm, the error is staying the site isn't running in HTTPS
Paul-K Posted July 26, 2013 Posted July 26, 2013 @nickbro I have checked the web.config for the svg line but all I have there is which from an earlier post I believe stays there. The web.config file is the one from the latest release (9.4) but the image below shows what the logon page looks like, I have disabled webdav again on the application in case it may have been causing issues as it does.
WLS-ITGuy Posted July 26, 2013 Posted July 26, 2013 (edited) Hmm, the error is staying the site isn't running in HTTPS Added http, reboot and it works. Setup.aspx is not available for the admin account whether through the logged in user or by directly going to setup.aspx Edited July 26, 2013 by WLS-ITGuy
nickbro Posted July 26, 2013 Posted July 26, 2013 @Paul-K, can you do some http://www.edugeek.net/forums/home-access-plus/86059-hap-json-debugging.html, looks like jquery isn't loading properly @WLS-ITGuy backup your hapConfig.xml file, delete it, replace the web.config file from the v9.4 release, re-run HAP+
Paul-K Posted July 26, 2013 Posted July 26, 2013 @nickbro Hi Nick, I have setup a test site of HAP+ using the files from my working version then copied the 9.4 release files across. Below is a screenshot from firefox.
nickbro Posted July 26, 2013 Posted July 26, 2013 Ok, javascript isn't getting loaded. Can you check /api/js for me
Paul-K Posted July 26, 2013 Posted July 26, 2013 @nickbro It throws a 403 - Forbidden: Access is denied error.
nickbro Posted July 26, 2013 Posted July 26, 2013 Ok, your web.config file isn't correct. Check this exists:
Paul-K Posted July 26, 2013 Posted July 26, 2013 @nickbro The code above is in the web.config file and is exactly as above. The web.config file has been copied from the latest 9.4 release.
nickbro Posted July 26, 2013 Posted July 26, 2013 can you check the event log on the server, something isn't working right
Paul-K Posted July 26, 2013 Posted July 26, 2013 The latest error in the logs from HAP is: An error occurred in Home Access Plus+ Page: HAP.Web.API.MyPic Creating Directory Search and Searching for then current user Using filter: (&(objectClass=user) (sAMAccountName=****)) Found 1 results, processing 1st result Found 0 thumnbnailPhotos The above error reoccurs multiple times, there are a couple of different errors from HAP+ but I think they were logged before I setup the test site!
nickbro Posted July 26, 2013 Posted July 26, 2013 That error is fine, just ignore it, something else isn't working, the hap javascript file isn't getting loaded, and it looks like a few other things aren't getting loaded. Did you install v9.0 first then upgrade to v9.4?
Paul-K Posted July 26, 2013 Posted July 26, 2013 Yes, my live site is running 9.2 but I setup a test site using 9.0 then upgraded to 9.4. If I copy the web.config from my 9.2 working version then it fixes the logon screen issue and access to /api/js works but I have some other issues like not seeing the management menu, drives in my files or access to setup.aspx.
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