S
SMG
Hi All,
My Send mail system was working very fine, today suddenly it started
giving me following error. Can any one suggest why this is happening so.
I am using system.Web.Mail
"The requested body part was not found in this message. "
Note : here XXXX and YYYYYYY are company specific info and nothing related
with code.
[COMException (0x800cce05): The requested body part was not found in this
message.]
[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.SetProp(Object obj, String
propName, Object propValue) +87
[HttpException (0x80004005): Could not access 'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.SetProp(Object obj, String
propName, Object propValue) +137
System.Web.Mail.CdoSysHelper.Send(MailMessage message) +107
System.Web.Mail.SmtpMail.Send(MailMessage message) +150
YYYYYYYYY.BusinessComponents.SendMail.SendEMail() in
C:\Inetpub\wwwroot\XXXX\BusinessComponents\SendMail.cs:51
YYYYYYYYY.BusinessComponents.SendMail.send_acknowledgement(String
to_address, String name, String contact_id) in
C:\Inetpub\wwwroot\XXXX\BusinessComponents\SendMail.cs:172
YYYYYYYYY.CommonUserControls.Services.OpenAnAccount.btnSubmit_Click(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\XXXX\YYYYYYYYY\CommonUserControls\Services\OpenAnAccount.
ascx.cs:125
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277
My Send mail system was working very fine, today suddenly it started
giving me following error. Can any one suggest why this is happening so.
I am using system.Web.Mail
"The requested body part was not found in this message. "
Note : here XXXX and YYYYYYY are company specific info and nothing related
with code.
[COMException (0x800cce05): The requested body part was not found in this
message.]
[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.SetProp(Object obj, String
propName, Object propValue) +87
[HttpException (0x80004005): Could not access 'CDO.Message' object.]
System.Web.Mail.LateBoundAccessHelper.SetProp(Object obj, String
propName, Object propValue) +137
System.Web.Mail.CdoSysHelper.Send(MailMessage message) +107
System.Web.Mail.SmtpMail.Send(MailMessage message) +150
YYYYYYYYY.BusinessComponents.SendMail.SendEMail() in
C:\Inetpub\wwwroot\XXXX\BusinessComponents\SendMail.cs:51
YYYYYYYYY.BusinessComponents.SendMail.send_acknowledgement(String
to_address, String name, String contact_id) in
C:\Inetpub\wwwroot\XXXX\BusinessComponents\SendMail.cs:172
YYYYYYYYY.CommonUserControls.Services.OpenAnAccount.btnSubmit_Click(Object
sender, EventArgs e) in
C:\Inetpub\wwwroot\XXXX\YYYYYYYYY\CommonUserControls\Services\OpenAnAccount.
ascx.cs:125
System.Web.UI.WebControls.Button.OnClick(EventArgs e) +108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEventHandler.RaisePo
stBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent(IPostBackEventHandler
sourceControl, String eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1277