VB.Net windows SMTP CDO Error question?

G

Guest

Hi
I have a VB.Net windows application that’s running on 30 PCs.
All in the same network.
All PCs run XP Pro.
All PCs have Framework 1.1
2 of the PC throw an error when they try to send mail via the application.
“Could not Access CDO messenger objectâ€

Code Example
\\
Imports System.Web
Imports System.Web.Mail
Private sub SerndTheMail()

Dim strMessage As String
strMessage = Me.txtMessage.Text
Dim msg As New MailMessage
msg.To = "(e-mail address removed)"
msg.From = "(e-mail address removed)"
msg.Subject = "subject"
msg.BodyFormat = MailFormat.Text
msg.Body = strMessage & Chr(10) & Chr(10) & strBody
SmtpMail.SmtpServer = "smtp.OurServerName.com"
SmtpMail.Send(msg)
msg = Nothing

End sub
//
I have tried uninstall / reinstalling both framework and the application.
why do 2 out of 30 not work?

Please help!
BrianDH
 
C

Cor Ligthert [MVP]

Brian,

Did you check if all runing services are the same on those 2 computers. That
is often a reason for diverence.

Cor
 
H

Herfried K. Wagner [MVP]

BrianDH said:
I have a VB.Net windows application that’s running on 30 PCs.
All in the same network.
All PCs run XP Pro.
All PCs have Framework 1.1
2 of the PC throw an error when they try to send mail via the application.
“Could not Access CDO messenger objectâ€

=> <URL:http://www.systemwebmail.net/>
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top