473,399 Members | 4,177 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,399 software developers and data experts.

File downloads problem. (via webservices)

Hello,
Now I'm making the Upload/Download module via webservices.

When file size is less than 4Mb, there's no problem.

But if I tried files that exceed 4Mb, there comes the error message.

After googling, I found that changing 'web.config' can solve the
problem, and I add below on 'web.config' of server.

<httpRuntime maxRequestLength="40960"/>
<microsoft.web.services2>
<diagnostics />
<messaging>
<maxRequestLength>40960</maxRequestLength>
</messaging>
</microsoft.web.services2>

And I add <httpRuntime maxRequestLength="40960"/>
on web.config of client.

It solved my upload problems, but download problems still alives.

I guess I shoul set the soap message's maxRequestLength of the clients
but I don't know how to do it.

Please help me out. T.T

Nov 19 '05 #1
3 1086
Do you see anything in the LogFile (IIS). If so what is the Error Code?
What is the Max sise of the file that you are trying to download.?
Version of IIS & .NET?

Regards,

Trevor Benedict R
MCSD

"bluewind44" <bl********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hello,
Now I'm making the Upload/Download module via webservices.

When file size is less than 4Mb, there's no problem.

But if I tried files that exceed 4Mb, there comes the error message.

After googling, I found that changing 'web.config' can solve the
problem, and I add below on 'web.config' of server.

<httpRuntime maxRequestLength="40960"/>
<microsoft.web.services2>
<diagnostics />
<messaging>
<maxRequestLength>40960</maxRequestLength>
</messaging>
</microsoft.web.services2>

And I add <httpRuntime maxRequestLength="40960"/>
on web.config of client.

It solved my upload problems, but download problems still alives.

I guess I shoul set the soap message's maxRequestLength of the clients
but I don't know how to do it.

Please help me out. T.T

Nov 19 '05 #2
http://support.microsoft.com/default...b;EN-US;823409

Regards,

Trevor Benedict R

"Trevor Benedict R" <tr********@yahoo.com> wrote in message
news:Ox**************@TK2MSFTNGP10.phx.gbl...
Do you see anything in the LogFile (IIS). If so what is the Error Code?
What is the Max sise of the file that you are trying to download.?
Version of IIS & .NET?

Regards,

Trevor Benedict R
MCSD

"bluewind44" <bl********@gmail.com> wrote in message
news:11**********************@f14g2000cwb.googlegr oups.com...
Hello,
Now I'm making the Upload/Download module via webservices.

When file size is less than 4Mb, there's no problem.

But if I tried files that exceed 4Mb, there comes the error message.

After googling, I found that changing 'web.config' can solve the
problem, and I add below on 'web.config' of server.

<httpRuntime maxRequestLength="40960"/>
<microsoft.web.services2>
<diagnostics />
<messaging>
<maxRequestLength>40960</maxRequestLength>
</messaging>
</microsoft.web.services2>

And I add <httpRuntime maxRequestLength="40960"/>
on web.config of client.

It solved my upload problems, but download problems still alives.

I guess I shoul set the soap message's maxRequestLength of the clients
but I don't know how to do it.

Please help me out. T.T


Nov 19 '05 #3
Thanks really.
I'll try this.

Nov 19 '05 #4

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

Similar topics

5
by: Brandon Walters | last post by:
I wrote a file download module for my website. The reason for the file download module is that my website downloads work on a credit based system. So I need to keep track of and limit daily...
24
by: Joseph Geretz | last post by:
Up to this point, our application has been using Windows File Sharing to transfer files to and from our application document repository. This approach does not lend itself toward a secure...
4
by: pepcag | last post by:
I used http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconalteringsoapmessageusingsoapextensions.asp as a template to create a very simple web method with soap...
16
by: Dany | last post by:
Our web service was working fine until we installed .net Framework 1.1 service pack 1. Uninstalling SP1 is not an option because our largest customer says service packs marked as "critical" by...
4
by: jf li | last post by:
I have a Asp.net web application and a Asp.net Web service application. The Web application is using HtmlInputFile to get a 50M size of file selected by end user, read the data of this file and...
5
by: Simone M | last post by:
Here is my problem: I need to append a string to a file every time the user downloads this file. The string is different for every user. I would like to append the string to the file via ftp. But...
21
nathj
by: nathj | last post by:
Hi, I am currently working on a new site that offers various files for download. The file information is stored in a MySQL database and the page is produced in PHP depending on how the user got...
7
by: =?Utf-8?B?QU9UWCBTYW4gQW50b25pbw==?= | last post by:
Hi, I have been using the code (some of it has been removed for simplicity) below to allow authenticated (using ASP.NET membership database) users to get a file from their archive area. It...
1
KevinADC
by: KevinADC | last post by:
Note: You may skip to the end of the article if all you want is the perl code. Introduction Many websites have a form or a link you can use to download a file. You click a form button or click...
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: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
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
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
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...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.