File downloads problem. (via webservices)

B

bluewind44

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
 
T

Trevor Benedict R

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
 

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

No members online now.

Forum statistics

Threads
473,995
Messages
2,570,230
Members
46,819
Latest member
masterdaster

Latest Threads

Top