By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
443,356 Members | 1,023 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 443,356 IT Pros & Developers. It's quick & easy.

Sending Email Error

P: n/a
Dear all

I am using asp.net in a Small Business Server to send email out !
The programe work fine in XP but show the following error in Small Business
Server.
I don't know why....

Sunny

Server Error in '/email' Application.
--------------------------------------------------------------------------------

The message could not be sent to the SMTP server. The transport error code
was 0x800ccc15. The server response was not available
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The message
could not be sent to the SMTP server. The transport error code was
0x800ccc15. The server response was not available

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:
[COMException (0x80040211): The message could not be sent to the SMTP
server. The transport error code was 0x800ccc15. The server response was not
available
]

[TargetInvocationException: Exception has been thrown by the target of an
invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr,
Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture,
String[] namedParameters) +0
System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters) +473
System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String
methodName, Object[] args) +58

[HttpException (0x80004005): Could not access 'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String
methodName, Object[] args) +113
System.Web.Mail.CdoSysHelper.Send(MailMessage message) +1848
System.Web.Mail.SmtpMail.Send(MailMessage message) +153
FMOemail.email.sendMail(String mailTo, String mailFrom, String subject,
String content, String priority) in C:\Inetpub\wwwroot\FMOemail\email.vb:26
FMOemail.WebForm1.btnSubmit_Click(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\FMOemail\emailPage.aspx.vb:38
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300
Aug 28 '06 #1
Share this Question
Share on Google+
2 Replies


P: n/a
sunny,

1) Do you have any firewall restrictions set on your smtp server?
2) Check if outbound access is restricted (using port 25) in that specific
workstation.

Regards,
Augustin
http://augustinprasanna.cognizant.com
"sunnyko" wrote:
Dear all

I am using asp.net in a Small Business Server to send email out !
The programe work fine in XP but show the following error in Small Business
Server.
I don't know why....

Sunny

Server Error in '/email' Application.
--------------------------------------------------------------------------------

The message could not be sent to the SMTP server. The transport error code
was 0x800ccc15. The server response was not available
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The message
could not be sent to the SMTP server. The transport error code was
0x800ccc15. The server response was not available

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:
[COMException (0x80040211): The message could not be sent to the SMTP
server. The transport error code was 0x800ccc15. The server response was not
available
]

[TargetInvocationException: Exception has been thrown by the target of an
invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr,
Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture,
String[] namedParameters) +0
System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters) +473
System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String
methodName, Object[] args) +58

[HttpException (0x80004005): Could not access 'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String
methodName, Object[] args) +113
System.Web.Mail.CdoSysHelper.Send(MailMessage message) +1848
System.Web.Mail.SmtpMail.Send(MailMessage message) +153
FMOemail.email.sendMail(String mailTo, String mailFrom, String subject,
String content, String priority) in C:\Inetpub\wwwroot\FMOemail\email.vb:26
FMOemail.WebForm1.btnSubmit_Click(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\FMOemail\emailPage.aspx.vb:38
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300
Aug 28 '06 #2

P: n/a
Are you running antivirus software or a firewall
which could be blocking access to the smtp port ?

See http://www.systemwebmail.com/faq/4.2.9.aspx

Juan T. Llibre, asp.net MVP
aspnetfaq.com : http://www.aspnetfaq.com/
asp.net faq : http://asp.net.do/faq/
foros de asp.net, en espaņol : http://asp.net.do/foros/
===================================
"sunnyko" <su*****@discussions.microsoft.comwrote in message
news:40**********************************@microsof t.com...
Dear all

I am using asp.net in a Small Business Server to send email out !
The programe work fine in XP but show the following error in Small Business
Server.
I don't know why....

Sunny

Server Error in '/email' Application.
--------------------------------------------------------------------------------

The message could not be sent to the SMTP server. The transport error code
was 0x800ccc15. The server response was not available
Description: An unhandled exception occurred during the execution of the
current web request. Please review the stack trace for more information about
the error and where it originated in the code.

Exception Details: System.Runtime.InteropServices.COMException: The message
could not be sent to the SMTP server. The transport error code was
0x800ccc15. The server response was not available

Source Error:

An unhandled exception was generated during the execution of the current web
request. Information regarding the origin and location of the exception can
be identified using the exception stack trace below.

Stack Trace:
[COMException (0x80040211): The message could not be sent to the SMTP
server. The transport error code was 0x800ccc15. The server response was not
available
]

[TargetInvocationException: Exception has been thrown by the target of an
invocation.]
System.RuntimeType.InvokeDispMethod(String name, BindingFlags invokeAttr,
Object target, Object[] args, Boolean[] byrefModifiers, Int32 culture,
String[] namedParameters) +0
System.RuntimeType.InvokeMember(String name, BindingFlags invokeAttr,
Binder binder, Object target, Object[] args, ParameterModifier[] modifiers,
CultureInfo culture, String[] namedParameters) +473
System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String
methodName, Object[] args) +58

[HttpException (0x80004005): Could not access 'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.CallMethod(O bject obj, String
methodName, Object[] args) +113
System.Web.Mail.CdoSysHelper.Send(MailMessage message) +1848
System.Web.Mail.SmtpMail.Send(MailMessage message) +153
FMOemail.email.sendMail(String mailTo, String mailFrom, String subject,
String content, String priority) in C:\Inetpub\wwwroot\FMOemail\email.vb:26
FMOemail.WebForm1.btnSubmit_Click(Object sender, EventArgs e) in
C:\Inetpub\wwwroot\FMOemail\emailPage.aspx.vb:38
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108

System.Web.UI.WebControls.Button.System.Web.UI.IPo stBackEventHandler.RaisePostBackEvent(String
eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEve ntHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCol lection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292


--------------------------------------------------------------------------------
Version Information: Microsoft .NET Framework Version:1.1.4322.2300; ASP.NET
Version:1.1.4322.2300

Aug 28 '06 #3

This discussion thread is closed

Replies have been disabled for this discussion.