+ Post New Thread
Page 2 of 2 FirstFirst 12
Results 16 to 20 of 20
Home Access Plus+ Thread, Unable to get File Move to Work in Projects:; Firstly, thanks for your quick response. You aren't gonna like this... I still have the same problem I downloaded the ...
  1. #16

    Join Date
    Jul 2012
    Location
    Melbourne
    Posts
    57
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Firstly, thanks for your quick response. You aren't gonna like this... I still have the same problem

    I downloaded the file named "HAP+ Web Upgrade (from v8.0)", unzipped, and copied the files to my "test system" as follows:
    . 3 files in the root folder of the zip to the root of /hap
    . Files in /bin to /hap/bin
    . Files in /style to /hap/style

    I then ran the setup again and... tried to do a move/copy. Firebug showed the following:
    8:33:36.810 - Dynatree._create(): version='


    $Version: 1.2.0$


    ', debugLevel=


    1


    .


    jquery...tree.js (line 52)
    POST https://10.9.8.210/hap2/api/MyFiles/...:33:48.944Z%22

    400 An WCF Error has Occured
    62ms
    jquery....min.js (line 11)
    ParamsHeadersPostResponseXMLJSONCookies


    {"Message":"The given key was not present in the dictionary.","Detail":null,"FaultType":"KeyNotFoun dException"}


    TypeError: xhr.responseXML.documentElement.children[1] is undefined
    [Break On This Error]


    ...electedItems()[0].Data.Extension != ".doc" && SelectedItems()[0].Data.Extension ...


    #G\uploads (line 146)

    I did keep that change in /hap/myfiles/default.aspx that you previously recommended: hap.common.resolveUrl('~/api/MyFiles/Move') - don't know if I should have.... or should I set it back?

    Thanks

  2. #17
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,517
    Thank Post
    37
    Thanked 499 Times in 430 Posts
    Rep Power
    113
    Sorry about this, I've re-released it under 8.1.1003.0000

    https://hap.codeplex.com/releases/view/95634

  3. Thanks to nickbro from:

    peterdwyer (3rd October 2012)

  4. #18

    Join Date
    Jul 2012
    Location
    Melbourne
    Posts
    57
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0
    I think I typed this whilst you were posting the last message, Should I do a full copy rather than just the files in the "upgrade" Zip File?

    See below

    Thanks


    Tried latest update (HAP+ Web v8.1.1003.0000 Upgrade) and ran move and copy tests. Here are the results. All I did was to copy the files in the Zip and run setup again. Perhaps there's more that I need to do




    400 An WCF Error has Occured
    72ms
    jquery....min.js (line 11)
    ParamsHeadersPostResponseXMLJSONCookies


    {"Message":"The given key was not present in the dictionary.","Detail":null,"FaultType":"KeyNotFoun dException"}


    TypeError: xhr.responseXML.documentElement.children[1] is undefined
    [Break On This Error]


    ...electedItems()[0].Data.Extension != ".doc" && SelectedItems()[0].Data.Extension ...






    Thanks
    Last edited by peterdwyer; 3rd October 2012 at 12:57 AM.

  5. #19

    Join Date
    Jul 2012
    Location
    Melbourne
    Posts
    57
    Thank Post
    11
    Thanked 1 Time in 1 Post
    Rep Power
    0
    Resolved!

    Copied entire contents of new ZIP file for HAP+ Web v8.1.1003.0000 to my test server (with the exception of hapconfig.xml), ran setup.aspx and copy/move now working.

    I suppose that I must have had something else in there that was causing problems. Now all I've got to do is reinstate colour scheme, customised icons and Announcements :-(

    Thanks for your help Nick.

  6. #20
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,517
    Thank Post
    37
    Thanked 499 Times in 430 Posts
    Rep Power
    113
    There was a problem with it, but I did fix it in 8.1.1003.0000.

    I think I may need to put a bit more info on my JSON Debug post

    POST TO https://HAPURL/hap/api/MyFiles/Move
    Code:
    JSON
    NewPath "N/WPA Files/Test2/asp.net - lesson 1.pdf"
    OldPath "N/WPA Files/asp.net - lesson 1.pdf"
    Overwrite "false"
    Source
    { "OldPath" : "N/WPA Files/asp.net - lesson 1.pdf", "NewPath": "N/WPA Files/Test2/asp.net - lesson 1.pdf", "Overwrite": "false" }

SHARE:
+ Post New Thread
Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 3
    Last Post: 18th May 2011, 02:11 PM
  2. [Website] 4Chan attempt to get Bieber sent to North Korea
    By ZeroHour in forum Jokes/Interweb Things
    Replies: 14
    Last Post: 9th July 2010, 10:41 AM
  3. Replies: 3
    Last Post: 20th January 2010, 09:56 PM
  4. Replies: 9
    Last Post: 30th October 2009, 01:46 PM
  5. Replies: 3
    Last Post: 24th September 2006, 04:18 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
  •