ozydave Posted December 12, 2013 Posted December 12, 2013 HI Before I start Great product. I'm using v9, IIS 7, server 2008 R2. Got HAP installed. Added user home drives and our shared area. I can browse / upload files. but if i highlight a file then select open form the top menu the screen keeps refreshing without anything ever being displayed. I have reinstalled .net 4 This happens on IE9, 10, 11 Safari, chrome. so i guess its to do with the installation Any pointers where i can start to look to resolve this problem. Cheers
nickbro Posted December 12, 2013 Posted December 12, 2013 Can you check the event log on the server, sounds like it might be trying to get to a resource that's restricted 1
ozydave Posted December 13, 2013 Author Posted December 13, 2013 Hello Nick I am logged on as a domain admin and checked I can open file normally. opening the same file with HAP causes the screen flicker. I have logged on as a normal teacher an tried to open a document, I get the same flicker. I checked the event logs on the server and can see the error which is below Log Name: Application Source: Home Access Plus+ Date: 13/12/2013 09:05:24 Event ID: 0 Task Category: None Level: Error Keywords: Classic User: N/A Computer: AVA-HAP.theacademy.me Description: An error occurred in Home Access Plus+ Page: mscorlib The given key was not present in the dictionary. System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at HAP.Data.ComputerBrowser.Converter.DriveToUNC(String RoutingPath, String RoutingDrive, DriveMapping& unc, User user) at HAP.MyFiles.API.SortedList(String Drive, String Path, String SortOrder, String Direction) at HAP.MyFiles.API.List(String Drive, String Path) at SyncInvokeList(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at HAP.Data.ComputerBrowser.Converter.DriveToUNC(String RoutingPath, String RoutingDrive, DriveMapping& unc, User user) at HAP.MyFiles.API.SortedList(String Drive, String Path, String SortOrder, String Direction) at HAP.MyFiles.API.List(String Drive, String Path) at SyncInvokeList(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) Event Xml: 0 2 0 0x80000000000000 53237 Application AVA-HAP.theacademy.me An error occurred in Home Access Plus+ Page: mscorlib The given key was not present in the dictionary. System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at HAP.Data.ComputerBrowser.Converter.DriveToUNC(String RoutingPath, String RoutingDrive, DriveMapping& unc, User user) at HAP.MyFiles.API.SortedList(String Drive, String Path, String SortOrder, String Direction) at HAP.MyFiles.API.List(String Drive, String Path) at SyncInvokeList(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at HAP.Data.ComputerBrowser.Converter.DriveToUNC(String RoutingPath, String RoutingDrive, DriveMapping& unc, User user) at HAP.MyFiles.API.SortedList(String Drive, String Path, String SortOrder, String Direction) at HAP.MyFiles.API.List(String Drive, String Path) at SyncInvokeList(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) Cherrs
fairm010 Posted December 13, 2013 Posted December 13, 2013 I'm getting this too, any help would be appreciated. Matt
nickbro Posted December 13, 2013 Posted December 13, 2013 Can you provide your MyFiles section of the hapConfig.xml file please
fairm010 Posted December 13, 2013 Posted December 13, 2013 %homedir% \\server2\studentread \\server2\studentwrite$ \\server1\home$\student \\server4\StaffOnly$
nickbro Posted December 13, 2013 Posted December 13, 2013 that looks all ok, I'm at a loss, usually the key missing issue is because of the incorrect case on the drive name, will have to look into this
fairm010 Posted December 13, 2013 Posted December 13, 2013 Cheers nick. We are able to download but not open.
ozydave Posted December 16, 2013 Author Posted December 16, 2013 Morning Nick Here is my App Config. Cheers for looking \\server\shared$ %homedir% \\server\shared$\students
nickbro Posted December 16, 2013 Posted December 16, 2013 Can you try removing the extra comma's from the mappings, and if you are not using Quota servers change that to DiskSpace 1
ozydave Posted December 16, 2013 Author Posted December 16, 2013 I have changed the hap file removing the commas etc to that below. I am still getting the same problem \\ava-vm3\shared$\staff
nickbro Posted December 20, 2013 Posted December 20, 2013 Is your HAP+ install going through a reverse proxy server?
ozydave Posted December 22, 2013 Author Posted December 22, 2013 Hello Yep it is The reverse proxy is Apache on Ubuntu. Cheers
ozydave Posted December 30, 2013 Author Posted December 30, 2013 I have now changed this so it does not go throughout a reverse proxy. i have it on a public URL, ports 80 and 443 are open on the firewall. Sadly i am still having the same issues
nickbro Posted December 31, 2013 Posted December 31, 2013 Ok, can you please try this, see if it gives you an error: open ~/hap/scripts/hap.web.js.js replace: jsonError: function (xhr, ajaxOptions, thrownError) { try { if (xhr.responseText.match(/\ else { if (jQuery.parseJSON(xhr.responseText).Message == "Length of the data to decrypt is invalid." || jQuery.parseJSON(xhr.responseText).Message == "Invalid length for a Base-64 char array.") hap.help.Load("impmsg"); else { if (document.getElementById("errorlist") == null) $("#hapContent").append(''); $("" + jQuery.parseJSON(xhr.responseText).Message + "This error has been logged on the server's event log").appendTo("#errorlist"); if (hap.errorTimeout == null) hap.errorTimeout = setTimeout("hap.common.clearError();", 10000); try { console.log(xhr.responseText); } catch (ex) { }; } } } catch (e) { if (thrownError != "") alert(thrownError); } }, with jsonError: function (xhr, ajaxOptions, thrownError) { try { if (!xhr.responseText.match(/\ { if (jQuery.parseJSON(xhr.responseText).Message == "Length of the data to decrypt is invalid." || jQuery.parseJSON(xhr.responseText).Message == "Invalid length for a Base-64 char array.") hap.help.Load("impmsg"); else { if (document.getElementById("errorlist") == null) $("#hapContent").append(''); $("" + jQuery.parseJSON(xhr.responseText).Message + "This error has been logged on the server's event log").appendTo("#errorlist"); if (hap.errorTimeout == null) hap.errorTimeout = setTimeout("hap.common.clearError();", 10000); try { console.log(xhr.responseText); } catch (ex) { }; } } } catch (e) { if (thrownError != "") alert(thrownError); } }, 1
ozydave Posted January 2, 2014 Author Posted January 2, 2014 Thanks for your help on this I have changed the code and I do indeed get and error which is below "The given key was not present in the dictionary." Aslo there is below the error from the event viewer An error occurred in Home Access Plus+ Page: mscorlib The given key was not present in the dictionary. System.Collections.Generic.KeyNotFoundException: The given key was not present in the dictionary. at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at HAP.Data.ComputerBrowser.Converter.DriveToUNC(String RoutingPath, String RoutingDrive, DriveMapping& unc, User user) at HAP.MyFiles.API.SortedList(String Drive, String Path, String SortOrder, String Direction) at HAP.MyFiles.API.List(String Drive, String Path) at SyncInvokeList(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet) at System.Collections.Generic.Dictionary`2.get_Item(TKey key) at HAP.Data.ComputerBrowser.Converter.DriveToUNC(String RoutingPath, String RoutingDrive, DriveMapping& unc, User user) at HAP.MyFiles.API.SortedList(String Drive, String Path, String SortOrder, String Direction) at HAP.MyFiles.API.List(String Drive, String Path) at SyncInvokeList(Object , Object[] , Object[] ) at System.ServiceModel.Dispatcher.SyncMethodInvoker.Invoke(Object instance, Object[] inputs, Object[]& outputs) at System.ServiceModel.Dispatcher.DispatchOperationRuntime.InvokeBegin(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage5(MessageRpc& rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRuntime.ProcessMessage31(MessageRpc& rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process(Boolean isOperationContextSet)
wickit Posted January 8, 2014 Posted January 8, 2014 We had this on our install, all i did was start using https 443 and it went away 1
ozydave Posted January 8, 2014 Author Posted January 8, 2014 Hi Thanks for the reply. Yep we are using https with our global sign cert. I will check tomorrow and reinstall the cert Cheers
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