Wrox Programmer Forums
|
BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6
This is the forum to discuss the Wrox book ASP.NET 2.0 Instant Results by Imar Spaanjaars, Paul Wilton, Shawn Livermore; ISBN: 9780471749516
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old February 21st, 2008, 01:53 PM
Authorized User
 
Join Date: Feb 2008
Posts: 11
Thanks: 0
Thanked 0 Times in 0 Posts
Default ch.2- cant upload a file no bigger than 52 MB??

hey again,

Sorry for the continuos posts but I am trying to perfect this site. For some reason I cant upload no more than 52 MB. I am trying to set a limit to 100 MB with the configuration below. It uploads the file successful to the filestorage folder but when you click on the link to download you get an error such as "Internet Explorer cannot display the webpage

   Most likely causes:
You are not connected to the Internet.
The website is encountering problems.
There might be a typing error in the address.
"

<httpRuntime
      executionTimeout="2500"
      maxRequestLength="153600"
      useFullyQualifiedRedirectUrl="false"
      minFreeThreads="8"
      minLocalRequestFreeThreads="4"
      appRequestQueueLimit="100" />
    </system.web>

Can this program handle a 100 MB file??

 
Old February 23rd, 2008, 05:46 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

There are no restrictions in the File Upload app by itself, so you may run into IIS settings, or system / network limitations.

Try this:

1. Create a brand new web site

2. Add an upload control and a button

3. Write code to store the uploaded file when the button is clicked and return a link to that file.

4. Try to download the file.

Does that work? In short, that's what the file tool does.

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old April 8th, 2008, 10:00 AM
Registered User
 
Join Date: Jan 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi there

Im also struck on same issue able to upload file successfully to FileStorage folder but when i try to click on the link for downloading IE canot display web page.

Im sure its some changes to IIS settings as mentioned by Imar.

Can anyone plz help if you solved.

Thank you

 
Old April 8th, 2008, 04:18 PM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

I think in that case the same questions apply to you then....

Imar


---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.
 
Old April 30th, 2008, 08:19 AM
Registered User
 
Join Date: Jan 2008
Posts: 7
Thanks: 0
Thanked 0 Times in 0 Posts
Default

yes created new website with upload/download.
It works great in localhost. but when placed in server why doent it work. What is blocking to download file from server????
If any one solved with this issue plz help.

Thank you in advance



 
Old April 30th, 2008, 09:08 AM
Imar's Avatar
Wrox Author
 
Join Date: Jun 2003
Posts: 17,089
Thanks: 80
Thanked 1,576 Times in 1,552 Posts
Default

IIS, the web server, may be restricting things. If you search Google for max upload size:

http://www.google.com/search?hl=en&q...pload+size+IIS

you'll find a couple of articles that explain how to change the relevant settings on various flavors of IIS...

Imar
---------------------------------------
Imar Spaanjaars
http://Imar.Spaanjaars.Com
Everyone is unique, except for me.
Author of Beginning ASP.NET 3.5 : in C# and VB, ASP.NET 2.0 Instant Results and Dreamweaver MX 2004
Want to be my colleague? Then check out this post.





Similar Threads
Thread Thread Starter Forum Replies Last Post
ch. 2 what is the file size limit to upload? cluce BOOK: ASP.NET 2.0 Instant Results ISBN: 978-0-471-74951-6 3 February 19th, 2008 04:48 PM
Upload .txt file of size 15 mb or more rapraj PHP Databases 1 October 24th, 2007 06:34 PM
exact mb we can upload??.. asudhakar C# 1 April 4th, 2007 07:31 AM
Chapter 2 - Page 52, 53 Chudz BOOK: Beginning PHP, Apache, MySQL Web Development ISBN: 978-0-7645-5744-6 8 February 19th, 2006 07:09 PM
Whole Folder upload(Multi file Upload) ramasamy_rams XML 1 September 9th, 2005 12:43 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.