none
Problems with FSCTL_QUERY_ALLOCATED_RANGES under 2008 Server over network RRS feed

  • Question

  • Hello,

    we are using Windows 2008 Server Standard (X64) SP2 v286.
    We receive an error by copying a sparsefile from a local to a UNC path.
    The error occourse by using the function FSCTL_QUERY_ALLOCATED_RANGES, instead of ERROR_MORE_DATA we receive a ERROR_BAD_NET_RESP.
    This function works under 2003/XP/2000, but not under Windows 2008 Server Standard noSP/SP1/SP2Beta or SP2RC.
    Is this normal or a bug?

    Thanks in advance

    Best regards

    Timo

    Wednesday, April 8, 2009 11:44 AM

Answers

  • Hi Timo,

    This information was from internal source. This bug is registered in it.

    Hope this helps.

    Thanks
    Asha

    • Marked as answer by techit Thursday, April 16, 2009 8:34 AM
    Wednesday, April 15, 2009 2:01 PM

All replies

  • Hi,

     

    Please refer the following links:

    + http://msdn.microsoft.com/en-us/library/cc246805(PROT.10).aspx

    + download.microsoft.com/download/9/5/E/95EF66AF-9026-4BB0-A41D-A4F81802D92C/%5BMS-FSCC%5D.pdf

     

    Let me know if this helps.

     

    Thanks

    Asha

     

    • Proposed as answer by Asha M Thursday, April 9, 2009 4:24 PM
    Thursday, April 9, 2009 4:24 PM
  • Hi Asha,

    thank you for your answer. I read your recommended links, but couldn`t find somthing, which describes this behavior.
    I know that the function expects an buffer, which must be big enough to contain all FILE_ALLOCATED_RANGE_BUFFER, the file has.
    If my buffer is too small i normaly get an ERROR_MORE_DATA but not on WindowsServer2008 with a filehandle to a "UNC path file".
    So my problem is that i don`t know how many FILE_ALLOCATED_RANGE_BUFFER i will receive. Ok i could try to rise my buffer until i don`t receive an ERROR_BAD_NET_RESP, but that cant be the solution. On the older operating system like Windows2000/Windows2003/Windows2000/WindowsXP it`s working fine with the errorresult ERROR_MORE_DATA.
    Any suggestions???
    Thanks

    Timo

    Tuesday, April 14, 2009 9:42 AM
  • Hi,

     

    I found out the below know bug.

    ·          

    “Windows OS Bugs 1159216 - FSCTL_QUERY_ALLOCATED_RANGES when output buffer cannot contain all data gets ERROR_BAD_NET_RESP”

     

    I am not sure whether this is related to your issue. I am working offline with windows server 2008 engineer regarding this.

    I am also looking for Hotfix if any for this bug.

    So, as soon as I get the correct information I will update you.

     

     

    Let me know if this helps.

     

    Thanks

    Asha

     

    • Proposed as answer by Asha M Tuesday, April 14, 2009 6:44 PM
    Tuesday, April 14, 2009 6:44 PM
  • Hi Asha,

    where did you find that this is a known bug?
    I hope there will be a hotfix published soon.

    Thank you very much!
    Timo

    Wednesday, April 15, 2009 11:15 AM
  • Hi Timo,

    This information was from internal source. This bug is registered in it.

    Hope this helps.

    Thanks
    Asha

    • Marked as answer by techit Thursday, April 16, 2009 8:34 AM
    Wednesday, April 15, 2009 2:01 PM
  • No solution in sight??

    Best regards

    Timo
    Thursday, September 17, 2009 3:35 PM