In this post, you’ll learn about the error message “GenericFileOpenError – An error occurred while opening the file you selected.” 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
GenericFileOpenError – An error occurred while opening the file you selected.
Reason for the Error
Excel Services is unable to open the file for an unknown reason.
Solution
Wait a few minutes and try to open the file again. If the problem persists, contact your administrator.