Error when Open files from Domain User Account in Dynamics Navision 2015
Xhevat
Member Posts: 9
We have installed Dynamics Navision 2015 on Server.
Domain user account are connected to server with roletailored Client from their computer on Domain.
If we try to open local files from local computers, navision olways try to open file from server and give an error: "File was not found".
How to setup Navision to open file from local computer not from server.
Domain user account are connected to server with roletailored Client from their computer on Domain.
If we try to open local files from local computers, navision olways try to open file from server and give an error: "File was not found".
How to setup Navision to open file from local computer not from server.
0
Best Answers
-
Have a look into codeunit 419. It provides almost every function you need. Also keep the server setting MaxUploadSize in mind.Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.5 -
Hey Xhevat,
If you Installed NAV on different server and accessing it from different client computer then the code written in NAV will always try to open the file from where NAV is installed.
See the Codeunit "File Management", It has many functions which will help you like DownloadtoFIle UploadFIleSilent and many more. Use this codeunit it will solve your problem for sure.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/5
Answers
-
This looks like you have merged existing code from an older version (Classic, 2-tier) into NAV 2015 (3-tier). In NAV 2015 - and all 3-tier versions of NAV - the code is executed on the server and by default will read files from where the code is run: the server.
This will need redesign to get it working.
There is no global 'read files only from the client' setting.Jan Veenendaal0 -
Have a look into codeunit 419. It provides almost every function you need. Also keep the server setting MaxUploadSize in mind.Cheers
Carsten
==> How To Ask Questions The Smart Way
This post is my own opinion and does not necessarily reflect the opinion or view of my employer.5 -
Hey Xhevat,
If you Installed NAV on different server and accessing it from different client computer then the code written in NAV will always try to open the file from where NAV is installed.
See the Codeunit "File Management", It has many functions which will help you like DownloadtoFIle UploadFIleSilent and many more. Use this codeunit it will solve your problem for sure.Thanks
Blog - rockwithnav.wordpress.com/
Twitter - https://twitter.com/RockwithNav
Facebook - https://facebook.com/rockwithnav/5
Categories
- All Categories
- 75 General
- 75 Announcements
- 66.7K Microsoft Dynamics NAV
- 18.8K NAV Three Tier
- 38.4K NAV/Navision Classic Client
- 3.6K Navision Attain
- 2.4K Navision Financials
- 116 Navision DOS
- 851 Navision e-Commerce
- 1K NAV Tips & Tricks
- 772 NAV Dutch speaking only
- 610 NAV Courses, Exams & Certification
- 1.9K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 251 Dynamics CRM
- 103 Dynamics GP
- 6 Dynamics SL
- 1.5K Other
- 991 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 28 Design Patterns (General & Best Practices)
- Architectural Patterns
- 9 Design Patterns
- 4 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1K General Chat
- 1.6K Website
- 77 Testing
- 1.2K Download section
- 23 How Tos section
- 249 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions

