Hi friends,
[Version: NAV 2009 SP1 Classic client]
I am extracting data from NAV to text file through the automation from report using 'Microsoft ActiveX Data Objects 2.8 Library'.Stream'. When a file with same name already exists in the folder, I am getting below error:
This message is for C/AL programmers.
The call to member SaveToFile failed.ADODB.Stream returned the following message:
Write to file failed.
Can anyone please let me know how to overcome this issue?
Thanks and Regards.
0
Comments
It may caused by several possible reason, one is the file path is not correct.
Global variables
Name DataType Subtype
adostream Automation 'Microsoft ActiveX Data Objects 2.8 Library'.Stream
CRL Char
LFL Char
Please let me know, if you need any more details.
Thanks.
Dynamics NAV, MS SQL Server, Wherescape RED;
PRINCE2 Practitioner - License GR657010572SG
GDPR Certified Data Protection Officer - PECB License DPCDPO1025070-2018-03