Connecting Tech Pros Worldwide Help | Site Map

Could not access CDO.Message Object.

  #1  
Old November 21st, 2005, 05:11 AM
Kevin Hodgson
Guest
 
Posts: n/a
I am getting a strange error from my application. I only get this error on
a Windows 2000 Terminal Server in Application Server mode. On my Windows XP
Development workstation, this same code works without error.

On the Terminal Server I get:

Could not access 'CDO.Message' object.
System.Reflection.TargetInvocationException: Exception has been thrown by
the target of an invocation. --->
System.Runtime.InteropServices>COMException (0x80040211): The message could
not be sent to the SMTP Server. The transport error code was 0x800ccc15. The
server response was not available.

Exact same code, with the exact same settings for the mail message, and the
SMTP Server. Does anyone know why I might be getting the above error?


  #2  
Old November 21st, 2005, 05:12 AM
Jay B. Harlow [MVP - Outlook]
Guest
 
Posts: n/a

re: Could not access CDO.Message Object.


Kevin,
Have you check the information at:

http://www.systemwebmail.net/

Other then considering asking in one of the Terminal Server specific
newsgroups, as this sounds more like a terminal server configuration
problem, I don't use Terminal Server to offer any help there...

Hope this helps
Jay

"Kevin Hodgson" <kevin@caseware.com> wrote in message
news:OYtnF$ouEHA.2684@TK2MSFTNGP10.phx.gbl...[color=blue]
>I am getting a strange error from my application. I only get this error on
> a Windows 2000 Terminal Server in Application Server mode. On my Windows
> XP
> Development workstation, this same code works without error.
>
> On the Terminal Server I get:
>
> Could not access 'CDO.Message' object.
> System.Reflection.TargetInvocationException: Exception has been thrown by
> the target of an invocation. --->
> System.Runtime.InteropServices>COMException (0x80040211): The message
> could
> not be sent to the SMTP Server. The transport error code was 0x800ccc15.
> The
> server response was not available.
>
> Exact same code, with the exact same settings for the mail message, and
> the
> SMTP Server. Does anyone know why I might be getting the above error?
>
>[/color]


  #3  
Old November 21st, 2005, 05:50 AM
Kevin Hodgson
Guest
 
Posts: n/a

re: Could not access CDO.Message Object.


We did eventually solve this problem.

It turns out a new version of McAfee Anti-Virus was installed on this
Terminal Server, and it blocked port 25 by default, to stop spam zombies.
Disabling the Port 25 blocking got everything moving again.


"Jay B. Harlow [MVP - Outlook]" <Jay_Harlow_MVP@msn.com> wrote in message
news:%23k05A8quEHA.228@TK2MSFTNGP10.phx.gbl...[color=blue]
> Kevin,
> Have you check the information at:
>
> http://www.systemwebmail.net/
>
> Other then considering asking in one of the Terminal Server specific
> newsgroups, as this sounds more like a terminal server configuration
> problem, I don't use Terminal Server to offer any help there...
>
> Hope this helps
> Jay
>
> "Kevin Hodgson" <kevin@caseware.com> wrote in message
> news:OYtnF$ouEHA.2684@TK2MSFTNGP10.phx.gbl...[color=green]
> >I am getting a strange error from my application. I only get this error[/color][/color]
on[color=blue][color=green]
> > a Windows 2000 Terminal Server in Application Server mode. On my[/color][/color]
Windows[color=blue][color=green]
> > XP
> > Development workstation, this same code works without error.
> >
> > On the Terminal Server I get:
> >
> > Could not access 'CDO.Message' object.
> > System.Reflection.TargetInvocationException: Exception has been thrown[/color][/color]
by[color=blue][color=green]
> > the target of an invocation. --->
> > System.Runtime.InteropServices>COMException (0x80040211): The message
> > could
> > not be sent to the SMTP Server. The transport error code was 0x800ccc15.
> > The
> > server response was not available.
> >
> > Exact same code, with the exact same settings for the mail message, and
> > the
> > SMTP Server. Does anyone know why I might be getting the above error?
> >
> >[/color]
>
>[/color]


  #4  
Old November 21st, 2005, 08:18 PM
N Baluni
Guest
 
Posts: n/a

re: Could not access CDO.Message Object.


I cant disable port 25 blocking. In this case can we use differrent port i.e. 26 to b more specific. Because when i done that it is also giving me the same error. one thing i like to say that this application is running fine at localhost but doesn't work in our remote server. which is needed to block the spam.

Posted via DevelopmentNow.com Groups
http://www.developmentnow.com
Closed Thread


Similar Threads
Thread Thread Starter Forum Replies Last Post
Could not access 'CDO.Message' object Thys Brits answers 4 July 3rd, 2006 11:36 AM
Could not access 'CDO.Message' object Thys Brits answers 3 November 22nd, 2005 03:47 AM
MailMessage problem - Could not access 'CDO.Message' object. Anthony Fine answers 3 November 20th, 2005 09:51 AM
SmtpMail.Send - Exception "Could not access 'CDO.Message' object" Jens Øster answers 1 November 18th, 2005 02:39 PM
Could Not Access CDO.Message object in IIS6.0 Desmond answers 2 November 17th, 2005 06:44 PM