File Attachments MDAC Not Working Past 100K

Collapse
This topic is closed.
X
X
 
  • Time
  • Show
Clear All
new posts
  • AspDotNetDeveloper

    File Attachments MDAC Not Working Past 100K

    I'm trying to troubleshoot why my ASP application can no longer send file
    attachments larger than 100K, and I have eliminated many possibilities
    already, but I'm running out of ideas.

    I think I have it narrowed down to an Outlook Express update that is
    installed on the Win 2K Server, but when I try to remove the update, then
    the application returns an Unknown Error during the objNewMail.Send function
    call.

    The symptoms are empty file attachments, if the file that is trying to be
    attached is larger than 100K. It still sends the email, and appears to send
    the attachment too, but when the email is opened, the attachment is either
    zero, or a few bytes. File attachments under 100K send fine.

    Interestnig thing that leads me to beleive it is an Outlook Express update
    causing the problem, is that when I uninstalled the update, even though the
    application then returns an Unknown Error at some point during the
    objNewMail.Send , the application sends the email, with a much larger portion
    of the file attachment, although when trying to open the attachment, it
    still is corrupt.

    Anyone know of any fixes for this problem??? Or, has anyone else experienced
    the same thing? The application used to work just fine, and no modifications
    have been done to it, so I've ruled out a coding problem.

    Thanks!


  • AspDotNetDeveloper

    #2
    Re: File Attachments MDAC Not Working Past 100K

    Yeah, I've checked and re-checked this, and I've even cranked it up and
    tried that. It's really bizarre. Everything appears to be configured
    correctly for sending email file attachments. This problem is happening on
    both my test and production servers, and both servers have the Outlook
    Express update from the Windows Update installed on them.

    I know in other versions of Windows you can go into Add / Remove Windows
    Components, and uninstall Outlook Express, but Win 2K Server does not seem
    to offer that option. I just re-installed Internet Explorer 6 w/ SP1, so
    I'm going to see if that helps at all, as it should of re-installed Outlook
    Express.

    Any more ideas would be appreciated, and I'll let you know if I get it
    working... this is the 3rd day I'm spending on this, so I'm getting a little
    frustrated.

    Thanks!

    "Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
    news:uMesAASUDH A.3700@tk2msftn gp13.phx.gbl...[color=blue]
    > Check your SMTP settings to see if you have a lower-than-default file size
    > restriction. I believe the default is 2048K, but yours may be lower.
    >
    > Ray at work
    >
    > "AspDotNetDevel oper" <aspdotnetdevel oper@hotmail.co m> wrote in message
    > news:eqD%23%238 RUDHA.556@TK2MS FTNGP12.phx.gbl ...[color=green]
    > > I'm trying to troubleshoot why my ASP application can no longer send[/color][/color]
    file[color=blue][color=green]
    > > attachments larger than 100K, and I have eliminated many possibilities
    > > already, but I'm running out of ideas.[/color]
    >
    >[/color]


    Comment

    • AspDotNetDeveloper

      #3
      Re: File Attachments MDAC Not Working Past 100K

      I do use a smart host smtp server, but the problem exists when I use the
      existing smtp server, and no smart host. The mail goes into the Queue
      folder, then gets sent from there. I have had the mail folders open, and
      watched the files get placed, as they are getting sent.

      The email attachment is truncated before it gets to the Queue folder
      (observed the file size).

      Actually, in order to use the CDONTS object, you need Outlook Express
      installed (see microsoft kb article
      http://support.microsoft.com/default...b;en-us;327219 ), so I am
      betting it has something to do with the OE updates that have been installed
      over the last few months.

      Nothing in the event logs... checked there already

      I'll try sending an attachment from Outlook Express, using my SMTP server on
      the same machine as the web server, and see what happens... good idea.

      Thanks!

      "Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
      news:ebgVQeSUDH A.560@TK2MSFTNG P10.phx.gbl...[color=blue]
      > If this is happening on both servers, does that mean they are sharing a
      > common smtp server instead of using their own smtp service?
      >
      > Are the mail items sitting in the queue directory on the server?
      >
      > In the pickup directory?
      >
      > Anything in the event log?
      >
      > Can you setup your IIS server as your own SMTP server in your mail client
      > and try sending out attachments to test?
      >
      > I doubt this has anything to do with Outlook Express. The SMTP service
      > doesn't care anything about OE.
      >
      > Ray at work
      >
      > "AspDotNetDevel oper" <aspdotnetdevel oper@hotmail.co m> wrote in message
      > news:u6g%23sHSU DHA.3796@tk2msf tngp13.phx.gbl. ..[color=green]
      > > Yeah, I've checked and re-checked this, and I've even cranked it up and
      > > tried that. It's really bizarre. Everything appears to be configured
      > > correctly for sending email file attachments. This problem is happening[/color][/color]
      on[color=blue][color=green]
      > > both my test and production servers, and both servers have the Outlook
      > > Express update from the Windows Update installed on them.
      > >
      > > I know in other versions of Windows you can go into Add / Remove Windows
      > > Components, and uninstall Outlook Express, but Win 2K Server does not[/color][/color]
      seem[color=blue][color=green]
      > > to offer that option. I just re-installed Internet Explorer 6 w/ SP1,[/color][/color]
      so[color=blue][color=green]
      > > I'm going to see if that helps at all, as it should of re-installed[/color]
      > Outlook[color=green]
      > > Express.
      > >
      > > Any more ideas would be appreciated, and I'll let you know if I get it
      > > working... this is the 3rd day I'm spending on this, so I'm getting a[/color]
      > little[color=green]
      > > frustrated.
      > >
      > > Thanks!
      > >
      > > "Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
      > > news:uMesAASUDH A.3700@tk2msftn gp13.phx.gbl...[color=darkred]
      > > > Check your SMTP settings to see if you have a lower-than-default file[/color][/color]
      > size[color=green][color=darkred]
      > > > restriction. I believe the default is 2048K, but yours may be lower.
      > > >
      > > > Ray at work
      > > >
      > > > "AspDotNetDevel oper" <aspdotnetdevel oper@hotmail.co m> wrote in message
      > > > news:eqD%23%238 RUDHA.556@TK2MS FTNGP12.phx.gbl ...
      > > > > I'm trying to troubleshoot why my ASP application can no longer send[/color]
      > > file[color=darkred]
      > > > > attachments larger than 100K, and I have eliminated many[/color][/color][/color]
      possibilities[color=blue][color=green][color=darkred]
      > > > > already, but I'm running out of ideas.
      > > >
      > > >[/color]
      > >
      > >[/color]
      >
      >[/color]


      Comment

      • AspDotNetDeveloper

        #4
        Re: File Attachments MDAC Not Working Past 100K

        I tried using the local smtp server to send an email w/ attachment using
        Outlook Express, and it seemed to send the email, and file attachment
        correctly. I beleive the problem is originating in the cdonts.dll, and that
        could have been updated in the OE Update.


        "AspDotNetDevel oper" <aspdotnetdevel oper@hotmail.co m> wrote in message
        news:e1vQ2TUUDH A.3132@tk2msftn gp13.phx.gbl...[color=blue]
        > I do use a smart host smtp server, but the problem exists when I use the
        > existing smtp server, and no smart host. The mail goes into the Queue
        > folder, then gets sent from there. I have had the mail folders open, and
        > watched the files get placed, as they are getting sent.
        >
        > The email attachment is truncated before it gets to the Queue folder
        > (observed the file size).
        >
        > Actually, in order to use the CDONTS object, you need Outlook Express
        > installed (see microsoft kb article
        > http://support.microsoft.com/default...b;en-us;327219 ), so I am
        > betting it has something to do with the OE updates that have been[/color]
        installed[color=blue]
        > over the last few months.
        >
        > Nothing in the event logs... checked there already
        >
        > I'll try sending an attachment from Outlook Express, using my SMTP server[/color]
        on[color=blue]
        > the same machine as the web server, and see what happens... good idea.
        >
        > Thanks!
        >
        > "Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in message
        > news:ebgVQeSUDH A.560@TK2MSFTNG P10.phx.gbl...[color=green]
        > > If this is happening on both servers, does that mean they are sharing a
        > > common smtp server instead of using their own smtp service?
        > >
        > > Are the mail items sitting in the queue directory on the server?
        > >
        > > In the pickup directory?
        > >
        > > Anything in the event log?
        > >
        > > Can you setup your IIS server as your own SMTP server in your mail[/color][/color]
        client[color=blue][color=green]
        > > and try sending out attachments to test?
        > >
        > > I doubt this has anything to do with Outlook Express. The SMTP service
        > > doesn't care anything about OE.
        > >
        > > Ray at work
        > >
        > > "AspDotNetDevel oper" <aspdotnetdevel oper@hotmail.co m> wrote in message
        > > news:u6g%23sHSU DHA.3796@tk2msf tngp13.phx.gbl. ..[color=darkred]
        > > > Yeah, I've checked and re-checked this, and I've even cranked it up[/color][/color][/color]
        and[color=blue][color=green][color=darkred]
        > > > tried that. It's really bizarre. Everything appears to be configured
        > > > correctly for sending email file attachments. This problem is[/color][/color][/color]
        happening[color=blue]
        > on[color=green][color=darkred]
        > > > both my test and production servers, and both servers have the Outlook
        > > > Express update from the Windows Update installed on them.
        > > >
        > > > I know in other versions of Windows you can go into Add / Remove[/color][/color][/color]
        Windows[color=blue][color=green][color=darkred]
        > > > Components, and uninstall Outlook Express, but Win 2K Server does not[/color][/color]
        > seem[color=green][color=darkred]
        > > > to offer that option. I just re-installed Internet Explorer 6 w/ SP1,[/color][/color]
        > so[color=green][color=darkred]
        > > > I'm going to see if that helps at all, as it should of re-installed[/color]
        > > Outlook[color=darkred]
        > > > Express.
        > > >
        > > > Any more ideas would be appreciated, and I'll let you know if I get it
        > > > working... this is the 3rd day I'm spending on this, so I'm getting a[/color]
        > > little[color=darkred]
        > > > frustrated.
        > > >
        > > > Thanks!
        > > >
        > > > "Ray at <%=sLocation% >" <myfirstname at lane34 dot com> wrote in[/color][/color][/color]
        message[color=blue][color=green][color=darkred]
        > > > news:uMesAASUDH A.3700@tk2msftn gp13.phx.gbl...
        > > > > Check your SMTP settings to see if you have a lower-than-default[/color][/color][/color]
        file[color=blue][color=green]
        > > size[color=darkred]
        > > > > restriction. I believe the default is 2048K, but yours may be[/color][/color][/color]
        lower.[color=blue][color=green][color=darkred]
        > > > >
        > > > > Ray at work
        > > > >
        > > > > "AspDotNetDevel oper" <aspdotnetdevel oper@hotmail.co m> wrote in[/color][/color][/color]
        message[color=blue][color=green][color=darkred]
        > > > > news:eqD%23%238 RUDHA.556@TK2MS FTNGP12.phx.gbl ...
        > > > > > I'm trying to troubleshoot why my ASP application can no longer[/color][/color][/color]
        send[color=blue][color=green][color=darkred]
        > > > file
        > > > > > attachments larger than 100K, and I have eliminated many[/color][/color]
        > possibilities[color=green][color=darkred]
        > > > > > already, but I'm running out of ideas.
        > > > >
        > > > >
        > > >
        > > >[/color]
        > >
        > >[/color]
        >
        >[/color]


        Comment

        Working...