Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsFree MagazinesWhite PapersSubmit Content
Discussion GroupsASP.NETWindows FormsLanguages.NET FrameworkVisual Studio.NET
Articles.NET FrameworkASP.NETToolsWindows Forms
.NET DirectoryOpen Source ProjectsUser GroupsWeb Resources
Related Topics
Visual Basic 6SQL ServerMS AccessOther DB ProductsMS Server ProductsMore Topics ...

.NET Forum / ASP.NET / Web Services / April 2005

Tip: Looking for answers? Try searching our database.

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

Thread view: 
Enable EMail Alerts  Start New Thread
Thread rating: 
Champika Nirosh - 27 Mar 2005 10:31 GMT
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);
  }
 }
Søren M. Olesen - 19 Apr 2005 14:24 GMT
Hi

You neet to set the size in machine.config too:

<httpRuntime executionTimeout="500" maxRequestLength="1000000" useFullyQualifiedRedirectUrl="false" minFreeThreads="8" minLocalRequestFreeThreads="4" appRequestQueueLimit="100" enableVersionHeader="true" />

Regards,

Søren

> Hi All,
>
[quoted text clipped - 58 lines]
>   }
>  }

Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.