Hi,
I have a web application running from NAS. There is a file browse function on it, which does not work without supplying UNC path for a file to be uploaded.
Is there any way to store a mapping for a drive-letter within NAV and that can provide path to NAS?
Thanks,
Amol
0
Comments
U can only use mapped drives on your NAS service machine????
I cant belive that, because i also use NAS and UNC!
Maybe you have a security problem, that the windows user of the NAS serice doesn't have permissions to connect to this drive.
So check the permissions.
so, this could help also (as a little tip):
viewtopic.php?f=5&t=22930
Drive mappings are not shared between security areas, different users and different sessions have different sets of mapped drives. In general this means a NAS will only have the drives it maps for itself.
This can be done two main ways ways ... firstly a command line. Get the NAS to run the command Drive X: should then be available to the NAS.
The second is to either run directly or translate into Navision COM manipulation this vbscript I've been lucky, for me the users have been fine with 'use local drives only' or 'use UNC paths'.
TVision Technology Ltd
I have some problem executing this
I am trying out this:
Using command:
nassql.exe appservername=ServerName, nettype=tcp, servername=SeverName, database=dbName, company=CompanyName, startupparameter=Parameter1, startuppar
ameter=Parameter2, objectcache=8000, net use X: \\host\share
but i get error: Program Property 'net use X: \\host\share' is unknown. Could you please explain where to run net use?
Thanks,
Amol
Try the mapdrive function in this, put a call to it somewhere like CU1 trigger 99.
TVision Technology Ltd
That is Excellent! :thumbsup: That solved my problem, and I have a shared drive visible to NAS now.
Thank you for your help!
Amol