473,387 Members | 1,791 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,387 software developers and data experts.

Uploading Document

Hi Guys,

I am having problem with uploading documents using .net. If the size of doc
is large, 4 mbs or more, it will give me an error Server not available etc.
While small docs are fine.

What can i do to resolve this issue?

Thanks

Manny
Nov 19 '05 #1
5 1049
See :
http://support.microsoft.com/default...b;en-us;295626
This is a default setting in the web.config that you should increase...

If IIS6.0 could be also at the IIS level...
--
Patrice

"Manny Chohan" <Ma*********@discussions.microsoft.com> a écrit dans le
message de news:5F**********************************@microsof t.com...
Hi Guys,

I am having problem with uploading documents using .net. If the size of doc is large, 4 mbs or more, it will give me an error Server not available etc. While small docs are fine.

What can i do to resolve this issue?

Thanks

Manny

Nov 19 '05 #2
Dont the default timeout suppose to be 20 mns. But i get the error in 5-8 secs.

Manny

"Patrice" wrote:
See :
http://support.microsoft.com/default...b;en-us;295626
This is a default setting in the web.config that you should increase...

If IIS6.0 could be also at the IIS level...
--
Patrice

"Manny Chohan" <Ma*********@discussions.microsoft.com> a écrit dans le
message de news:5F**********************************@microsof t.com...
Hi Guys,

I am having problem with uploading documents using .net. If the size of

doc
is large, 4 mbs or more, it will give me an error Server not available

etc.
While small docs are fine.

What can i do to resolve this issue?

Thanks

Manny


Nov 19 '05 #3
This KB article is not about the session timeout. It's about the maximum
length of an HTTP request (4Mb by default whihc is likely what prevents you
to submit larger files).

--
Patrice

"Manny Chohan" <Ma*********@discussions.microsoft.com> a écrit dans le
message de news:D7**********************************@microsof t.com...
Dont the default timeout suppose to be 20 mns. But i get the error in 5-8 secs.
Manny

"Patrice" wrote:
See :
http://support.microsoft.com/default...b;en-us;295626
This is a default setting in the web.config that you should increase...

If IIS6.0 could be also at the IIS level...
--
Patrice

"Manny Chohan" <Ma*********@discussions.microsoft.com> a écrit dans le
message de news:5F**********************************@microsof t.com...
Hi Guys,

I am having problem with uploading documents using .net. If the size
of doc
is large, 4 mbs or more, it will give me an error Server not available

etc.
While small docs are fine.

What can i do to resolve this issue?

Thanks

Manny


Nov 19 '05 #4
The IIS 6 Metabase has the "AspMaxRequestEntityAllowed" key that you can
increase. Look in the "IIS Metabase Properties" for the docs on this.

If this is too small for your filesize you will get a 403 error from IIS.

"Manny Chohan" wrote:
Hi Guys,

I am having problem with uploading documents using .net. If the size of doc
is large, 4 mbs or more, it will give me an error Server not available etc.
While small docs are fine.

What can i do to resolve this issue?

Thanks

Manny

Nov 19 '05 #5
Thanks Patrice.

"Patrice" wrote:
This KB article is not about the session timeout. It's about the maximum
length of an HTTP request (4Mb by default whihc is likely what prevents you
to submit larger files).

--
Patrice

"Manny Chohan" <Ma*********@discussions.microsoft.com> a écrit dans le
message de news:D7**********************************@microsof t.com...
Dont the default timeout suppose to be 20 mns. But i get the error in 5-8

secs.

Manny

"Patrice" wrote:
See :
http://support.microsoft.com/default...b;en-us;295626
This is a default setting in the web.config that you should increase...

If IIS6.0 could be also at the IIS level...
--
Patrice

"Manny Chohan" <Ma*********@discussions.microsoft.com> a écrit dans le
message de news:5F**********************************@microsof t.com...
> Hi Guys,
>
> I am having problem with uploading documents using .net. If the size of doc
> is large, 4 mbs or more, it will give me an error Server not available
etc.
> While small docs are fine.
>
> What can i do to resolve this issue?
>
> Thanks
>
> Manny


Nov 19 '05 #6

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

4
by: dickiedyce | last post by:
Hi there. I've spent the weekend getting ever more frustrated, trying to get an upload file function working on a website. The site is hosted by a company called oneandone. They're using PHP...
2
by: Ron Brennan | last post by:
Good afternoon. The entire task that I'm trying to achieve is to allow a user to browse and upload multiple files simultaneously, hiding the Browse button of <input> tags of type="file" and...
5
by: Ron Brennan | last post by:
Good afternoon. The entire task that I'm trying to achieve is to allow a user to browse and upload multiple files simultaneously, hiding the Browse button of <input> tags of type="file" and...
13
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming...
4
by: Mark Miller | last post by:
I've been trying to execute a javascript function just before submit on a form that contains an <input type="file"> input field and it isn't working. The reason I want to do this is the end users...
1
by: neoret | last post by:
Hi there. I need to perform an upload of a document using HTTP post. This has to be done from my windows form using C#. My challenge is: 1: To send - the word document 2: To attach several...
5
by: Chris | last post by:
I have a meetings section I'm developing on our intranet. Using PHP/MySQL. Meeting info and Meeting docs reside on 2 related tables in the db. Users may want to upload anywhere from 1 to 10 or...
4
by: | last post by:
Can someone offer or point me to some sample code or advice on how to upload a document from a web page and store it into a SQL Server image field? And then reverse the process and serve up the file...
4
by: Rob Meade | last post by:
Dear all, We have purchased a product called SA-FileUp which we have used in our organisation for a number of years, I'm quite an an avid supporter of it, recently I've been trying to ensure...
3
by: zo62 | last post by:
I am building an XML document thru code then saving it on my local machine as well as posting it the an FTP site. When opening the XML document in my local machine. the Document is well indented and...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.