Jump to content

Recommended Posts

Posted

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

Posted

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

  • 2 weeks later...
Posted

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

Posted

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); }
           },

  • Thanks 1
Posted

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)

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