By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
455,669 Members | 1,540 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 455,669 IT Pros & Developers. It's quick & easy.

WebConfig Doubt!!

P: n/a
Hi All, I am calln WS via my aspx application. I am passing arguments an
entire content of a file, sometimes the filesize i.e. the content size
exceeds 4MB. In that case do I have to go and alter the maxRequestLength
attribute of both the ASPX App and WS or just the ASPX App. For now I have
incorporated the change on WebConfig for ASPX app only.
Please advice

TIA
Nov 16 '05 #1
Share this Question
Share on Google+
2 Replies


P: n/a
Vai2000,

You will have to modify it for whatever application you are sending that
size request to. If the request is coming into your ASPX app, then you have
to set it there. If you are passing that request to the web service, then
you have to set it on the web service as well.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Vai2000" <no****@microsoft.com> wrote in message
news:uI**************@TK2MSFTNGP10.phx.gbl...
Hi All, I am calln WS via my aspx application. I am passing arguments an
entire content of a file, sometimes the filesize i.e. the content size
exceeds 4MB. In that case do I have to go and alter the maxRequestLength
attribute of both the ASPX App and WS or just the ASPX App. For now I have
incorporated the change on WebConfig for ASPX app only.
Please advice

TIA

Nov 16 '05 #2

P: n/a
Great, thanks for that insight

"Nicholas Paldino [.NET/C# MVP]" <mv*@spam.guard.caspershouse.com> wrote in
message news:eR**************@tk2msftngp13.phx.gbl...
Vai2000,

You will have to modify it for whatever application you are sending that size request to. If the request is coming into your ASPX app, then you have to set it there. If you are passing that request to the web service, then
you have to set it on the web service as well.

Hope this helps.
--
- Nicholas Paldino [.NET/C# MVP]
- mv*@spam.guard.caspershouse.com

"Vai2000" <no****@microsoft.com> wrote in message
news:uI**************@TK2MSFTNGP10.phx.gbl...
Hi All, I am calln WS via my aspx application. I am passing arguments an
entire content of a file, sometimes the filesize i.e. the content size
exceeds 4MB. In that case do I have to go and alter the maxRequestLength
attribute of both the ASPX App and WS or just the ASPX App. For now I have incorporated the change on WebConfig for ASPX app only.
Please advice

TIA


Nov 16 '05 #3

This discussion thread is closed

Replies have been disabled for this discussion.