473,748 Members | 2,461 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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!
Jul 19 '05 #1
3 2415
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:uM******** ******@tk2msftn gp13.phx.gbl...
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" <as************ ****@hotmail.co m> wrote in message
news:eq******** *********@TK2MS FTNGP12.phx.gbl ...
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.


Jul 19 '05 #2
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:eb******** *****@TK2MSFTNG P10.phx.gbl...
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" <as************ ****@hotmail.co m> wrote in message
news:u6******** ********@tk2msf tngp13.phx.gbl. ..
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:uM******** ******@tk2msftn gp13.phx.gbl...
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" <as************ ****@hotmail.co m> wrote in message
news:eq******** *********@TK2MS FTNGP12.phx.gbl ...
> 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.



Jul 19 '05 #3
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" <as************ ****@hotmail.co m> wrote in message
news:e1******** ******@tk2msftn gp13.phx.gbl...
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:eb******** *****@TK2MSFTNG P10.phx.gbl...
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" <as************ ****@hotmail.co m> wrote in message
news:u6******** ********@tk2msf tngp13.phx.gbl. ..
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:uM******** ******@tk2msftn gp13.phx.gbl...
> 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" <as************ ****@hotmail.co m> wrote in message > news:eq******** *********@TK2MS FTNGP12.phx.gbl ...
> > 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.
>
>



Jul 19 '05 #4

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
2398
by: chuck amadi | last post by:
By the way list is there a better way than using the readlines() to > > >parse the mail data into a file , because Im using > > >email.message_from_file it returns > > >all the data i.e reads one entire line from the file , headers as well > > >as just the desired body messages . > > > > > >fp = file("/home/chuck/pythonScript/testbox") > > >mb = mailbox.UnixMailbox(fp, > > >email.message_from_file)
2
3995
by: Zach Gastineau | last post by:
I'm having problems using the DB2 Connect ODBC Driver in my SQL Server 2000 DTS packages. It started occuring after installing MDAC 2.7 (which is necessary for the .NET framework). This error occurs when I try to open the transformation that uses an ODBC Connection object that is pointing to the DB2 ODBC. Has anybody else seen this or has a solution other than re-installing everything and not loading the .net framework mdac 2.7. I...
29
580
by: DraguVaso | last post by:
Hi, I'm having this error in a VB.NET-application at the moment that I attempt to read data from an SQL Server: The .Net Data SQL Provider (System.Data.SqlClient) requires Microsoft Data Access Components(MDAC) version 2.6 or later. at System.Data.SqlClient.ConnectionPool.GetConnection(Boolean& isInTransaction) at
1
1876
by: Steph | last post by:
Hi Everyone! Hope someone has some ideas...here's my problem: 1) Have an Access 2000 database front end to a SQL Server 2000 database. 2) It used to work fine on all company PCs. The PCs had Windows 2000. 3) We upgraded some PCs to Windows XP - and now cannot open the database from those machines.
13
4318
by: Sky Sigal | last post by:
I have created an IHttpHandler that waits for uploads as attachments for a webmail interface, and saves it to a directory that is defined in config.xml. My question is the following: assuming that this is suppossed to end up as a component for others to use, and therefore I do NOT have access to their global.cs::Session_End() how do I cleanup files that were uploaded -- but obviously left stranded when the users aborted/gave up writting...
170
5736
by: I_AM_DON_AND_YOU? | last post by:
Whether we can upload the projects (in .zip format) in these newsgroups? I am asking this because earlier there are more than 50 posts (in one thread) about this query and they are contradicting with each other (You can find that post by name date10/22/2003 Time 7:22PM) I want to get the answer from Microsoft. Therefore, please answer this query only if you are from Microsoft. Thanks in advance!
22
4004
by: petermichaux | last post by:
Hi, I'm curious about server load and download time if I use one big javascript file or break it into several smaller ones. Which is better? (Please think of this as the first time the scripts are downloaded so that browser caching is out of the equation.) Thanks, Peter
5
4280
by: Eric Cadwell | last post by:
Is there a faster way to write the last 100K of a large file? This code takes almost two minutes to run on my machine. int buffer = 100000; int length = 2000000000; string file = @"C:\test.txt"; if (File.Exists(file)) File.Delete(file);
2
2007
by: Salad | last post by:
In A2003 one can create a linked table using File/GetExternalData/Link/Exchange(). It's a nice feature but by and large fairly useless if I am reading the table structure correctly. The From & SenderName columns may contain data like joeblow@test.com or it may simply be Joe Blow. The HasAttachments column may be true or false but accessing the attachments isn't available if the value is true. Is there any way this linked table could...
0
8995
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8832
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
9558
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
9378
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
9331
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9253
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
8250
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6077
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
3316
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.