+ Post New Thread
Results 1 to 14 of 14
Home Access Plus+ Thread, My Files and Invalid token error on logon in Projects:; Hi Nick v7.9 working great here. Also got the AD browser issue fixed in this version too! Two wierd errors ...
  1. #1
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,075
    Thank Post
    520
    Thanked 146 Times in 132 Posts
    Blog Entries
    78
    Rep Power
    78

    My Files and Invalid token error on logon

    Hi Nick

    v7.9 working great here. Also got the AD browser issue fixed in this version too!

    Two wierd errors for you though...

    MyFiles: Just get two rotating red arrows on any user. The old MSCB works fine though

    Login:
    We have one user with a ' in their logon name - which throws an Invalid token error. THis happens whether using forms based logon or basic (which we are using as we have TMG onsite).

    Any chance we could fix these two?

  2. #2
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    I don't that the .net stuff for AD likes '. I will look into it for you though.

    For the other issue, you may need to do some HAP+ JSON Debugging to find out why it's not loading

  3. #3
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,075
    Thank Post
    520
    Thanked 146 Times in 132 Posts
    Blog Entries
    78
    Rep Power
    78
    Ok cool on the ad name - will wait and see on that one.

    On the MyFiles issue - Firefox throws a "Quota Server" error - which is odd, as I don't have one, and haven't enabled that on the My Files setup page.

    <Fault xmlns="http://schemas.microsoft.com/ws/2005/05/envelope/none"><Code><Value>Receiver</Value><Subcode><Value xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</Value></Subcode></Code><Reason><Text xml:lang="en-GB">Can't find quota server</Text></Reason><Detail><ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance"><HelpLink i:nil="true"/><InnerException i:nil="true"/><Message>Can't find quota server</Message><StackTrace> at HAP.Data.ComputerBrowser.Quota.GetQuota(String username, String share)
    at HAP.Web.API.MyFiles.Drives()
    at SyncInvokeDrives(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.ProcessMessage41(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage4(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage3(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage2(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage11(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage1(MessageRpc&amp; rpc)
    at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)</StackTrace><Type>System.Exception</Type></ExceptionDetail></Detail></Fault>

    is shown in FireBug

  4. #4
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    Odd, double check your hapconfig.xml file

  5. #5
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,075
    Thank Post
    520
    Thanked 146 Times in 132 Posts
    Blog Entries
    78
    Rep Power
    78
    Hmm - despite selecting Drive Space in the setup.aspx - it is still writing the wrong thing the the config xml. What should it be writing?

  6. #6
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    usagemode="Quota" for Quota Servers
    usagemode="DriveSpace" for DriveSpace

    in 7.10 there will be a NONE option

  7. #7
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,075
    Thank Post
    520
    Thanked 146 Times in 132 Posts
    Blog Entries
    78
    Rep Power
    78
    OK, have put that in correctly manually now. Getting the drive indicator (and the space use on the home page) - but its not showing files still.

  8. #8
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    any JSON errors being reported?

  9. #9
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,075
    Thank Post
    520
    Thanked 146 Times in 132 Posts
    Blog Entries
    78
    Rep Power
    78
    Firefox gives a useful error...

    String cannot be of zero length.

    Parameter name: oldValue

    And firebug says...

    []

    GET https://webmail.marineacademy.org.uk...yFiles/info/U/

    500 Internal Server Error
    83ms
    jquery....min.js (line 6)
    HeadersResponseXML
    XML Parsing Error: no element found Location: moz-nullprincipal:{5bbc185f-c794-4069-9d72-27d36e5b44d4} Line Number 1, Column 1:

    ^

    Cache-Control private
    Connection Keep-Alive
    Content-Length 2346
    Content-Type application/xml; charset=utf-8
    Date Thu, 09 Feb 2012 09:41:59 GMT
    Server Microsoft-IIS/7.5
    X-AspNet-Version 4.0.30319
    X-Powered-By ASP.NET
    Request Headers
    Accept application/json, text/javascript, */*; q=0.01
    Accept-Encoding gzip, deflate
    Accept-Language en-gb,en;q=0.5
    Connection keep-alive
    Content-Type application/json
    Cookie logondata=acc=0&lgn=wilkies; mycompv=sl; c27aa272ea804fc9a42b5f124897ce18MAP%5Cwilkies=0; logondata=acc=0&lgn=wilkies; cadataFEA59DF42DFF4EDF91956373266BA0F1="579266ac7-9f40-4e14-915e-99d04f07d829S8M0rGcL+pHsTLerGYdxcoGeRVlGQr1uJnVTw7 iKqDTdBpSPQvPfQZ18C1gVarBJmSZ90ChPnt//FWkaEV6zUuwnHnVIFw5pucVprzhZtT8ruRd/jyjKnkd9MK9pyTz7"; ASP.NET_SessionId=bj3od31tdahxju345gkvzpg5; ISAWPLB{B5998F0A-8D39-4431-9D47-410CEE50BF36}={89822C4C-C7DF-47B3-8C6F-FDA00E162968}
    Host webmail.marineacademy.org.uk
    Referer https://webmail.marineacademy.org.uk/hap7/myfiles/
    User-Agent Mozilla/5.0 (Windows NT 6.1; rv:10.0) Gecko/20100101 Firefox/10.0
    X-Requested-With XMLHttpRequest

  10. #10
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    Ok, anything coming up on the server event viewer?

  11. #11
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,075
    Thank Post
    520
    Thanked 146 Times in 132 Posts
    Blog Entries
    78
    Rep Power
    78
    Nope nothing showing there Im afraid

  12. #12
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,075
    Thank Post
    520
    Thanked 146 Times in 132 Posts
    Blog Entries
    78
    Rep Power
    78
    Any ideas on more testing I can do for you so we can track down this one?

  13. #13
    nickbro's Avatar
    Join Date
    Jul 2010
    Location
    Gilwern, Wales
    Posts
    3,358
    Thank Post
    36
    Thanked 466 Times in 398 Posts
    Rep Power
    105
    It's a strange one, the server is returning nothing for me to try and figure out what's going on. It usually provides an error message at least.

  14. #14
    TheScarfedOne's Avatar
    Join Date
    Apr 2007
    Location
    Plymouth, Devon
    Posts
    1,075
    Thank Post
    520
    Thanked 146 Times in 132 Posts
    Blog Entries
    78
    Rep Power
    78
    Some better output for you...

    <Fault xmlns="http://schemas.microsoft.com/ws/2005/05/envelope/none">
    <Code>
    <Value>Receiver</Value>
    <Subcode>
    <Value xmlns:a="http://schemas.microsoft.com/net/2005/12/windowscommunicationfoundation/dispatcher">a:InternalServiceFault</Value>
    </Subcode>
    </Code>
    <Reason>
    <Text xml:lang="en-GB">String cannot be of zero length. Parameter name: oldValue</Text>
    </Reason>
    <Detail>
    <ExceptionDetail xmlns="http://schemas.datacontract.org/2004/07/System.ServiceModel" xmlns:i="http://www.w3.org/2001/XMLSchema-instance">
    <HelpLink i:nil="true"></HelpLink>
    <InnerException i:nil="true"></InnerException>
    <Message>String cannot be of zero length. Parameter name: oldValue</Message>
    <StackTrace> at System.String.ReplaceInternal(String oldValue, String newValue) at System.String.Replace(String oldValue, String newValue) at HAP.Data.ComputerBrowser.Converter.UNCtoDrive(Stri ng dirpath, DriveMapping unc, User user) at HAP.Data.MyFiles.Properties..ctor(DirectoryInfo dir, User user, DriveMapping mapping) at HAP.Web.API.MyFiles.info(String Drive, String Path) at SyncInvokeinfo(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.ProcessMessage41(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage4(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage31(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage3(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage2(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage11(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.ImmutableDispatchRu ntime.ProcessMessage1(MessageRpc&amp; rpc) at System.ServiceModel.Dispatcher.MessageRpc.Process( Boolean isOperationContextSet)</StackTrace>
    <Type>System.ArgumentException</Type>
    </ExceptionDetail>
    </Detail>
    </Fault>

SHARE:
+ Post New Thread

Similar Threads

  1. Replies: 3
    Last Post: 6th May 2011, 04:35 PM
  2. Empty files and folders on a shared area
    By ranj in forum Windows
    Replies: 6
    Last Post: 6th January 2009, 12:11 PM
  3. File Replication error on W2k servers
    By randle in forum Windows
    Replies: 0
    Last Post: 21st July 2008, 10:42 AM
  4. run a batch file on logon with a CC3 Network
    By new-2-this in forum How do you do....it?
    Replies: 5
    Last Post: 17th July 2008, 07:57 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
  •