File.CREATE:Either the caller does not have the required permission or specified path is read only

MJV
Member Posts: 38
Hi,
In the RTC in NAV 2016 we have a report that writes to a file. the call to FILE.CREATE() is emitting the error
Either the caller does not have the required permission or the specified path is read only.
for testing purposes, I tried both a special network share and a path on the server machine itself that I shared wide open with full control for all users, and I still the error.
I explicitly made sure that the nav service running NAV has rights to the trial folders, as well as the login I am running the RTC with.
I can manually place files in the trial folders with my account.
Can anyone think of permissions that might be needed elsewhere by another account?
I have seen the discussions for this error for when the users cannot run the RTC because of this error, and I am wondering if some temporary file is being used by the RTC before actually writing to this file.
Our users have no issues running the RTC in this installation, so the service folder is probably shared correctly.
Thanks in Advance!
Michael
In the RTC in NAV 2016 we have a report that writes to a file. the call to FILE.CREATE() is emitting the error
Either the caller does not have the required permission or the specified path is read only.
for testing purposes, I tried both a special network share and a path on the server machine itself that I shared wide open with full control for all users, and I still the error.
I explicitly made sure that the nav service running NAV has rights to the trial folders, as well as the login I am running the RTC with.
I can manually place files in the trial folders with my account.
Can anyone think of permissions that might be needed elsewhere by another account?
I have seen the discussions for this error for when the users cannot run the RTC because of this error, and I am wondering if some temporary file is being used by the RTC before actually writing to this file.
Our users have no issues running the RTC in this installation, so the service folder is probably shared correctly.
Thanks in Advance!
Michael
0
Comments
-
For a solution, we just opened up the directory to Public. I am thinking we could have run it with the tighter permissions, and tried looking in the Event Viewer to see if an error registered there and if so, what account name was involved....
Thanks,
Michael0 -
File.Create is going to run on the NAV Service Tier, using the active directory (or local) account that the service is running under. You said you made sure that the NAV service has rights to the trial folders - how did you test that? If you can log onto the NST server as that service account, you can do a test with Windows Explorer and verify the access. What kind of account is that service using? Is it NETWORK SERVICE?Kyle Hardin - ArcherPoint0
-
Thanks so much for you response Kyle!
I know that every box has an account matching the name of the box, so we gave that account permissions to the file share and the problem was solved.
Michael0
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