DIME attachments more than 4MB in .NET 2.0

Last post 07-23-2007 6:14 AM by amitatbangalore. 2 replies.

Sort Posts:

  • DIME attachments more than 4MB in .NET 2.0

    07-20-2007, 7:02 AM

    Hi all,

    We migrated our project from ASP.Net 1.x to ASP.Net 2.0. We used DIME with WSE2.0 for uploading and downloading file attachments to the web service.

    I use DIME in 2.0 framework with the help of WSE2.0 SP3. But the problem is I am unable to upload / download files more than 4MB.

     

    Is there a way to support files more than 4MB using DIME, WSE2.0 SP3, in .Net 2.0 framework or need to migrate to MTOM technology????

     

    Please help..

    thanks in advance.

  • Re: DIME attachments more than 4MB in .NET 2.0

    07-20-2007, 12:04 PM
    • Participant
      1,288 point Participant
    • DevSlick
    • Member since 05-18-2005, 8:11 PM
    • Olympia, WA
    • Posts 253

    By default, DIME/ WSE 2.0 doesn't allow adding/sending attachments larger than 4096 KB of size. If you intend to send larger files, which are over the 4 MB limit (including the SOAP message), you need to add some tags to the web.config file of the service as well as, remember, of the receiver (client) end. You need to add values to override the values of the maxRequestLengths.

     http://www.codeproject.com/soap/DimeTest.asp?df=100&forumid=121647&exp=0&select=1631445

     By the way, moving to MTOM is fairly easy, and I would suggest it as DIME is no longer supported in WSE 3.0.

     

    All I know is that I don't know nothin!
    ApplicationDeveloper
  • Re: DIME attachments more than 4MB in .NET 2.0

    07-23-2007, 6:14 AM

    Thanks a lot. Can u tell me how to upload and download mutliple files encoded with MTOM.

     

Page 1 of 1 (3 items)