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 14056
Hi Praveen,
To change max request size for a web service, we can set maxRequestLengt h
in file web.config or machine.config for example:
<configuratio n>
<system.web>
<httpRuntime maxRequestLengt h="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******@onlin e.microsoft.com > wrote in message
news:IH******** ******@TK2MSFTN GXA01.phx.gbl.. . Hi Praveen,
To change max request size for a web service, we can set maxRequestLengt h in file web.config or machine.config for example:
<configuratio n> <system.web> <httpRuntime maxRequestLengt h="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 maxRequestLengt h 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******@onlin e.microsoft.com > wrote in message
news:$n******** *******@TK2MSFT NGXA01.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_MAC HINE\SOFTWARE\M icrosoft\MSSOAP \30\SOAPISAP"
where we can increase the MaxPostSize to the desired limit.
This helped resolve the issue.
Regards,
Praveen
"Praveen Chandra" <pr*****@newsgr oup.nospam> wrote in message
news:eL******** *****@TK2MSFTNG P10.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 maxRequestLengt h 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******@onlin e.microsoft.com > wrote in message news:$n******** *******@TK2MSFT NGXA01.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 "AspMaxRequestE ntityAllowed". 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 capacity limit."...
but the post_max_size and the upload_max_filesize are set higher than
that...
I have this problem in phpMyAdmin and Squirrelmail and other scripts... I
|
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 LDIFDE as a comparison I get the same
results. No members means just that, an empty group. Zero means that the
DirectorySearcher.SizeLimit has been exceeded....
|
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 upload page with some error to the user
Thanks
|
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 size of the table are limited
only by the available storage. The maximum number of bytes per row is 8,060.
If you create tables with varchar, nvarchar, or varbinary columns in which
the total defined width exceeds 8,060 bytes, the table is created,...
|
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 400KB.
Error Description : The size of the request exceeds the limit allowed by the
server.
I changed the maxRequestLength in machine.config file to accept 40MB but
this did not help
| |
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 STATIC, i
can have whatever size of data i want.
but if the data (xml or text) is generated dynamically using php, then
there seems to be a size limit! xmlhttprequest's responseText is
truncated, and the xml therefore not well fromed. in border...
|
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 somehow use the POST
method to submit. (or another method without rewriting the ASP page!)
Please review the code below before submitting since this can be easily
done but I am not sure how using <body onload... >.
%>
<body...
|
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 25.000 results. and works perfectly
now the second I add a where clause
|
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. The number of key fields
can vary and as such a request string format is used to collate all
the required fields into one URL parameter.
This means I am hitting the limit of 260 characters for each url
parameter
|
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it.
First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
|
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed.
This is as boiled down as I can make it.
Here is my compilation command:
g++-12 -std=c++20 -Wnarrowing bit_field.cpp
Here is the code in...
| |
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
|
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own....
Now, this would greatly impact the work of software developers. The idea...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules.
He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms.
Adolph will...
|
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 then checking html paragraph one by one.
At the time of converting from word file to html my equations which are in the word document file was convert into image.
Globals.ThisAddIn.Application.ActiveDocument.Select();...
|
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 last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols.
I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
|
by: adsilva |
last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
| |
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 we have to send another system
| |