I had the same problem.
change the Host to C:\Exchange.
Then you can read + write data!
Of cours you still have to
.\dmgcmd.exe -DisableLocalFolderPathValidation
and
.\dmgcmd.exe -elma
This browser is no longer supported.
Upgrade to Microsoft Edge to take advantage of the latest features, security updates, and technical support.
Hello community,
I am facing an interesting problem when trying to write to a file share (on-prem) from a storage account via Self Hosted Integration Runtime (SHIR).
Rights on the share level are granted to the user and reading from the file share works perfectly fine. When writing a csv or txt file via a pipeline using a copy activity in debug mode I receive the error message attached (note that the file path is anonymized).
Detail | Description |
---|---|
Activity | Copy activity named "Copy data1" |
Source | Storage Account ADLS Gen2 |
Sink | FileShare where SHIR is running on the machine "vm_misc" and the physical storage is mapped to "C:". Rights are granted on folder level "Exchange" and inherited by Subfolder "shared_files". |
{
"errorCode": "2200",
"message": "ErrorCode=UserErrorFailedFileOperation,'Type=Generic.DataTransfer.Common.Shared.HybridDeliveryException,Message=The file operation is failed, upload file failed at path: 'shared_files/test.txt'.,Source=Generic.DataTransfer.ClientLibrary,''Type=System.UnauthorizedAccessException,Message=Access to the path "\\vm_misc\C$\Exchange\shared_files" was denied.,Source=mscorlib,'",
"failureType": "UserError",
"target": "Copy data1",
"details": []
}
I had the same problem.
change the Host to C:\Exchange.
Then you can read + write data!
Of cours you still have to
.\dmgcmd.exe -DisableLocalFolderPathValidation
and
.\dmgcmd.exe -elma