468,736 Members | 2,113 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 468,736 developers. It's quick & easy.

problem with SMTP mails.

Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to apprpriate
news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not
valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean publicOnly)
at System.Activator.CreateInstance(Type type, Boolean nonPublic) at
System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB
Dec 19 '05 #1
5 1896
What version of Windows is this on and are you using the .NET classes?

If possible, please provide some code.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not
valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB

Dec 19 '05 #2
This is put up on windows server 2003 and sample code is as below.
// Create a new mail message and set the values

MailMessage eMail = new MailMessage();

eMail.BodyFormat = mailBodyFormat;

eMail.From = FromAddress;

eMail.To = ToAddress;

eMail.Bcc = emailBCC;

eMail.Subject = MailSubject;

eMail.Body = MailBody;

string userName= emailUserName;

string password = emailPassword;

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1"); //basic authentication

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
userName); //setting username

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
password); //setting password

string smtpSERVER = smtpServer;

// Set the server address and send the mail

SmtpMail.SmtpServer = smtpSERVER;

SmtpMail.Send(eMail);
Let me know if you find anyhting wrong here.

Thanks,
PB

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either not
valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB

Dec 20 '05 #3
Do you have SMTP set up on your web server? What SMTP server are you
attempting to send this through? Do you have relaying rights set up on your
specified SMTP server?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
This is put up on windows server 2003 and sample code is as below.
// Create a new mail message and set the values

MailMessage eMail = new MailMessage();

eMail.BodyFormat = mailBodyFormat;

eMail.From = FromAddress;

eMail.To = ToAddress;

eMail.Bcc = emailBCC;

eMail.Subject = MailSubject;

eMail.Body = MailBody;

string userName= emailUserName;

string password = emailPassword;

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1"); //basic authentication

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
userName); //setting username

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
password); //setting password

string smtpSERVER = smtpServer;

// Set the server address and send the mail

SmtpMail.SmtpServer = smtpSERVER;

SmtpMail.Send(eMail);
Let me know if you find anyhting wrong here.

Thanks,
PB

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either
not valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB


Dec 21 '05 #4
Hi Reed,
thanks for your assistance.
I am using localhost as SMTP server, and I am able to relay mails, able to
send mails using the same piece of code.
But my problem is my queued component sends mail for me, at times it fails,
giving below mentioned error.
I have 3 app servers (clustered), one of the app server is failing
inconsistently.
I am not able to figure out why and how?

thanks,
PB
"Christopher Reed" <ca****@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Do you have SMTP set up on your web server? What SMTP server are you
attempting to send this through? Do you have relaying rights set up on
your specified SMTP server?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
This is put up on windows server 2003 and sample code is as below.
// Create a new mail message and set the values

MailMessage eMail = new MailMessage();

eMail.BodyFormat = mailBodyFormat;

eMail.From = FromAddress;

eMail.To = ToAddress;

eMail.Bcc = emailBCC;

eMail.Subject = MailSubject;

eMail.Body = MailBody;

string userName= emailUserName;

string password = emailPassword;

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1"); //basic authentication

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
userName); //setting username

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
password); //setting password

string smtpSERVER = smtpServer;

// Set the server address and send the mail

SmtpMail.SmtpServer = smtpSERVER;

SmtpMail.Send(eMail);
Let me know if you find anyhting wrong here.

Thanks,
PB

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any idea
where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either
not valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage message)

Thanks,
PB



Dec 22 '05 #5
I'm guessing that part of the problem is that you have to authenicate. Are
you required to authenticate, or can you use anonymous access? Also, you
might want to make sure the user name and password are not null.
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:e7*************@TK2MSFTNGP12.phx.gbl...
Hi Reed,
thanks for your assistance.
I am using localhost as SMTP server, and I am able to relay mails, able to
send mails using the same piece of code.
But my problem is my queued component sends mail for me, at times it
fails, giving below mentioned error.
I have 3 app servers (clustered), one of the app server is failing
inconsistently.
I am not able to figure out why and how?

thanks,
PB
"Christopher Reed" <ca****@nospam.nospam> wrote in message
news:%2***************@TK2MSFTNGP11.phx.gbl...
Do you have SMTP set up on your web server? What SMTP server are you
attempting to send this through? Do you have relaying rights set up on
your specified SMTP server?
--
Christopher A. Reed
"The oxen are slow, but the earth is patient."

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:u1**************@TK2MSFTNGP09.phx.gbl...
This is put up on windows server 2003 and sample code is as below.
// Create a new mail message and set the values

MailMessage eMail = new MailMessage();

eMail.BodyFormat = mailBodyFormat;

eMail.From = FromAddress;

eMail.To = ToAddress;

eMail.Bcc = emailBCC;

eMail.Subject = MailSubject;

eMail.Body = MailBody;

string userName= emailUserName;

string password = emailPassword;

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/smtpauthenticate",
"1"); //basic authentication

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendusername",
userName); //setting username

eMail.Fields.Add("http://schemas.microsoft.com/cdo/configuration/sendpassword",
password); //setting password

string smtpSERVER = smtpServer;

// Set the server address and send the mail

SmtpMail.SmtpServer = smtpSERVER;

SmtpMail.Send(eMail);
Let me know if you find anyhting wrong here.

Thanks,
PB

"Prashant Barnwal" <ba*******@hotmail.com> wrote in message
news:Os**************@TK2MSFTNGP09.phx.gbl...
Hi,
This message i get whne i try to send mails theu my app server. any
idea where and what to look for? It works fine in Dev bed. Guide me to
apprpriate news group if its not the right place.

COM object with CLSID {CD000001-8B95-11D1-82DB-00C04FB1625D} is either
not valid or not registered. COM object with CLSID
{CD000001-8B95-11D1-82DB-00C04FB1625D} is either not valid or not
registered. at System.RuntimeType.CreateInstanceImpl(Boolean
publicOnly) at System.Activator.CreateInstance(Type type, Boolean
nonPublic) at System.Web.Mail.CdoSysHelper.Send(MailMessage
message)

Thanks,
PB



Dec 22 '05 #6

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Fernando M. | last post: by
2 posts views Thread by Latha Rajeev | last post: by
1 post views Thread by Robert Dufour | last post: by
5 posts views Thread by Josh | last post: by
1 post views Thread by CARIGAR | last post: by
reply views Thread by zhoujie | last post: by
xarzu
2 posts views Thread by xarzu | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.