473,508 Members | 2,218 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

request exceeds the limit

Hi
I was trying to call the webservice of MS Project server (ProjectCreate
interface of PDS) to create a new project. It works fine when the input XML
is small with a few task and allocations. It gives an error " The size of
the request exceeds the limit allowed by the server " when I have a lot of
tasks to be created.

How do I increase this size limit for the webservice.

Regards,
Praveen
Nov 23 '05 #1
8 14022
Hi Praveen,

To change max request size for a web service, we can set maxRequestLength
in file web.config or machine.config for example:

<configuration>
<system.web>
<httpRuntime maxRequestLength="8000"

Its default value is 4096 (4M).

However, since this is a MS Project related problem, I suggest you may also
post this question in MS Project server related group for confirmation.

Luke

Nov 23 '05 #2
Hi
Since MS Project does not use asp.net for PDS webservice, there won't be any
web.config file. I have installed it on windows 2003 server so is there any
thing that I can set in the IIS level.

As you advised I will post this to MS Project news group also but I believe
that the solution might not be pertaining to MS Project.

Thanks,
Praveen


"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:IH**************@TK2MSFTNGXA01.phx.gbl...
Hi Praveen,

To change max request size for a web service, we can set maxRequestLength
in file web.config or machine.config for example:

<configuration>
<system.web>
<httpRuntime maxRequestLength="8000"

Its default value is 4096 (4M).

However, since this is a MS Project related problem, I suggest you may
also
post this question in MS Project server related group for confirmation.

Luke

Nov 23 '05 #3
Hi Praveen,

I have few knowledge on MS Project server. As I know, Project Data Service
(PDS) is built on ASP.NET Web Service and it can have a web.config or we
even can change the value in machine.config so that it can work for all web
application on the server. (Maybe I am wrong, I am not a professional in MS
Project server. But for all ASP.NET web service, it is the only way to
change request size limitation). Anyway, I still suggest you post this
question on a MS Project server group to see if we can get same answer, or
you can try to change it in machine.config and restart the server to see if
it can help. If I am wrong, please feel free to correct me.

Luke
Nov 23 '05 #4
With further research, I found I am wrong at "Project Data Service (PDS) is
built on ASP.NET Web Service and it can have a web.config", but its web
service should built on ASP.NET Web Service and it can have a web.config.

Luke
Nov 23 '05 #5
Hi,
To refer to a webservice made with asp.net we generally refer to .asmx file.
But for PDS I am referring a .wsdl file which I believe is created using the
soap development kit. so possibly the PDS webservice may not have been
written with asp.net.

I increased the maxRequestLength to 40 MB in the machine.config file which
is in the dotnet runtime dir. For sure the soap payload in my test case is
only about 1 MB. Unfortunately this change did not help.

If the PDS webservice is not written in dotnet how can I increase the
acceptable request size.

Regards,
Praveen
"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:$n***************@TK2MSFTNGXA01.phx.gbl...
With further research, I found I am wrong at "Project Data Service (PDS)
is
built on ASP.NET Web Service and it can have a web.config", but its web
service should built on ASP.NET Web Service and it can have a web.config.

Luke

Nov 23 '05 #6
Hi
PDS is using webservice developed with Soap Development Toolkit so id does
not have a web.config file

There is a registry setting
"HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\MSSOAP\30\S OAPISAP"
where we can increase the MaxPostSize to the desired limit.

This helped resolve the issue.

Regards,
Praveen
"Praveen Chandra" <pr*****@newsgroup.nospam> wrote in message
news:eL*************@TK2MSFTNGP10.phx.gbl...
Hi,
To refer to a webservice made with asp.net we generally refer to .asmx
file. But for PDS I am referring a .wsdl file which I believe is created
using the soap development kit. so possibly the PDS webservice may not
have been written with asp.net.

I increased the maxRequestLength to 40 MB in the machine.config file which
is in the dotnet runtime dir. For sure the soap payload in my test case is
only about 1 MB. Unfortunately this change did not help.

If the PDS webservice is not written in dotnet how can I increase the
acceptable request size.

Regards,
Praveen
"[MSFT]" <lu******@online.microsoft.com> wrote in message
news:$n***************@TK2MSFTNGXA01.phx.gbl...
With further research, I found I am wrong at "Project Data Service (PDS)
is
built on ASP.NET Web Service and it can have a web.config", but its web
service should built on ASP.NET Web Service and it can have a web.config.

Luke


Nov 23 '05 #7
Thank you for information.

Luke
Nov 23 '05 #8
There is also an IIS 6 metabase property setting which handles this, as well,
called "AspMaxRequestEntityAllowed".
Nov 23 '05 #9

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

Similar topics

0
2206
by: Oliver Spiesshofer | last post by:
Hi, when uploadig files through a form larger than 600 kb on my server, I am getting a " does not allow request data with POST requests, or the amount of data provided in the request exceeds the...
9
10808
by: Terry E Dow | last post by:
Howdy, I am having trouble with the objectCategory=group member.Count attribute. I get one of three counts, a number between 1-999, no member (does not contain member property), or 0. Using...
4
1440
by: MS News \(MS ILM\) | last post by:
Hello, How do I handle a user uploading a file from the browser that exceeds the limit set by web or machine config files global.asax or handlers or module How can I return to the same...
2
5222
by: Dennis | last post by:
The documentation from M'soft for the limits on SQL Server DataBase is: "SQL Server can have as many as two billion tables per database and 1,024 columns per table. The number of rows and total...
1
4606
by: Praveen Chandra | last post by:
Hi I was calling a third party webservice ( WSDL ) which is accepting some xml as input parameter. it works fine when the xml size is small but starts giving error when the xml size reached about...
27
12997
by: ted benedict | last post by:
hi everybody, i hope this is the right place to discuss this weird behaviour. i am getting dynamically generated text or xml from the server side using xmlhttprequest. if the server side data is...
8
6563
by: Ben | last post by:
Thanks in advance for any help. I am attempting to pass a large number of ID's using window.open in javascript. The number of the ID's exceeds the querystring length. Therefore, I would like to...
1
14871
by: woony | last post by:
I am making a webpage that gets his information from an as400 system. Now I seemed to hit some weird problem. I have for example this select: select field1,field2 from table this is over...
0
1985
by: mokoujan | last post by:
Hello all I am currently developing a WCF REST service. One of the requirements is to allow the users to search data via the rest interface. As such key field information is passed in the URL....
0
7231
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
7132
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
7336
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
7504
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
5640
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,...
0
4720
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3211
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
1568
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated ...
0
432
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

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.