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 8 14015
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
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
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
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
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
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
Thank you for information.
Luke
There is also an IIS 6 metabase property setting which handles this, as well,
called "AspMaxRequestEntityAllowed". This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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...
|
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....
|
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
|
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...
|
by: nemocccc |
last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
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,...
|
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...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
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...
|
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,...
| |