Sending Report as pdf in email(Navision Closes unexpectedly)


1)I have created a report in 2009 R2.

2)When i select a customer no. it displays related information of customer.

3)Then it has to be converted asPdf and sent it to customer email with pdf attachment.

4)I have used Bullzip Pdf Printer for this.

5)But my problem is that initially pdf was created and it has been sent to email with attachment correctly.

6)After 7 or 8 mail has been sent,when i again tried to sent mail, navision closes unexpectedly with an error message.

Please help me over the issue.I have attached the error attachment.

Thank You.

This is attachment issue.

You need to use SLEEP(1500) after attachment code.

Hi Amol,

Thanks for your reply.

I have used SLEEP(1500) after attachment code.

But Now i get an error,

Microsoft Dynamics NAV Classic

This message is for C/AL programmers:

Could not create an instance of the OLE control or Automation server identified by
GUID={03BC4F50-2ABB-48B3-B2A6-3F08EB1D013E} 1.7:{4DD4A3AB-B2FB-4852-A2C8-7C4691C536EA}:Unknown Automation Server.Unknown Class.
Check that the OLE control or Automation server is correctly installed and registered.