How to fix on this error

prithvi.sriramprasad 0 Reputation points
2024-08-01T20:50:58.0233333+00:00

Started executing query at Line 1 File 'https://datameshpoc.dfs.core.windows.net/datamesh-poc/Loan_Servicing.csv' cannot be opened because it does not exist or it is used by another process. Visit this article to learn more about this error Total executio

Azure Synapse Analytics
Azure Synapse Analytics
An Azure analytics service that brings together data integration, enterprise data warehousing, and big data analytics. Previously known as Azure SQL Data Warehouse.
4,903 questions
{count} votes

1 answer

Sort by: Most helpful
  1. PRADEEPCHEEKATLA-MSFT 89,291 Reputation points Microsoft Employee
    2024-08-05T05:35:28.3733333+00:00

    @prithvi.sriramprasad - Thanks for the question and using MS Q&A platform.

    If your query fails with the error File cannot be opened because it does not exist or it is used by another process and you're sure that both files exist and aren't used by another process, serverless SQL pool can't access the file. This problem usually happens because your Microsoft Entra identity doesn't have rights to access the file or because a firewall is blocking access to the file.

    By default, serverless SQL pool tries to access the file by using your Microsoft Entra identity. To resolve this issue, you must have proper rights to access the file. The easiest way is to grant yourself a Storage Blob Data Contributor role on the storage account you're trying to query.

    For more information, see:

    For more details, refer to Troubleshoot serverless SQL pool in Azure Synapse Analytics.

    Hope this helps. Do let us know if you any further queries.


    If this answers your query, do click Accept Answer and Yes for was this answer helpful. And, if you have any further query do let us know.

    0 comments No comments

Your answer

Answers can be marked as Accepted Answers by the question author, which helps users to know the answer solved the author's problem.