+ Post New Thread
Page 1 of 2 12 LastLast
Results 1 to 15 of 18
Home Access Plus+ Thread, Open files screen flicker in Projects:; HI Before I start Great product. I'm using v9, IIS 7, server 2008 R2. Got HAP installed. Added user home ...
  1. #1
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    271
    Thank Post
    90
    Thanked 38 Times in 26 Posts
    Rep Power
    33

    Open files screen flicker

    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

  2. #2

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Can you check the event log on the server, sounds like it might be trying to get to a resource that's restricted

  3. Thanks to nickbro from:

    ozydave (13th December 2013)

  4. #3
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    271
    Thank Post
    90
    Thanked 38 Times in 26 Posts
    Rep Power
    33
    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(T Key key)
    at HAP.Data.ComputerBrowser.Converter.DriveToUNC(Stri ng 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.I nvoke(Object instance, Object[] inputs, Object[]& outputs)
    at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.InvokeBegin(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage5(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)


    at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
    at HAP.Data.ComputerBrowser.Converter.DriveToUNC(Stri ng 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.I nvoke(Object instance, Object[] inputs, Object[]& outputs)
    at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.InvokeBegin(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage5(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc& rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)
    Event Xml:
    <Event xmlns="http://schemas.microsoft.com/win/2004/08/events/event">
    <System>
    <Provider Name="Home Access Plus+" />
    <EventID Qualifiers="0">0</EventID>
    <Level>2</Level>
    <Task>0</Task>
    <Keywords>0x80000000000000</Keywords>
    <TimeCreated SystemTime="2013-12-13T09:05:24.000000000Z" />
    <EventRecordID>53237</EventRecordID>
    <Channel>Application</Channel>
    <Computer>AVA-HAP.theacademy.me</Computer>
    <Security />
    </System>
    <EventData>
    <Data>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(T Key key)
    at HAP.Data.ComputerBrowser.Converter.DriveToUNC(Stri ng RoutingPath, String RoutingDrive, DriveMapping&amp; 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.I nvoke(Object instance, Object[] inputs, Object[]&amp; outputs)
    at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.InvokeBegin(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage5(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)


    at System.Collections.Generic.Dictionary`2.get_Item(T Key key)
    at HAP.Data.ComputerBrowser.Converter.DriveToUNC(Stri ng RoutingPath, String RoutingDrive, DriveMapping&amp; 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.I nvoke(Object instance, Object[] inputs, Object[]&amp; outputs)
    at System.ServiceModel.Dispatcher.DispatchOperationRu ntime.InvokeBegin(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage5(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)</Data>
    </EventData>
    </Event>



    Cherrs

  5. #4
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,438
    Thank Post
    61
    Thanked 206 Times in 178 Posts
    Rep Power
    56
    I'm getting this too, any help would be appreciated.

    Matt

  6. #5

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Can you provide your MyFiles section of the hapConfig.xml file please

  7. #6
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,438
    Thank Post
    61
    Thanked 206 Times in 178 Posts
    Rep Power
    56
    <myfiles hideextensions=".lnk,.ini" writechecks="True" LiveAppId="">
    <mappings>
    <mapping drive="H" name="Home Drive" enablereadto="All" enablewriteto="All" enablemove="True" usagemode="DriveSpace">%homedir%</mapping>
    <mapping drive="I" name="Student Read Drive" enablereadto="All" enablewriteto="Staff" enablemove="False" usagemode="DriveSpace">\\server2\studentread</mapping>
    <mapping drive="J" name="Student Write Drive" enablereadto="Staff" enablewriteto="Staff" enablemove="False" usagemode="DriveSpace">\\server2\studentwrite$</mapping>
    <mapping drive="K" name="Student Home Drives" enablereadto="Staff" enablewriteto="Staff" enablemove="False" usagemode="DriveSpace">\\server1\home$\student</mapping>
    <mapping drive="S" name="Staff Only Drive" enablereadto="Staff" enablewriteto="Staff" enablemove="True" usagemode="DriveSpace">\\server4\StaffOnly$</mapping>
    </mappings>
    <filters>
    <filter name="Access Database" expression="*.mdb;*.accdb" enablefor="All" />
    <filter name="Excel Documents" expression="*.xls;*.xlsx;*.xlt;*.xltx" enablefor="All" />
    <filter name="HTML Files" expression="*.html;*.htm" enablefor="All" />
    <filter name="Images" expression="*.jpg;*.gif;*.png;*.bmp;*.jpeg" enablefor="All" />
    <filter name="Powerpoint Files" expression="*.ppt;*.pptx;*.pptx;*.ppt" enablefor="All" />
    <filter name="Word Documents" expression="*.doc;*.docx;*.dotx;*.dot;*.txt;*.rtf; *.pdf" enablefor="All" />
    <filter name="ZIP Files" expression="*.zip" enablefor="All" />
    <filter name="All Files" expression="*.*" enablefor="Domain Admins" />
    </filters>
    <quotaservers />
    </myfiles>

  8. #7

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    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

  9. #8
    fairm010's Avatar
    Join Date
    Jun 2010
    Location
    C:/Windows/System32/
    Posts
    1,438
    Thank Post
    61
    Thanked 206 Times in 178 Posts
    Rep Power
    56
    Cheers nick. We are able to download but not open.

  10. #9
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    271
    Thank Post
    90
    Thanked 38 Times in 26 Posts
    Rep Power
    33
    Morning Nick

    Here is my App Config. Cheers for looking

    <?xml version="1.0"?>
    <hapConfig version="9.0.424.1200" local="en-GB" firstrun="False">
    <AD username="xxxx" password="xxxx" upn="theacademy.me" studentsgroup="Students" usenestedlookups="True" maxlogonattempts="4" maxrecursions="10">
    <OUs />
    </AD>
    <Homepage>
    <Links>
    <Group name="Resources" showto="All" subtitle="" hidehomepage="False" hidetopmenu="False" hidehomepagelink="False">
    <Link name="Me" showto="Inherit" description="About Me and Change My Password" url="#me" icon="~/images/icons/metro/folders-os/UserNo-Frame.png" target="" type="me" width="1" height="1" />
    <Link name="My Files" showto="Inherit" description="Access your School My Files" url="~/myfiles/" icon="~/images/icons/metro/folders-os/DocumentsFolder.png" target="" type="myfiles" width="1" height="1" />
    <Link name="Remote Apps" showto="Domain Admins" description="Run School Applications at Home via School" url="/rdweb/" icon="~/images/icons/metro/applications/remotedesktop.png" target="1" width="1" height="" />
    <Link name="My Emails" showto="Domain Admins" description="Access Email" url="https://domain/owa" icon="~/images/icons/metro/office-15/outlook.png" target="" width="1" height="" />
    </Group>
    <Group name="Management" showto="Domain Admins" subtitle="" hidehomepage="False" hidetopmenu="False" hidehomepagelink="False">
    <Link name="Help Desk" showto="Domain Admins" description="Log/View a Support Ticket" url="~/helpdesk/" icon="~/images/icons/metro/folders-os/help.png" target="" type="helpdesk" width="2" height="1" />
    <Link name="Booking System" showto="Domain Admins" description="Book an IT Resource" url="~/bookingsystem/" icon="~/images/icons/metro/applications/calendar.png" target="" type="bookings" width="2" height="1" />
    <Link name="Logon Tracker" showto="Domain Admins" description="View the Logon History" url="~/tracker/" icon="~/images/icons/metro/other/History.png" target="1" width="1" height="" />
    <Link name="HAP+ Config" showto="Domain Admins" description="Home Access Plus+ Config" url="~/setup.aspx" icon="~/images/icons/metro/folders-os/Configurealt1.png" target="1" width="1" height="" />
    </Group>
    <Group name="Me" showto="Domain Admins" subtitle="#me" hidehomepage="False" hidetopmenu="False" hidehomepagelink="False">
    <Link name="Me" showto="Inherit" description="" url="" icon="" target="1" width="1" height="" />
    <Link name="Password" showto="Inherit" description="" url="" icon="" target="1" width="1" height="" />
    </Group>
    </Links>
    <AnnouncementBox showto="All" enableeditto="Domain Admins" />
    </Homepage>
    <ProxyServer address="http://proxy" port="8080" enabled="True" />
    <SMTP server="10.80.1.13" port="25" enabled="True" ssl="True" from="admin" fromaddress="admin@localhost.com" user="xxxx" exchange="https://domain/ews/exchange.asmx" impersonationdomain="domain" impersonationuser="xxxx" impersonationpassword="jFPRSqxvjv8lduNuWzccBA==" password="dX1LnJnPynr81I8jO6836w==" />
    <Tracker maxstudentlogons="1" maxstafflogons="4" overridecode="3600" provider="XML" />
    <School name="AVA" website="domain" photohandler="" />
    <bookingsystem maxbookingsperweek="3" maxdays="14" admins="" keepxmlclean="True" twoweektimetable="True" enablemultilesson="false" maxmultilesson="0">
    <resources />
    <lessons />
    <subjects>
    <subject name="General" />
    </subjects>
    </bookingsystem>
    <myfiles hideextensions=".lnk,.ini" writechecks="True" LiveAppId="">
    <mappings>
    <mapping drive="P" name="Shared" enablereadto=", , Staff" enablewriteto=", , Staff" enablemove="False" usagemode="Quota">\\server\shared$</mapping>
    <mapping drive="H" name="My Docs" enablereadto=", , Staff,students" enablewriteto=", , Staff,students" enablemove="False" usagemode="Quota">%homedir%</mapping>
    <mapping drive="K" name="Student Shared" enablereadto=", , Students,staff" enablewriteto=", , Staff" enablemove="False" usagemode="Quota">\\server\shared$\students</mapping>
    </mappings>
    <filters>
    <filter name="Access Database" expression="*.mdb;*.accdb" enablefor="All" />
    <filter name="Excel Documents" expression="*.xls;*.xlsx;*.xlt;*.xltx" enablefor="All" />
    <filter name="HTML Files" expression="*.html;*.htm" enablefor="All" />
    <filter name="Images" expression="*.jpg;*.gif;*.png;*.bmp;*.jpeg" enablefor="All" />
    <filter name="Powerpoint Files" expression="*.ppt;*.pptx;*.pptx;*.ppt" enablefor="All" />
    <filter name="Word Documents" expression="*.doc;*.docx;*.dotx;*.dot;*.txt;*.rtf; *.pdf" enablefor="All" />
    <filter name="ZIP Files" expression="*.zip" enablefor="All" />
    <filter name="All Files" expression="*.*" enablefor="Domain Admins" />
    </filters>
    <quotaservers />
    </myfiles>
    <HelpDesk admins="Domain Admins" firstlineemails="" />
    </hapConfig>

  11. #10

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Can you try removing the extra comma's from the mappings, and if you are not using Quota servers change that to DiskSpace

  12. Thanks to nickbro from:

    ozydave (16th December 2013)

  13. #11
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    271
    Thank Post
    90
    Thanked 38 Times in 26 Posts
    Rep Power
    33
    I have changed the hap file removing the commas etc to that below. I am still getting the same problem

    <mappings>
    <mapping drive="K" name="Shared" enablereadto="Staff" enablewriteto="Staff" enablemove="False" usagemode="DriveSpace">\\ava-vm3\shared$\staff</mapping>
    </mappings>

  14. #12

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Is your HAP+ install going through a reverse proxy server?

  15. #13
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    271
    Thank Post
    90
    Thanked 38 Times in 26 Posts
    Rep Power
    33
    Hello
    Yep it is

    The reverse proxy is Apache on Ubuntu.

    Cheers

  16. #14
    ozydave's Avatar
    Join Date
    Jun 2007
    Posts
    271
    Thank Post
    90
    Thanked 38 Times in 26 Posts
    Rep Power
    33
    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

  17. #15

    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,690
    Thank Post
    43
    Thanked 560 Times in 468 Posts
    Rep Power
    124
    Ok, can you please try this, see if it gives you an error:

    open ~/hap/scripts/hap.web.js.js

    replace:
    Code:
                jsonError: function (xhr, ajaxOptions, thrownError) {
                    try {
                        if (xhr.responseText.match(/\<!doctype html/gi)) window.location.reload();
                        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('<div id="errorlist"></div>');
                                $("<div class=\"ui-state-error ui-corner-all\" style=\"padding: 3px 10px 3px 10px\"><span class=\"ui-icon ui-icon-alert\" style=\"float: left; margin-right: 5px; margin-top: 2px;\"></span><a href=\"#\" onclick=\"this.nextSibling.className = (this.nextSibling.className == 'cont') ? '' : 'cont'; return false;\">" + jQuery.parseJSON(xhr.responseText).Message + "</a><div class=\"cont\">This error has been logged on the server's event log</div></div>").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
    Code:
                jsonError: function (xhr, ajaxOptions, thrownError) {
                    try {
                        if (!xhr.responseText.match(/\<!doctype html/gi))
                        {
                            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('<div id="errorlist"></div>');
                                $("<div class=\"ui-state-error ui-corner-all\" style=\"padding: 3px 10px 3px 10px\"><span class=\"ui-icon ui-icon-alert\" style=\"float: left; margin-right: 5px; margin-top: 2px;\"></span><a href=\"#\" onclick=\"this.nextSibling.className = (this.nextSibling.className == 'cont') ? '' : 'cont'; return false;\">" + jQuery.parseJSON(xhr.responseText).Message + "</a><div class=\"cont\">This error has been logged on the server's event log</div></div>").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); }
                },

  18. Thanks to nickbro from:

    ozydave (2nd January 2014)



SHARE:
+ Post New Thread
Page 1 of 2 12 LastLast

Similar Threads

  1. yahoo mail - can't open files
    By dezt in forum Windows
    Replies: 4
    Last Post: 17th September 2007, 09:37 AM
  2. Replies: 7
    Last Post: 29th November 2006, 10:02 AM
  3. Replies: 2
    Last Post: 18th October 2006, 08:06 AM
  4. Win 2K3 File Screening
    By Gatt in forum Wireless Networks
    Replies: 3
    Last Post: 23rd July 2006, 12:49 PM
  5. Annoying popup when opening files over network
    By Ste_Harve in forum Windows
    Replies: 6
    Last Post: 19th May 2006, 12:41 PM

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •