WSE352: The size of the record uuid:d999e283-b0a8-4134-ad24-1b1c0e7dd7b4 exceed its limit.

Tech-Archive recommends: Fix windows errors by optimizing your registry

From: Champika Nirosh (test_at_test.lk)
Date: 03/27/05


Date: Sun, 27 Mar 2005 15:31:58 +0600

Hi All,

I use WSE 2.0 / DIME to send a zip file of size 9.2 MB. I send file of size
less than this success fully but with this the client basically get the
exception "dime format exception".
 Message : WSE352: The size of the record
uuid:d999e283-b0a8-4134-ad24-1b1c0e7dd7b4 exceed its limit.
I have win XP Sp 2 at the web service base, The code is follows..

Web service Web Config has

  <microsoft.web.services2>
 <messaging><maxRequestLength>20000</maxRequestLength></messaging>
    <diagnostics />
  </microsoft.web.services2>

client web config has

<httpRuntime maxRequestLength="20000" useFullyQualifiedRedirectUrl="true"
executionTimeout="100" />

what am I doing wrong here..?

Nirosh.

  [WebMethod]
  public bool PreviewMasterBookBackMatterHtml(string tstrUserId, string
tstrContentId)
  {
   if ((tstrUserId != string.Empty)
    && (tstrContentId != string.Empty))
   {
    string lstrFilePath =
this.lobjManagerPreviewContent.tcRequestPreviewMasterBookBackMatterHtml(tstr
UserId
     , tstrContentId);
    if (lstrFilePath != null)
    {
     SoapContext respContext = ResponseSoapContext.Current;

     DimeAttachment dimeAttach = new DimeAttachment(
      ".zip"
      , TypeFormat.Unknown
      , lstrFilePath);
     respContext.Attachments.Add(dimeAttach);
     return true;
    }
    else
    {
     throw new
System.Web.Services.Protocols.SoapException(Convert.ToString((int)this.lobjM
anagerPreviewContent.LastServiceError)
      , System.Web.Services.Protocols.SoapException.ServerFaultCode);
    }
   }
   else
   {
    throw new
System.Web.Services.Protocols.SoapException(Convert.ToString((int)TCErrors.E
RROR_SERVICE_INSUFFICIENT_PARAMETER)
     , System.Web.Services.Protocols.SoapException.ClientFaultCode);
   }
  }