Forum Discussion

nhaminger's avatar
nhaminger
Copper Contributor
Aug 17, 2021

SQL Server 2019 External Scripts Network Drive Access Denied

Hello Community,

 

so we are invoking a Python script with the sp_execute_external_script command. Within this Python script, we access files that are located on a network drive (r/w). This works well if the files are located on a local drive and full access for 'ALL APPLICATION PACKAGES' is permitted, but it doesn't work with files located on the network drive.

 

Does anybody know a way or workaround to access files on a network drive from an external script (Python or R)?

2 Replies

Resources