Wrox Programmer Forums
|
VS.NET 2002/2003 Discussions about the Visual Studio.NET programming environment, the 2002 (1.0) and 2003 (1.1). ** Please don't post code questions here ** For issues specific to a particular language in .NET, please see the other forum categories.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the VS.NET 2002/2003 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 April 1st, 2005, 01:13 AM
Registered User
 
Join Date: Apr 2005
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default How can I upload the big file

When I upload a file which size is less than 1M,it could be upload success,but when I upload a bigger file,it failed,display information is :"the page cannot be displayed"(¸ÃÒ³ÎÞ·¨ÏÔʾ),I used HtmlControls.HtmlInputFile or WebClient to upload the file if the file's size is small.
how can I solve the problem if I want to upload the bigger file.
Can you help me ? thank you.

 
Old April 1st, 2005, 09:48 AM
Friend of Wrox
 
Join Date: Oct 2003
Posts: 326
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via ICQ to Santhi Send a message via MSN to Santhi
Default

Change the maxRequestLength in web.config to get file size more than 1M.
<httpRuntime maxRequestLength="128"/>







Similar Threads
Thread Thread Starter Forum Replies Last Post
Filter File Types in ASP.NET File Upload ramuis78 ASP.NET 2.0 Basics 2 May 31st, 2007 10:50 AM
Whole Folder upload(Multi file Upload) ramasamy_rams XML 1 September 9th, 2005 12:43 PM
Upload big file suzila ASP.NET 1.0 and 1.1 Basics 3 March 2nd, 2004 11:41 PM
Using ASP to create a big file hema Classic ASP Databases 2 July 8th, 2003 02:17 AM





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