Upload larger files

  • Thread starter Mohan SRC via .NET 247
  • Start date
M

Mohan SRC via .NET 247

Hi,
Can any one help me to solve this prblm.
When ever i upload files using default FILEBROWSER ctrl, small files
are uploaded w/o prbm. But larger files are not uploaded, instead the
"PAGE CANNOT BE FOUND" error is shown.
I used streams also, but experiencing same prbm.
plz. send a detailed reply.
 
T

Tim_Mac

hi Mohan,
you're probably getting IIS timeouts. your asp.net application also
has a maxRequestLength which limits the size of files that can be
uploaded. this setting is in the machine.config on the server, but you
can override it for your web application in your web.config. it's
syntax is as follows:
<?xml version="1.0" encoding="utf-8" ?>
<configuration>
<system.web>
<httpRuntime executionTimeout="300" maxRequestLength="256000" /> <!--
256mb max size -->

i don't know about the filebrowser control, i couldn't find it in the
..net docs so it must be a 3rd party control. maybe there is some
configuration necessary for it.

hope this helps
tim
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,744
Messages
2,569,482
Members
44,901
Latest member
Noble71S45

Latest Threads

Top