Table File (virtual table)

Gonzalo
Member Posts: 19
Hi there,
I'm freaking out with a problem that I haven't solved yet.

It turns out that I'm filtering the table File (virtual table) with 'X:\SHAREDFOLDER\' (it's a shared folder) but unluckily the table isn't able to load any record (I mean the folders and files of that shared folder). On the other hand, if I try to do it with 'C:\MYLOCALFOLDER\' works perfectly.
I've checked the properties of the user and has total access in that shared folder. My version is NAV 2016 and the service DynamicsNav90 is start by NETHWORK SERVICE.
Could it be that virtual file table crashed with shared folders??Or...??

Thanks
I'm freaking out with a problem that I haven't solved yet.


It turns out that I'm filtering the table File (virtual table) with 'X:\SHAREDFOLDER\' (it's a shared folder) but unluckily the table isn't able to load any record (I mean the folders and files of that shared folder). On the other hand, if I try to do it with 'C:\MYLOCALFOLDER\' works perfectly.
I've checked the properties of the user and has total access in that shared folder. My version is NAV 2016 and the service DynamicsNav90 is start by NETHWORK SERVICE.
Could it be that virtual file table crashed with shared folders??Or...??

Thanks
0
Best Answer
-
Hi Gonzalo,
not sure if this could be a security issue, I remember something in this direction regarding mapped folders. Think about changing Network Service to a domain user.
However, long time ago, I did a .NET version based on a temporary File table.
Probably you want to check the following blog (German). Please scroll down to the Codeunit text object "File Helper".
Replace Virtual File with .NET.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
Answers
-
Hi Gonzalo,
not sure if this could be a security issue, I remember something in this direction regarding mapped folders. Think about changing Network Service to a domain user.
However, long time ago, I did a .NET version based on a temporary File table.
Probably you want to check the following blog (German). Please scroll down to the Codeunit text object "File Helper".
Replace Virtual File with .NET.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 -
Thanks SiverX!!!0
-
SilverX, I changed to .NET and when I do the GetDirectories, i received this error: A call to System.IO.DirectoryInfo.GetDirectories failed with this message: Access to the path \\192.168.138.224\name\ is denied.
0 -
Ok, then you have to grant access to the path (share and security) to network service. Make sure you use names (full qualified domain names) to allow Kerberos.
Better to use a dedicated domain user.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.0
Categories
- All Categories
- 73 General
- 73 Announcements
- 66.6K Microsoft Dynamics NAV
- 18.7K 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
- 617 NAV Courses, Exams & Certification
- 2K Microsoft Dynamics-Other
- 1.5K Dynamics AX
- 320 Dynamics CRM
- 111 Dynamics GP
- 10 Dynamics SL
- 1.5K Other
- 990 SQL General
- 383 SQL Performance
- 34 SQL Tips & Tricks
- 35 Design Patterns (General & Best Practices)
- 1 Architectural Patterns
- 10 Design Patterns
- 5 Implementation Patterns
- 53 3rd Party Products, Services & Events
- 1.6K General
- 1.1K General Chat
- 1.6K Website
- 83 Testing
- 1.2K Download section
- 23 How Tos section
- 252 Feedback
- 12 NAV TechDays 2013 Sessions
- 13 NAV TechDays 2012 Sessions