472,988 Members | 2,561 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

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

System.Web.Mail.SmtpMail.Send() causes COMException (0x80029c4a):Error loading type library/DLL.]

Hi All,
After installing SP1 for Windows 2003, I'm running into the 'Error
loading type library/DLL' exception when using CDO through System.Web.Mail:

//try {

// security assertion
SecurityPermission interopPermission = new
SecurityPermission(SecurityPermissionFlag.Unmanage dCode);

MailMessage mail = new MailMessage();

if (ConfigurationSettings.AppSettings["smtpServer"] != null) {
SmtpMail.SmtpServer =
mail.From = ConfigurationSettings.AppSettings["from"];
mail.To = ConfigurationSettings.AppSettings["to"];
mail.Subject = "ASP.NET CDO Test";
mail.BodyFormat = MailFormat.Text;

mail.Body = message.ToString();
} catch (Exception e) {
Exception innerException = e;

do {
if (innerException is FileNotFoundException) {
FileNotFoundException fileException =

Trace.Warn(innerException.GetType().FullName,fileE xception.FileName,innerException);
} else {

Trace.Warn(innerException.GetType().FullName,Strin g.Empty,innerException);

innerException = innerException.InnerException;
} while (innerException != null);

The code runs fine on Windows XP and another Windows 2003 Server which
has had SP1 installed about a month ago.

What I've already tried:
- Mailing from VBScript using CDO directly: works, so CDO must installed
- Running the same code from a console app: works, so System.Web.Mail
must be installed correctly
- The sugestions from http://www.systemwebmail.com/faq/4.2.1.aspx: do
NOT work

Any help would be greatly welcomed, as I've been baning my head on this
for more than a day now.
Thx in adv.

Nov 19 '05 #1
0 1787

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

Similar topics

by: DM | last post by:
Get this error when I try to run any ASP.NET web app from Visual Studio on my Win2K PC. Anyone seen this before ? BC32400: Class 'CLSID_CorSymWriter' could not be created: System Error...
by: Mark Depenbrock | last post by:
--Apple-Mail-2--68472726 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Can not make mysql connection - error log: 030708 08:53:48 mysqld started
by: Simon Jefferies | last post by:
Hello, When I load an XML document using the LoadXml function, I get a "System error" exception raised. What causes this? the XML document is valid. Regards Simon Jefferies Tools...
by: Nadav | last post by:
Hi, I am using the System.Type.GUID to identify similar types on different computers, one computer send the GUID through a socket while the other resolve the GUID and identify the type, when...
by: Franck | last post by:
Hi, Working with a Shared Addin (Autodual Class implementing the IdExtensibility2 interface), I'm just makin test in order to fill a range with values but get ComException Error when trying to set...
by: Willem van Rumpt | last post by:
Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Message-ID: <OOtt3CadGHA.3632@TK2MSFTNGP05.phx.gbl> Newsgroups: microsoft.public.dotnet.languages.csharp...
by: MAILER-DAEMON | last post by:
This is a multi-part message in MIME format. --HKLMNNOPQQRSTUUVWXXYZaabcdeffghiijklmmno Content-Type: text/plain; charset=us-ascii Content-Transfer-Encoding: 7bit This message has been...
by: Angus | last post by:
Why moving a function from protected to public area in class causes error C2556 - overloaded function differs only by return type I have a protected function called GetState like this: enum...
by: Blubaugh, David A. | last post by:
Yes, I new it was a directory issue. I am new to Python. Thank You David Blubaugh -----Original Message-----
by: borisding | last post by:
Hi! there, Recently, my client's website, which is coded in ASP Classic has problem in sending email. The script is using Jmail for the email part. Here is the error message: "jmail.SMTPMail...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
by: NeoPa | last post by:
Hello everyone. I find myself stuck trying to find the VBA way to get Access to create a PDF of the currently-selected (and open) object (Form or Report). I know it can be done by selecting :...
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
by: nia12 | last post by:
Hi there, I am very new to Access so apologies if any of this is obvious/not clear. I am creating a data collection tool for health care employees to complete. It consists of a number of...
by: isladogs | last post by:
The next online meeting of the Access Europe User Group will be on Wednesday 6 Dec 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, Mike...
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

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.