473,659 Members | 2,872 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Unknown error in CreateMHTMLBody

I have a .Net web app (VB) that is creating CDO messages. We save a bunch of
content from various sources as a web page on our web server. We then build a
CDO message and use CreateMHTMLBody to send the web page. This takes care of
embedding images, etc so we don't have to worry about spam filters (it's an
internal app so I'm not spamming anyone except our own employees).

Recently we had a problem where embedded graphics over about 100kb would
cause the CreateMHTMLBody command to throw an error with CDO.Message.1
"Unknown error". The rest of the app works fine. If I reduce the graphics to
under 100kb total then it works.

So in trying to debug this I started getting the same error but for ALL my
test emails. I even built one that is a simple HTML page with a P tag with
"test" in it and that won't work.

I copied the URL from the VS2003 debugger and pasted it into IE and it
displays the page fine.

Any ideas? Hints? Suggestions? I'm running XP/SP2 with the .Net 2.0
Framework installed (this is a 1.1 app) and pretty much all the latest
security patches for XP and Office.
Nov 10 '06 #1
2 5560
Richard Schaefer wrote:
I have a .Net web app (VB)
There was no way for you to know it (except maybe by browsing through some
of the previous questions in this newsgroup before posting yours - always a
recommended practice) , but this is a classic asp newsgroup. ASP.Net bears
very little resemblance to classic ASP so, while you may be lucky enough to
find a dotnet-knowledgeable person here who can answer your question, you
can eliminate the luck factor by posting your question to a group where
those dotnet-knowledgeable people hang out. I suggest
microsoft.publi c.dotnet.framew ork.aspnet.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Nov 10 '06 #2

"Richard Schaefer" <Ri************ **@htsco.comwro te in message
news:81******** *************** ***********@mic rosoft.com...
I have a .Net web app (VB) that is creating CDO messages. We save a bunch
of
content from various sources as a web page on our web server. We then
build a
CDO message and use CreateMHTMLBody to send the web page. This takes care
of
embedding images, etc so we don't have to worry about spam filters (it's
an
internal app so I'm not spamming anyone except our own employees).

Recently we had a problem where embedded graphics over about 100kb would
cause the CreateMHTMLBody command to throw an error with CDO.Message.1
"Unknown error". The rest of the app works fine. If I reduce the graphics
to
under 100kb total then it works.

So in trying to debug this I started getting the same error but for ALL my
test emails. I even built one that is a simple HTML page with a P tag with
"test" in it and that won't work.

I copied the URL from the VS2003 debugger and pasted it into IE and it
displays the page fine.

Any ideas? Hints? Suggestions? I'm running XP/SP2 with the .Net 2.0
Framework installed (this is a 1.1 app) and pretty much all the latest
security patches for XP and Office.
Send them a link to the web page ;)
Nov 10 '06 #3

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

Similar topics

6
2715
by: quilkin | last post by:
I am getting a System.Data.SqlClient.SqlException with a message string of 'Unknown Error'. Happens occasionally when creating a "new SqlCommand(...)" while the same command works perfectly happily hundreds of other times. A side effect is that the connection closes. ..NET version is 1.1, same thing happens on various machines, but seems to happen more often on slower ones. Any ideas?
0
2184
by: Davis Ming | last post by:
Hi All, I used Microsoft Liner (7.00.9210) with makefile to compile an existing project. It works well until I add "/PDBSTRIPPED" option in order to get public symbol files. The error message is "LINK : fatal error LNK1000: unknown error". I notices someone has same experience as me , http://groups-beta.google.com/group/microsoft.public.dotnet.languages.vc/msg/b9d79b6feea70645 . Is this a known problem or I miss something?
1
1787
by: Dmitry Davletbaev | last post by:
Hi! I have an ASP page with script in it. This script makes connection to Access database (JET 4.0) and retrieves data. Some time later this page became unavailable with following error: HTTP 500.100 - Internal Server Error - ASP error Internet Information Services .... Technical Information (for support personnel): Error Type:
0
1553
by: multisync | last post by:
I'm getting the following error: Unknown error (0x80005000) It gives this error on the line "results = searcher.FindAll()" -----code------ Dim rootentry As New System.DirectoryServices.DirectoryEntry"LDAP://mydomain.com/", "user1", "pss1", AuthenticationTypes.Secure) Dim searcher As New System.DirectoryServices.DirectorySearcher(rootentry)
5
1946
by: Peter Afonin | last post by:
Hello, I'm developing an Atlas application in ASP.NET 2.0. Everything was OK, but suddenly I started to get some strange errors on one of the pages: When I click any button or invoke any server-side script, I'm getting a popup window: "Unknown error". So I'm stuck. There is no error number, so I cannot investigate it further. There are no errors on the server side - when I debug, everything is OK, the
0
1442
by: Richard Schaefer | last post by:
I have a .Net web app (VB) that is creating CDO messages. We save a bunch of content from various sources as a web page on our web server. We then build a CDO message and use CreateMHTMLBody to send the web page. This takes care of embedding images, etc so we don't have to worry about spam filters (it's an internal app so I'm not spamming anyone except our own employees). Recently we had a problem where embedded graphics over about 100kb...
4
4117
by: Jeremy | last post by:
I am getting an error Sys.WebForms.PageRequestManagerServerErrorException: An unknown error occured while processing the request on the server. The status code returned from the server was:500. It appears that this error occurs after I browse to the specific page and leave it for a while, then click on a linkbutton within an update panel. Has anyone experienced this behavior?
3
6437
by: Rob Wilkerson | last post by:
Hey all - I'm bumping into an issue with my installation of the MDB2 package that I'm hoping someone else has seen. I'm trying to execute a query, but get an "unknown error" exception that I can't seem to track down (exact message is "MDB2 Error: unknown error"). I have an ObjectDAO class (which I'm creating via a factory) that extends an abstract DataAccessObject class. The database connection is created in the parent class'...
5
2838
by: HKN | last post by:
Hi , i have created one AJAX enable sites ASP.NET for my client. it is working fine on my local machine . basically , i have got three servers ( DEV,TST,PRD) i have copied all the source code to the DEV and TST . Now most wonder thing happening is i have got one form which i enter the data into the dataGrid and i click on the "Apply" button to updated those enterd data into the databasse . Above functionality is working fine on...
0
8427
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
8332
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
8627
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
7356
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
5649
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();...
0
4175
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
0
4335
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
2750
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
2
1975
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.