« Previous Next »

Thread: PDF Download Problems with IIS7

Last post 12-01-2009 11:28 AM by Rovastar. 85 replies.

Average Rating Rate It (5)

RSS

Page 3 of 6 (86 items) < Previous 1 2 3 4 5 Next > ... Last »

Sort Posts:

  • 10-27-2009, 2:13 PM In reply to

    Re: PDF Download Problems with IIS7

    t.a.King:

    Not sure what IIS Core team is doing, if anything.  Even if Adobe provides a patch, I'm not too sure about using 2008 r2 as public web server if it requires the client to have the latest and greatest plugin.  Microsoft may have the letter of the law on their side regards the RFC, but sometimes being right just isn't enough.

     

    I understand that but it is a non-microsoft client extension that you are serving and it is read by a non-microsoft client that is not following RFC standards.

    Do you think any patch that MS release should be windows update one for an important functional/security especially as it would break RFCs? I imagine with adobe they could have a hotfix coming out for this.

    Mods this post been marked as answered when clearly it is still an issue can we change this. ;)

    lionel schiepers:

    Hello everybody,

    Too tired to try it today but this article seems interesting to publish PDF file via a selfmade httphandler.

    The sample code contains a RangeRequestHandlerBase class  that can do byte serving meaning the background download of acrobat reader should still work. The solution of just streaming pdf files is not the best way for large file because you can't scroll in the document until the data are loaded from the server.

     

    http://dotnetslackers.com/articles/aspnet/Range-Specific-Requests-in-ASP-NET.aspx


    Lionel Schiepers

    Bureau van Dijk Electronic Publishing


    Nice sounding workaround :) Thanks ofr the info.

  • 10-27-2009, 3:29 PM In reply to

    Re: PDF Download Problems with IIS7

    t.a.King:
    So in the case of IIS7.5, it is just like we are responding to a single range request “153572 - 750792 “  in which the HTTP RFC says that you should NOT send a media type in the response header!
     
    The IIS 7 and IIS7.5 behavior are both HTTP RFC compliant 

    Here is the problem I have with the Microsoft response;

    The client did not make a single range request. I think it is a bit disingenuous to say "we responded correctly to a single range request" when the client did not make a single range request. The client actually made a multi-range request and the server "optimized" it into a single range request. That's like me asking your for blue paint, and you give me red paint and argue that it is perfect red paint. I don't care how perfect the red is, I asked for blue.

  • 10-30-2009, 5:26 PM In reply to

    • gyrator
    • Not Ranked
    • Joined on 10-30-2009, 9:12 PM
    • Posts 1

    Re: PDF Download Problems with IIS7

    anthonymking:
    That's like me asking your for blue paint, and you give me red paint and argue that it is perfect red paint. I don't care how perfect the red is, I asked for blue.
     

    It is nothing like that. It is more like the client asking for five 1-gallon buckets of blue paint and the server giving you one 5-gallon bucket of blue paint. And if you read the response from MS tech support...

    A response to a request for multiple ranges, whose result is a single range, MAY be sent as a multipart/byteranges media type with one part.

    I read the emphasis on MAY as implying that it is optional and the alternative would be to treat it as a single byte range and handle it accordingly...

    A response to a request for a single range MUST NOT be sent using the multipart/byteranges media type.

    And it appears this is what they've done in IIS 7.5.

  • 10-30-2009, 7:39 PM In reply to

    • t.a.King
    • Not Ranked
    • Joined on 10-14-2009, 9:31 PM
    • Posts 4

    Re: PDF Download Problems with IIS7

    More news from MS Tech Support.  This is regards Adobe's side of the problem:

    "Great news from Adobe!
    "They have worked on the issue and they recognized it is a bug in the reader! They have logged the bug and they will work on releasing a fix in the next Adobe reader release. They have no ETA as to when the next release will be."

    So this doesn't address being able to run 2008 r2 as a web server at all.  Someday Adobe will issue a release, and someday the majority of the population will have it installed.

    With regard to Microsoft's side of the issue:

    "I am still pushing however for a server solution even with this news, I don’t have an ETA as to when our product team will decide if they are going to take a fix for that or not, but I’ll keep you posted."

    It doesn't matter if it's red paint or one 5-gallon bucket of paint; if Microsoft doesn't do any change, anybody serving PDFs from a web site or web app will need to write code to handle the PDF requests or else not upgrade their web server to Windows Server 2008 r2.  In the short term, Adobe's fix probably isn't going to be enough of a solution.  Personally, I'd prefer the OS code to remain "pristine" and RFC-compliant, but in the real world, I've got a web site that needs to serve PDFs to a public that's not always so good about updating their plugins. 

    Okay...to be honest....I've already written the code to handle the PDFs and am about to move it to production.  I'll leave it to others to debate who is being RFC compliant and who is not and does it matter.....

  • 10-31-2009, 2:06 PM In reply to

    Re: PDF Download Problems with IIS7

    Would you be so kind to share your code with us please? I know Lionel is working on this too as we work at the same company ;-)

  • 11-05-2009, 12:07 PM In reply to

    • wshackne
    • Not Ranked
    • Joined on 01-08-2003, 9:02 AM
    • Wilmington, NC, USA
    • Posts 5

    Re: PDF Download Problems with IIS7

    We would love to get the httpHandler if someone else has already developed it. It looks like we might have to implement this ourselves as it stands and it seems silly for a whole bunch of people to develop on on their own.  Thanks!

    www.spencehackney.com
  • 11-05-2009, 5:44 PM In reply to

    Is it possible to disable byte range request in IIS?

    Hi,

    It's 100 days that the bits of W2K8R2 are gold and RTM and it's still not possible to publish PDF documents for adobe reader. As usual, it's not possible to use a Microsoft OS until the first service pack isn't it? I don't even understand why the workstation and the server were delivered at the same time, the server was usualy published few months later than the workstation and this permitted to fix the latest issues found in the workstation for the server release.

    As a workaroond, does someone know if it's at least possible to disable the possibility to request byte-ranges to IIS 7.5 ? This would solve the problem that adobe reader blocks reading blocks of data.

     Lionel Schiepers.

  • 11-05-2009, 5:57 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Is it possible to disable byte range request in IIS?

    No, it is not possible to disable byte-range processing for files served by the static file handler.  It has been less than 30 days since we became aware of this problem, the speed of a fix is dependent on the the number and impact on the people hitting it, the only way to increase the priority on the hotfix is to call product support so we have a better idea on how many people are hitting this.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 11-05-2009, 7:49 PM In reply to

    Re: Is it possible to disable byte range request in IIS?

    That may be true Anil but surely if this is 100% reproducable (is it?) then you can help equate the seriousness of any problems. It is a problem if you only react to the product support calls and the volumes of calls as the primary measure of seriousness.

    I am not using Windows 2008 r2/iis 7.5 at the moment but currently I would not recommend it as a consultant capacity because of this issue that is a showstopper to many. Like others have said pdf is a fairly common web file type. I am not going to raise a product call for this yet I want a solution.

     

  • 11-06-2009, 10:37 AM In reply to

    • wshackne
    • Not Ranked
    • Joined on 01-08-2003, 9:02 AM
    • Wilmington, NC, USA
    • Posts 5

    Re: Is it possible to disable byte range request in IIS?

    Am I right in understanding that we are supposed to pay a couple hundred dollars to open a support ticket with Microsoft so that they are convinced that this is a serious issue?   That is kind of a hard sell. 

    www.spencehackney.com
  • 11-06-2009, 11:22 AM In reply to

    Re: Is it possible to disable byte range request in IIS?

    We could maybe start spreading the word and make people around the world aware that they should not upgrade. Loosing sales might convince microsoft too...

  • 11-06-2009, 12:23 PM In reply to

    • anilr
    • Top 10 Contributor
    • Joined on 05-23-2006, 10:13 PM
    • Redmond, WA
    • Posts 2,343

    Re: Is it possible to disable byte range request in IIS?

    You do not have to open a support case to get the fix - the fix is already being worked on.  If the fix is urgent for you and has a significant business impact on you, opening a support case is likely to get you the fix sooner.  Also, note that support costs are refunded for any cases that result in a bug fix.

    Anil Ruia
    Senior Software Design Engineer
    IIS Core Server
  • 11-06-2009, 12:56 PM In reply to

    Re: Is it possible to disable byte range request in IIS?

    You were saying in a previous post that adobe admited that it was a bug on their side in adobe reader. If it's true, that means the fix won't be a bug fix because the current implementation respect the RFC standard. That proves that you will never be refunded for this case because the fix will not correct a bug in the implementation.

     

    I think that this fix is very urgent and would be available ASAP but it should be pushed on Windows update as an optional update too.

     

    I hope that Microsoft will update its check list before releasing a new operation system and test if their web server works with the most common document format in use. Apparently, it's only possible to publish docx documents but who uses this format for internet????

     

    We decided to rollback our installation down to W2K3 and I don't think that we will let any more chance to W2K8R2 until the first service pack is released. Probably 2H2010?

     

    Anil, despit this problem, I appreciate your rapid feedback. Thanks.

    Lionel Schiepers.


  • 11-06-2009, 1:02 PM In reply to

    Re: Is it possible to disable byte range request in IIS?

    In reply to Peter,

    I have already posted a message on 25 different forums yesterday ;-) Sometimes on threads releated to this problem.


  • 11-10-2009, 3:57 PM In reply to

    • merk
    • Top 75 Contributor
    • Joined on 09-17-2002, 4:29 PM
    • Pasadena, CA
    • Posts 105

    Re: Is it possible to disable byte range request in IIS?

    please add me to the list of people complaining about this. requiring all users to download an update from adobe to fix this is beyond ridiculous. This was working on previous versions of windows server so it makes no sense at all that MS would change it to the point of breaking functionality.

    Has anyone already come across a fix for this that works?

    http://dotnetslackers.com/articles/aspnet/Range-Specific-Requests-in-ASP-NET.aspx

    I'm looking at that article - i have one question - how could i implement this server wide instead of individually adding the dll to each website and updating each sites web.config?

    thanks
Page 3 of 6 (86 items) < Previous 1 2 3 4 5 Next > ... Last »
Microsoft Communities