In this post, you’ll learn about the error message “FileOpenNotFound – The file you selected could not be found. Check the spelling of the file name and verify that the location is correct.” that you usually receive when working eith the Excel Services in SharePoint.
When working with SharePoint Excel Services, there are error codes that are generated in the SOAP exception when the errors occur in the Excel Services. You can use the SubCode property that is available in the SoapException class to identity these error codes and troubleshoot the issue.
Error Message
FileOpenNotFound – The file you selected could not be found. Check the spelling of the file name and verify that the location is correct.
Reason for the Error
A call to the OpenWorkbook method failed because the file does not exist.
Solution
Make sure that the file has not been renamed, moved, or deleted, that the file is in a trusted location, and that you have access to the file. If the problem persists, contact your administrator.