In this post, you’ll learn about the error message “FileOpenSecuritySettings – The file you selected cannot be opened at this time due to security settings for Excel Services.” 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.
FileOpenSecuritySettings – The file you selected cannot be opened at this time due to security settings for Excel Services.
Reason for the Error
A call to the OpenWorkbook method failed because the administrator’s security settings prevented it from opening for various reasons. For example, the file is too big, that is, its size exceeded the limit set by the administrator.
Contact your administrator.