Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > ASP General > File Attachments MDAC Not Working Past 100K

Reply
Thread Tools

File Attachments MDAC Not Working Past 100K

 
 
AspDotNetDeveloper
Guest
Posts: n/a
 
      07-23-2003
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!


 
Reply With Quote
 
 
 
 
AspDotNetDeveloper
Guest
Posts: n/a
 
      07-23-2003
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:...
> 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
>
> "AspDotNetDeveloper" <> wrote in message
> news:eqD%23%...
> > 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.

>
>



 
Reply With Quote
 
 
 
 
AspDotNetDeveloper
Guest
Posts: n/a
 
      07-23-2003
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:...
> 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
>
> "AspDotNetDeveloper" <> wrote in message
> news:u6g%...
> > 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:...
> > > 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
> > >
> > > "AspDotNetDeveloper" <> wrote in message
> > > news:eqD%23%...
> > > > 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.
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
AspDotNetDeveloper
Guest
Posts: n/a
 
      07-23-2003
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.


"AspDotNetDeveloper" <> wrote in message
news:...
> 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:...
> > 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
> >
> > "AspDotNetDeveloper" <> wrote in message
> > news:u6g%...
> > > 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:...
> > > > 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
> > > >
> > > > "AspDotNetDeveloper" <> wrote in

message
> > > > news:eqD%23%...
> > > > > 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.
> > > >
> > > >
> > >
> > >

> >
> >

>
>



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Java Developer--Colonial Heights, VA, contract to hire 100k kin Java 0 02-25-2011 05:56 PM
100k X 100k data processing summary a C Programming 22 11-27-2007 08:58 PM
100K+ Per Year - Simply by locating Used Cisco mexiace Cisco 2 02-06-2005 07:15 PM
timeout sending emails with attachments over 100k Andy Computer Support 2 02-06-2004 06:21 AM
SMTP attachments are empty for files > 100K (CDO for W2K) MS Guru ASP General 0 09-04-2003 11:23 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57