473,409 Members | 2,022 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,409 software developers and data experts.

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 5541
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.public.dotnet.framework.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.comwrote in message
news:81**********************************@microsof t.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
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...
0
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...
1
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...
0
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...
5
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...
0
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...
4
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. ...
3
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...
5
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...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
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...
0
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,...
0
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...
0
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,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

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.