Cum Grano Salis

Don't use the .Url property of an Excel Services proxy for your Workbook Name

I just got an email about somebody doing this - sure to be a common mistake as people start to use the API more.

The .Url property of a Web Service proxy class (the one generated by Visual Studio) is simply where the Web Service is located. In the case of Excel Services, this is usually http://<server name>/_vti_bin/ExcelService.asmx.

To specify a workbook name to open, use the .OpenWorkbook() method instead of the .Url property.

Published Tuesday, March 28, 2006 11:05 PM by Shahar

Comment Notification

If you would like to receive an email when updates are made to this post, please register here

Subscribe to this post's comments using RSS

Comments

No Comments

Leave a Comment

(required) 
(optional)
(required) 

  
Enter Code Here: Required
Submit

© 2009 Microsoft Corporation. All rights reserved. Terms of Use  |  Trademarks  |  Privacy Statement
Microsoft
Page view tracker