Take the 2-minute tour ×
SharePoint Stack Exchange is a question and answer site for SharePoint enthusiasts. It's 100% free, no registration required.

I want to generate an Excel File with SharePoint. I can make a refernce to ExcelServices an want to use the funtion NewWorkbook. But i get the error : Soap Exception: You do not have appropriate permissions to create a new workbook in the specified location

ExcelService es = new ExcelService(); Status[] outStatus; es.Credentials = System.Net.CredentialCache.DefaultCredentials; string sessionId = es.NewWorkbook(@"http://Site/Libary/test.test", null, null, out outStatus);

The libary http:/Site/Libary is an trusted file location.

share|improve this question

1 Answer 1

This is a shot in the dark but have you checked that excel services have been setup properly?


a simple guide


hope it point you into the right direction

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.