Raw New Markdown
Generating updated version of doc...
Rendered New Markdown
Generating updated version of doc...
---
title: Troubleshoot the file system connector
titleSuffix: Azure Data Factory & Azure Synapse
description: Learn how to troubleshoot issues with the file system connector in Azure Data Factory and Azure Synapse Analytics.
author: jianleishen
ms.subservice: data-movement
ms.topic: troubleshooting
ms.date: 10/20/2023
ms.author: jianleishen
ms.custom: has-adal-ref, synapse
---
# Troubleshoot the file system connector in Azure Data Factory and Azure Synapse
[!INCLUDE[appliesto-adf-asa-md](includes/appliesto-adf-asa-md.md)]
This article provides suggestions to troubleshoot common problems with the file system connector in Azure Data Factory and Azure Synapse.
## Error code: AccessToOnPremFileSystemDenied
- **Message**: `Access to '%path;' is not allowed.`
- **Cause**: Copying files from local machine isn't supported under Azure Integration Runtime. For Self-hosted Integration Runtime (versions >= 5.22.8297.1), Azure Data Factory is introducing a new security control to allow or disallow local SHIR file system access through the connector. It's disabled by default.
- **Recommendation**: Using command line from [Set up an existing self-hosted IR via local PowerShell](create-self-hosted-integration-runtime.md#set-up-an-existing-self-hosted-ir-via-local-powershell), you could allow or disallow local SHIR file system access.
## Related content
For more troubleshooting help, try these resources:
- [Connector troubleshooting guide](connector-troubleshoot-guide.md)
- [Data Factory blog](https://techcommunity.microsoft.com/t5/azure-data-factory-blog/bg-p/AzureDataFactoryBlog)
- [Data Factory feature requests](/answers/topics/azure-data-factory.html)
- [Azure videos](/shows/data-exposed/?products=azure&terms=data-factory)
- [Microsoft Q&A page](/answers/topics/azure-data-factory.html)
- [Stack Overflow forum for Data Factory](https://stackoverflow.com/questions/tagged/azure-data-factory)
- [X information about Data Factory](https://x.com/hashtag/DataFactory)