Getting HttpException while transfering Dataset

T

T Cordon

I am transfering a large dataset, about 120,000 records to a web service to
update a DB but I get this error:

System.Web.HttpException: Maximum request length exceeded.

How can this be fixed? Is it something I have to config on the remote
server?

Thanks
 
A

Albert Pascual

On your Web.config add this

<httpRuntime maxRequestLength="10192" />

This is for 10 MB, you can make it as big as you want, please let me know if that fixes your problem.

Al
 
T

T Cordon

Thanks, This works.

Does this affect or compromise in any war my server's security or
performance?

Thanks Again.
 

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,236
Members
46,821
Latest member
AleidaSchi

Latest Threads

Top