Hello,
My requirement is to update an excel workbook uploaded in a sharepoint 2013 online site.
In Visual Studio 2012, I have added web service reference to the below url -
<Office365SiteCollectionUrl>/_vti_bin/ExcelService.asmx
And using the below code snippet -
ExcelService xlService = new ExcelService();
Status[] status;
xlService.Timeout = 600000;
var securePassword = new SecureString();
var password = "<password>";
foreach (char c in password)
{
securePassword.AppendChar(c);
}
xlService.Credentials = new SharePointOnlineCredentials("<UserName>", securePassword);
The method "OpenWorkbook" throws error - "we couldn't find the file you wanted".
No other information is available.
It would be very much appreciated if anyone can provide a resolution for this issue.
Thanks in Advance!!
amrita.sengupta@capgemini.com