Navision client on windows xp sp2: directory for temp file?

Rodolfo_Giovanninetti
Member Posts: 6
A customer has italian navision: Versione IT 2.00.F (IT 2.00.C).
On a new pc with italian windows xp with sp2 there is this problem: navision says there is a problem with the file c:\temp.abc, where abc change every time. It seems that navision tries to create a temp file in the root of c: drive. With windows xp sp2 this directory has been protected. So, to make navision work, I have to set the user as a member of the administrator group, or to add access to the user to c:\. I am not happy with this solutions. So, I would like to know if there is any way to say to navision to use another directory for this file. In this way, I could give to the user the access only to that directory, and not to the root of c:. In the options, the TempFilePath is set to c:\temp, where the user can do everything, but the temp.abc file is still in c:\.
Any hint?
Thank You
Rodolfo Giovanninetti
On a new pc with italian windows xp with sp2 there is this problem: navision says there is a problem with the file c:\temp.abc, where abc change every time. It seems that navision tries to create a temp file in the root of c: drive. With windows xp sp2 this directory has been protected. So, to make navision work, I have to set the user as a member of the administrator group, or to add access to the user to c:\. I am not happy with this solutions. So, I would like to know if there is any way to say to navision to use another directory for this file. In this way, I could give to the user the access only to that directory, and not to the root of c:. In the options, the TempFilePath is set to c:\temp, where the user can do everything, but the temp.abc file is still in c:\.
Any hint?
Thank You
Rodolfo Giovanninetti
0
Comments
-
What function are you using when this error shows? Looks like that this is part of customization and the developer just used C:\ as temp file location.
Tell us where is the code and how does it look like?
If this is true, then you should use following code to get user's temp path:TempPath := ENVIRON('TEMP');
orTempPath := ENVIRON('TMP');
e.g. C:\Documents and Settings\user\Local Settings\Temp®obi
¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯¯0 -
Thank You for the answer. This problem happens at startup. Next week I will try to forward Your message to the customer.
Thank You
Rodolfo Giovanninetti0 -
Yes, NA is using temp variable to place the temporary files. But if you need to use another folder, use Temppath option in commandline (see w1w1ism.pdf documentation).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