KB4530720 - FIX: "The File location cannot be opened" error occurs when you try to open a FileTable directory in SQL Server

Symptoms

Consider the following scenario:

  • Assume that you have a FileTable in Microsoft SQL Server.

  • You try to open a FileTable directory by using SSMS, File Explorer or Windows API.

  • When an application performs directory enumeration for the FileTable directory, the request call can be intercepted by a file system filter driver present in the client machine. The FileInformationClass request parameter can be changed to use FILE_ID_EXTD_DIR_INFORMATION instead. In this case, the client may receive an ERROR_FILE_NOT_FOUND (0x2) as a response from SQL Server.

In this situation, you may receive an error message that resembles the following on Windows:

ERROR_FILE_NOT_FOUND (0x2)

"The File location cannot be opened. Either access is not enabled or you do not have permissions for the same."

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

Resolution

This issue is fixed in the following cumulative updates for SQL Server:

About cumulative updates for SQL Server:

Each new cumulative update for SQL Server contains all the hotfixes and all the security fixes that were included with the previous cumulative update. Check out the latest cumulative updates for SQL Server:

References

Learn about the terminology that Microsoft uses to describe software updates.

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×