NAV2009R2 RTC - Weird automation error (outlook)

sander7sander7 Member Posts: 10

At a client of mine, i have implemented functions for mailing pdf's to their customers.

When doing that, a record is created in a log-table, the pdf is created and stored in a BLOB, and in the very end of the process, first i have a COMMIT, and then a call to a function that takes the log-record as parameter is done, to have the actual mail created and shown to the user.
In Classic this all works fine, both in client on the server, and in client on the user PC.
In RTC i get the following error (also both in client on the server and user PC):

Microsoft Dynamics NAV

This message is for C/AL programmers: Unable to create an instance of Automation Server {0006F03A-0000-0000-C000-000000000046} with CLSID = 0006f03a-0000-0000-c000-000000000046 Retrieving the COM class factory for component with CLSID {0006F03A-0000-0000-C000-000000000046} failed due to the following error: 80070005..

Now the funny thing is, that i can press OK to the error, then navigate to the mail-log page, find the record just created, and from there do a call to the EXACT same function, and everything works fine.

Has anyone any suggestions to why i see this behavior?
And of course how i can fix it. ;)


Alexander Pallesen
Freelance Navision Developer


  • KishormKishorm Member Posts: 921
    When using the CREATE function to create an instance of the automation server, make sure you set the OnClient parameter to TRUE. See the following link for more details...
  • SuDSuD Member Posts: 102
    Hello Kishorm.
    I also getting above error,although i have Passed TRUE OnClient Parameter,in NAV 2013R2..
    Give me some Idea..
    Kind Regards
Sign In or Register to comment.