Hi,
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..
OK
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.
Regards
Alexander
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..
OK
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.
Regards
Alexander