Unlock a world of possibilities! Login now and discover the exclusive benefits awaiting you.
Hello,
When I am running a job to pull the file from the shared folder in windows, my local job is able to pick the file however when I'm deploying the job using TAC and executing, it throws me an error stating the file is not present. I've given the read/write access to the user-id for the folders and sub-folders however still getting same error. I'm kinda lost here now. could you please guide here?
Thanks!
Hello,
Do you have the issue reading a file from a mapped drive in Tac or remote engine and the folder the user has full permissions to all files and folders?
Best regards
Sabrina
Thanks for reply.
We have mounted Drive as MAPPED Drive on Windows with credentials that are different from creds that REMOTE Engine running under . But when we logged in into that server where RE is running with same user that is used to run RE that user can access drive and files manually as drive mapped at system level . When we run job in studio or cloud using that RE then file not found . We tried to refer to files with //network path and tried with referring with Z:/ path both not working .We had similar set up before on Linux machine but now migrated to Windows and cannot make it work.
Hello,
It seems that Windows services not been able to see mapped drives. Mapped drives are created in the user's context and windows services don't have access to the user's context by default.
Could you please take a look at these several workarounds depending on your environment to see if it works?
1 - Using an UNC path \\servername\folder instead of i.e. 'E:'
2 - Running the service under a windows account with permissions on the share BUT giving that account the ‘logon as a service’ right
https://technet.microsoft.com/en-us/library/cc739424(v=ws.10).aspx
3 - You can create a persistent mapped drive as the SYSTEM account with the command
net use z: \\servername\sharedfolder /persistent:yes
Note: 1,2 & 3 might require a server reboot for the changes to take place.
Best regards
Sabrina
Hello, thank you for reply .We did try using UNC path still not working. I did check and user already has "logon as a service"
This is script we use to mount drive. Note credentials are hidden. So talend Service account after mounting can access files through file explorer manually.
Hi, any update on this issue?
We are trying to read the cryptographic key from the NAS drive.
When we keep the file on NAS drive, we can access it via Talend Studio but the same is not accessed via Job Server and the error says "unable to read the cryptographic file".
Can anyone help with this?