Can Service Tier use mapped drives

jwilder
Member Posts: 263
If we were to map a drive to the user running the service tier would the service tier then be able to read files from the mapped drive? I am asking becasue if it could, I would no not need to upload files unless they were local files on the client machine.
Jason Wilder
jwilder@stonewallkitchen.com
jwilder@stonewallkitchen.com
0
Answers
-
I am not sure it would work, but the best is to always use network paths like \\someserver\someshare\somesubdir\somefile.someext.Regards,Alain Krikilion
No PM,please use the forum. || May the <SOLVED>-attribute be in your title!0 -
You'd be better to use network shares and connect using UNC paths as noted above. This removes the problem of failed mappings (it happens) and also does not restrict the user process to a specific workstation.
I'm also not totally sure a service login would run a login script to map drives. Mapping the drive at the computer console does not map it for the running service. No different than having 2 users connected to an RDS box. If user A maps a drive, user B don't see it.
There are no bugs - only undocumented features.0 -
I know using network paths is the way to go but when a user selects a file they will be using a mapped drive. They don't know the ip or computer name and would never use that.
Sounds like this is not possible. Next question is how to figure out when to upload and when not to. If the service tier has access to the file then no need to upload it. I was thinking of doing a
if not file.exists then upload type of thing.Jason Wilder
jwilder@stonewallkitchen.com0 -
Yes, a service tier can use UNC paths. The trick is to make the NAV Service Tier service use an active directory account that you've granted access to the share. NETWORK SERVICE will not work.Kyle Hardin - ArcherPoint0
-
The user can still use a mapped drive while the NST uses an UNC path that points to the same network location. I never depend on files written to a NST's local disk. Always to a network share. It then provides the flexibility to move the process to a different NST without consideration for the underlying computer setup.
There are no bugs - only undocumented features.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