Hello everyone,
My Biztalk Solution Catch Block executes multiple times and not droping Errorfile into repositryfolder.
1)As Catch Block Executes it sends mail .
2)After sending Mail Error assign to a Message (System.String).
3)Send Error File to Folder.
When I process wrong file, mail send multiple times. Any help....
Expression Shape Contain following Code:
ErrMessage=Exception.Message+ "Orchestration Error";
System.Diagnostics.EventLog.WriteEntry("Orchestration", "Call to Email Utility");
System.Diagnostics.EventLog.WriteEntry("Orchestration : PurchaseOrderNO",PurchaseOrderNO);
Utility.EmailUtility.SendGeneralExceptionEmail(ErrMessage,PurchaseOrderNO);
Message Assignment Contain this
CatchErrorMessage="Exception Generated"+ ErrMessage;