« Previous Next »

Thread: Flie download Dialog is not shown (greater than 2kb) in IIS 7.5

Last post 09-22-2009 5:01 AM by srini_iit. 3 replies.

Average Rating Rate It (5)

RSS

Page 1 of 1 (4 items)

Sort Posts:

  • 09-11-2009, 2:19 AM

    Flie download Dialog is not shown (greater than 2kb) in IIS 7.5

    When I try to download a file which of size greater than 2kb, the file download dialog is not shown in IIS 7.5. the code which I have used right now works fine in IIS 6.0 and IIS 7.0.

    Can any one give a solution or any setting needs to be done in IIS 7.5

     

  • 09-11-2009, 9:56 AM In reply to

    Re: Flie download Dialog is not shown (greater than 2kb) in IIS 7.5

    Hello,

    Have you tested this with multiple file types?

    You may want to check your request limit settings in the system web.config file:

    http://msdn.microsoft.com/en-us/library/ms689462.aspx 

    <security>
     <requestFiltering>
      <requestLimits maxAllowedContentLength=”2000000″ />
     </requestFiltering>
    </security>

    Are any error messages presented either on the page or in the server's Event Viewer?

    How are you starting the download - in .NET or clicking on a link to a file etc?

    Hope this helps!

     

    Brock Hensley
    Technical Support Representative
    http://www.ServerIntellect.com

    Managed Servers, 24x7 U.S. Support, Web Hosting Solutions.
  • 09-14-2009, 2:35 AM In reply to

    Re: Flie download Dialog is not shown (greater than 2kb) in IIS 7.5

    Thanks for reply, the request limit settings is 2000000 only. the problem is simulated in all the file types.

    i am using ASP program to download a file.

    have u tried to simulate this problem?? or u dont face this problem in iis 7.5.

     There was no error found in te event viewer, when the download button is clicked if the file size is greater than 2kb then page cannot be found is shown. if it is less than 2kb then noram file download is shown..

     

  • 09-22-2009, 5:01 AM In reply to

    Re: Flie download Dialog is not shown (greater than 2kb) in IIS 7.5

    hi guys i have found the answer to the query i have asked, the problem was due to Response.addheader "content-length", <filesize> was used in the code thats why the file download dialog was blocked.

Page 1 of 1 (4 items)
Microsoft Communities