function readOnly(count){ }
Starting November 20, the site will be set to read-only. On December 4, 2023,
forum discussions will move to the Trailblazer Community.
+ Start a Discussion
DotNetDevilDotNetDevil 

Size of Request Error

Hi,

Please let me know if anyone is familier with this exception "{"size of request is too large" } System.Exception". I encountered it while using update call and tried to update 4 Records simultanously to a custom object using c# and Partners wsdl 3.0. The error samle is below...



Please help!!

thanks in advance.

Gagan

 

 

- ex {"size of request is too large" } System.Exception
+ [System.Web.Services.Protocols.SoapException] {System.Web.Services.Protocols.SoapException} System.Web.Services.Protocols.SoapException
 System.Object {System.Web.Services.Protocols.SoapException} System.Object
 _className null string
 _COMPlusExceptionCode -532459699 int
+ _exceptionMethod {System.Reflection.RuntimeMethodInfo} System.Reflection.MethodBase
 _exceptionMethodString null string
 _helpURL null string
 _HResult -2146233087 int
 _innerException { } System.Exception
 _message "size of request is too large" string
 _remoteStackIndex 0 int
 _remoteStackTraceString null string
 _source "System.Web.Services" string
+ _stackTrace {System.Array} System.Object
 _stackTraceString "   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)\r\n   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)\r\n   at SalesForceClassLibrary.com.salesforce.na1.SforceService.update(sObject[] sObjects) in C:\\Clients\\Sforce\\SalesForceClassLibrary\\Web References\\com.salesforce.na1\\Reference.cs:line 145\r\n   at SalesForceClassLibrary.Connection.UpdateBatchRecordsToSFDC(DataTable RecordTableWithID, String entity, String SID, String URL, String& errmsg, ArrayList& RecordId) in c:\\clients\\sforce\\salesforceclasslibrary\\connection.cs:line 712" string
 _xcode -532459699 int
 _xptrs 0 int
 HelpLink null string
 HResult -2146233087 int
 InnerException { } System.Exception
 Message "size of request is too large" string
 Source "System.Web.Services" string
 StackTrace "   at System.Web.Services.Protocols.SoapHttpClientProtocol.ReadResponse(SoapClientMessage message, WebResponse response, Stream responseStream, Boolean asyncCall)\r\n   at System.Web.Services.Protocols.SoapHttpClientProtocol.Invoke(String methodName, Object[] parameters)\r\n   at SalesForceClassLibrary.com.salesforce.na1.SforceService.update(sObject[] sObjects) in C:\\Clients\\Sforce\\SalesForceClassLibrary\\Web References\\com.salesforce.na1\\Reference.cs:line 145\r\n   at SalesForceClassLibrary.Connection.UpdateBatchRecordsToSFDC(DataTable RecordTableWithID, String entity, String SID, String URL, String& errmsg, ArrayList& RecordId) in c:\\clients\\sforce\\salesforceclasslibrary\\connection.cs:line 712" string
+ TargetSite {System.Reflection.RuntimeMethodInfo} System.Reflection.MethodBase

DevAngelDevAngel

Hi DotNetDevil,

Please post the soap request and response.  That way we can actually look at what is being sent and recieved for a clearer picture of what the problem might be.