Quantcast
Channel: NAV Three Tier — mibuso.com
Viewing all articles
Browse latest Browse all 10032

NAV2016 Upload Temp MSAccess File to Server using CU419

$
0
0
Hi all,

I'm upgrading a process from NAV2009 Classic that takes a small MSAccess file (.mdb) and uses the JET OLEDB driver to import this data into NAV.
In NAV2016, the process requires (as far as I know) that you create a temporary file on the server and upload the file to that temporary file. Then, the NAV codeunit can find the file.

I'm using "standard" functions in CU419 (File Management) to create the temporary file and upload the file
FileName := FileMgt.OpenFileDialog('Select Access Import File','','All Files (*.*)|*.*');
ServerFileName := FileMgt.UploadFileSilent(FileName);

When I select the .mdb file, I get the following error:
The file that you are trying to create cannot be created. The destination file has an extension that may be blocked. Contact your system administrator.

I did a test and renamed the .mdb file to .txt, and it uploaded just fine.

So, my question is if this is a restriction of CU419/NAV, or is this a Windows security type of error that has nothing to do with NAV?

Thanks in advance,

Ron


Viewing all articles
Browse latest Browse all 10032

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>