<?xml version="1.0" encoding="UTF-8" ?>
<?xml-stylesheet type="text/xsl" href="http://blogs.msdn.com/utility/FeedStylesheets/rss.xsl" media="screen"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:slash="http://purl.org/rss/1.0/modules/slash/" xmlns:wfw="http://wellformedweb.org/CommentAPI/"><channel><title>First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx</link><description>Primer for working with Excel Services by using the Web Services APIs it exposes.</description><dc:language>en-US</dc:language><generator>CommunityServer 2.1 SP1 (Build: 61025.2)</generator><item><title>Excel Services coding example</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#562742</link><pubDate>Tue, 28 Mar 2006 09:44:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:562742</guid><dc:creator>Microsoft Excel 2007 (nee Excel 12)</dc:creator><description>For those of you interested in programming Excel Services, check out this blog.&lt;br&gt;One of the developers...</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#564367</link><pubDate>Thu, 30 Mar 2006 02:10:32 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:564367</guid><dc:creator>Paolo</dc:creator><description>Thank you for this nice code preview. &lt;br&gt;(Just a linguistic note: the plural of Latin word &amp;quot;status&amp;quot; is &amp;quot;status&amp;quot; (4th declension, not 2nd declension) ;-).&lt;br&gt;</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#565363</link><pubDate>Fri, 31 Mar 2006 03:08:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:565363</guid><dc:creator>Shahar</dc:creator><description>But it's not as funny. :)</description></item><item><title>How to add support for External Workbook References to Excel Services</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#588534</link><pubDate>Tue, 02 May 2006 21:18:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:588534</guid><dc:creator>Cum Grano Salis</dc:creator><description>Excel Services does not support External Workbook References. I show how you can use a UDF to get similar functionality.</description></item><item><title>SPS 2007 y Excel Services - DevDays Andino 2006</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#611065</link><pubDate>Tue, 30 May 2006 23:19:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:611065</guid><dc:creator>Blog de P@blo - [MVP - Windows Server Customer Experience]</dc:creator><description>Durante la preparaci&amp;amp;#243;n de las sesiones para el evento DevDays Andino 2006, cuyos temas principales fueron...</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#620220</link><pubDate>Wed, 07 Jun 2006 07:00:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:620220</guid><dc:creator>Prasad</dc:creator><description>I copied the assemblies Microsoft.Office.Excel.Server.WebServices and Microsoft.SharePoint to my pc from the maching where Office Server is installed.I added the references to these in my console application.But at runtime it throws an error at the line where i am instantiating the ExcelService class saying that it could not load the assembly Microsoft.Office.Excel.Server.Is there any assembly by this name?</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#620359</link><pubDate>Wed, 07 Jun 2006 09:46:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:620359</guid><dc:creator>Shahar</dc:creator><description>Prasad:&lt;br&gt;&lt;br&gt;Read the part in the article about &amp;quot;Creating the form and importing Excel Services API&amp;quot;. You dont need to copy these assemblies - just use VS to create a proxy to the web-services.</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#620426</link><pubDate>Wed, 07 Jun 2006 11:38:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:620426</guid><dc:creator>Prasad</dc:creator><description>Hi Shahar&lt;br&gt;&lt;br&gt;I have added the Web Refernece of the ExcelService web service in my console application.However I dont find any class by the name ExcelService in the instantiated proxy class.Instead I find the class ExcelServiceSoap.Although this contains a method called OpenWorkBook,the signature of the method is entirely different from what is given above eg and also in the msdn example which corresponds to the ExcelService class in the assembly Microsoft.Office.Excel.Server.WebServices.</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#620427</link><pubDate>Wed, 07 Jun 2006 11:38:59 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:620427</guid><dc:creator>Prasad</dc:creator><description>Moreover I am using Office Server 2007 Beta 2.</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#620435</link><pubDate>Wed, 07 Jun 2006 11:46:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:620435</guid><dc:creator>Prasad</dc:creator><description>Thanks!&lt;br&gt;I realized my mistake.I had put the reference of the ExcelCalculation Server/ExcelService.asmx in my console application.</description></item><item><title>Server-side Excel: changing the face of financial apps?</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#628361</link><pubDate>Mon, 12 Jun 2006 19:47:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:628361</guid><dc:creator>benjaminm's blog</dc:creator><description /></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#710216</link><pubDate>Mon, 21 Aug 2006 07:07:06 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:710216</guid><dc:creator>KieuAnh</dc:creator><description>I need comment code&lt;br&gt;</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#711375</link><pubDate>Tue, 22 Aug 2006 01:28:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:711375</guid><dc:creator>Shahar</dc:creator><description>KieuAnh:&lt;br&gt;&lt;br&gt;Not sure what it is you want. Can you elaborate?</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#744645</link><pubDate>Thu, 07 Sep 2006 19:38:52 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:744645</guid><dc:creator>DotNetInterop</dc:creator><description>A related post - this one shows a Java application connecting with Excel Services via the web service interface. &amp;nbsp;-Dino</description></item><item><title>Office 2007 Developer Resources</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#752018</link><pubDate>Wed, 13 Sep 2006 16:11:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:752018</guid><dc:creator>Martin Parry</dc:creator><description>This post is a list of useful resources for developers working with the 2007 Microsoft Office&amp;amp;amp;nbsp;System...</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#756764</link><pubDate>Sat, 16 Sep 2006 03:17:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:756764</guid><dc:creator>Tyler</dc:creator><description>Shahar,&lt;br&gt;&lt;br&gt;Can you comment if the CalculateA1 function is working. &amp;nbsp;I have a namedrange cell with a Rand() function in it. &amp;nbsp;When I open the workbook and try to CalculateA1 the cell with the rand() function it doesnt seem to update. &amp;nbsp;Any ideas? &amp;nbsp; I am not running the tech refresh.</description></item><item><title>re: First &amp;quot;Hello World&amp;quot; code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#757325</link><pubDate>Sat, 16 Sep 2006 11:34:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:757325</guid><dc:creator>Shahar</dc:creator><description>Tyler, &lt;br&gt;&lt;br&gt;The reason you are not seeing anything change is that Excel Services optimizes the recalculation - it will not let a user recalc more than once per 5 minutes. This is configurable inside the Trusted Location - there's a setting called &amp;quot;Volatile function lifetime&amp;quot; or something similar that you can use to adjust the 5min. Setting it to zero will make it so that every recalc will realy recalc. Note that reducing this setting will impact performance as it will require Excel Services to recalculate more often.&lt;br&gt;&lt;br&gt;In B2TR, there's a slight change (as far as I remember) - a manual recalc will ignore the volatile cache time and actually do a recalc. </description></item><item><title>Pre-requisites</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#776555</link><pubDate>Fri, 29 Sep 2006 08:45:31 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:776555</guid><dc:creator>LuisBE on Services</dc:creator><description>Instead of re-hashing information I've found elsewhere I figured a pre-reqs post would be good.&lt;br&gt;One...</description></item><item><title>Pre-requisites</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#905123</link><pubDate>Tue, 31 Oct 2006 03:50:22 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:905123</guid><dc:creator>LuisBE on Services</dc:creator><description>&lt;p&gt;Instead of re-hashing information I've found elsewhere I figured a pre-reqs post would be good. One of&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1080624</link><pubDate>Wed, 15 Nov 2006 13:45:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1080624</guid><dc:creator>Rohit</dc:creator><description>&lt;p&gt;A very neatly explained example.&lt;/p&gt;
&lt;p&gt;Great work!!!&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1085531</link><pubDate>Thu, 16 Nov 2006 11:16:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085531</guid><dc:creator>Amarnath reddy</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I have tryied this example.Iam able to gat the data from the excel but unable to write the data into the excel by using &amp;nbsp;&amp;quot;SetCellA1&amp;quot; property.&lt;/p&gt;
&lt;p&gt;anyone can help on this.&lt;/p&gt;
&lt;p&gt;Thanks&amp;amp;Regards,&lt;/p&gt;
&lt;p&gt;Amar...&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1085545</link><pubDate>Thu, 16 Nov 2006 11:22:27 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085545</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;What error are you getting? Can you share the code you are running?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1085619</link><pubDate>Thu, 16 Nov 2006 11:41:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085619</guid><dc:creator>Amarnath reddy</dc:creator><description>&lt;p&gt;Hi Shahar,&lt;/p&gt;
&lt;p&gt;Iam not getting any error.i folowed the same steps which u have given.&lt;/p&gt;
&lt;p&gt;this is the code which iam writing data into the excel which is in Sharepoint server 2007 using excel webservices.&lt;/p&gt;
&lt;p&gt;Code:&lt;/p&gt;
&lt;p&gt;---------&lt;/p&gt;
&lt;p&gt;Private Sub Button1_Click(ByVal sender As System.Object, ByVal e As System.EventArgs) Handles Button1.Click&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim mystat() As MyExcelWebReference.Status&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Dim targetpath As String&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Using es As New MyExcelWebReference.ExcelService()&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; targetpath = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://SharepointServer/ExcelServices/Amar/Shared%20Documents/Amar.xlsx&amp;quot;"&gt;http://SharepointServer/ExcelServices/Amar/Shared%20Documents/Amar.xlsx&amp;quot;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;es.PreAuthenticate = True&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;es.Credentials = System.Net.CredentialCache.DefaultCredentials&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;sessionid = es.OpenWorkbook(targetpath, String.Empty, String.Empty, status)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;If (sessionid = &amp;quot;&amp;quot;) Then&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MsgBox(&amp;quot;Error in Opening Workbook&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Else &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;es.SetCellA1(sessionid, &amp;quot;Sheet1&amp;quot;, &amp;quot;A1&amp;quot;, &amp;quot;Amar&amp;quot;)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End If&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;es.CloseWorkbook(sessionid)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; End Using&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Catch ex As Exception&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;MsgBox(ex.Message)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;End Try&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp;End Sub&lt;/p&gt;
&lt;p&gt;---------&lt;/p&gt;
&lt;p&gt;End Code&lt;/p&gt;
&lt;p&gt;Please look into this and give me the code sample.&lt;/p&gt;
&lt;p&gt;Thanks&amp;amp;Regards,&lt;/p&gt;
&lt;p&gt;Amar...&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1085698</link><pubDate>Thu, 16 Nov 2006 12:01:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085698</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Oh.&lt;/p&gt;
&lt;p&gt;Are you expecting to see the value change inside the Excel workbook inside sharepoint?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1085813</link><pubDate>Thu, 16 Nov 2006 12:39:21 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085813</guid><dc:creator>Amarnath Reddy</dc:creator><description>&lt;p&gt;Hi Shahar,&lt;/p&gt;
&lt;p&gt;Thanks for the fast response...&lt;/p&gt;
&lt;p&gt;yes i want to write some data into the excel located in the share point server 2007.&lt;/p&gt;
&lt;p&gt;can you give me the points.&lt;/p&gt;
&lt;p&gt;Thanks&amp;amp;Regards,&lt;/p&gt;
&lt;p&gt;Amar....&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1085845</link><pubDate>Thu, 16 Nov 2006 12:56:04 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085845</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Ezcel Services is not an authoring environment. It was not meant in this version to &amp;quot;Save Back&amp;quot; to the SP server.&lt;/p&gt;
&lt;p&gt;It's still possible, but requires a few more steps.&lt;/p&gt;
&lt;p&gt;1. Call the GetWorkbook() method on the proxy to get back a byte array represnting your workbook.&lt;/p&gt;
&lt;p&gt;2. Use the SharePoint OM to save that byte array back to the server.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1085868</link><pubDate>Thu, 16 Nov 2006 13:06:30 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085868</guid><dc:creator>Amarnath reddy</dc:creator><description>&lt;p&gt;Thanks Shahar,&lt;/p&gt;
&lt;p&gt;please can you give me the sample code steps for this.&lt;/p&gt;
&lt;p&gt;once again thanks for the response.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Amar...&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1085951</link><pubDate>Thu, 16 Nov 2006 13:26:47 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085951</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;I can, but it may actually take me a little while to do this. Don't have time for posting articles right now and while it's not complex, it's a fair amount of code.&lt;/p&gt;
&lt;p&gt;Until I get to do it, I suggest you search for information on how to use the SPFile.SaveBinary() method and take a look at the GetWorkbook() method of Excel Services.&lt;/p&gt;
&lt;p&gt;s&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1085993</link><pubDate>Thu, 16 Nov 2006 13:34:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1085993</guid><dc:creator>AmarnathReddy</dc:creator><description>&lt;p&gt;Thanks for the info..&lt;/p&gt;
&lt;p&gt;I will check the details...&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Amar...&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1091912</link><pubDate>Fri, 17 Nov 2006 09:21:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1091912</guid><dc:creator>Amarnath Reddy</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I need some syntax to know the Active excelsheet name which i have opened using excel webservices.&lt;/p&gt;
&lt;p&gt;please give me the code samples for that.&lt;/p&gt;
&lt;p&gt;i want to see the active sheet neme when i open the excel in &amp;quot;view in browser&amp;quot; option in sharepoint server.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1091930</link><pubDate>Fri, 17 Nov 2006 09:29:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1091930</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Can you elaborate on &amp;quot;i &amp;nbsp;want to see the active sheet neme when i open the excel in &amp;quot;view in browser&amp;quot; option in sharepoint server&amp;quot;?&lt;/p&gt;
&lt;p&gt;Not sure I undestand what you mean.&lt;/p&gt;
&lt;p&gt;s&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1091982</link><pubDate>Fri, 17 Nov 2006 09:42:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1091982</guid><dc:creator>Amarnath Reddy</dc:creator><description>&lt;p&gt;Hi Shahar,&lt;/p&gt;
&lt;p&gt;I have published my excel sheet into the sharepoint server 2007.&lt;/p&gt;
&lt;p&gt;in that sheet in one cell i have placed one formula(i.e udf function) to get the activesheet name.&lt;/p&gt;
&lt;p&gt;now when i want to go and see the excel in &amp;quot;view in browser&amp;quot; option in Sharepoint server 2007t then i want to get the active sheet name in the given cell whare i have given the formaula.&lt;/p&gt;
&lt;p&gt;please help me out on this.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Amar... &lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1092058</link><pubDate>Fri, 17 Nov 2006 10:01:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1092058</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;What is the UDF that returns the ActiveSheet name exactly? I wasn't aware that we supported something like that.&lt;/p&gt;
&lt;p&gt;(Which, of course, does not mean much, since there are many Excel functions I am not aware of. :))&lt;/p&gt;
&lt;p&gt;s&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1092069</link><pubDate>Fri, 17 Nov 2006 10:05:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1092069</guid><dc:creator>Amarnath Reddy</dc:creator><description>&lt;p&gt;Hi Shahar,&lt;/p&gt;
&lt;p&gt;I need one excel inbuilt funtion to get the Activesheet name.&lt;/p&gt;
&lt;p&gt;that only i want to write in the UDF to get the Active sheet name.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Amar..&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1092161</link><pubDate>Fri, 17 Nov 2006 10:29:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1092161</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;There is no such feature.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1092177</link><pubDate>Fri, 17 Nov 2006 10:33:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1092177</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Can you explain what you need it for? It may help us in a future release.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1092180</link><pubDate>Fri, 17 Nov 2006 10:34:08 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1092180</guid><dc:creator>Amarnath Reddy</dc:creator><description>&lt;p&gt;Hi Shahar,&lt;/p&gt;
&lt;p&gt;Thanks...&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Amar...&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1550876</link><pubDate>Mon, 29 Jan 2007 12:45:50 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1550876</guid><dc:creator>Anirudh</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I used the information in this blog to work with the excel services API within MOSS 2007 and was able to do a variety of activities with the exposed web service.&lt;/p&gt;
&lt;p&gt;I am trying to access the same web service from a RTM Project Server website. The website exposes the particular webservice but I cannot add the reference itself. The Add Reference button is disabled and I get the following error messages:&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;The document at the url &lt;a rel="nofollow" target="_new" href="http://litware:104/_vti_bin/ExcelService.asmx?wsdl"&gt;http://litware:104/_vti_bin/ExcelService.asmx?wsdl&lt;/a&gt; was not recognized as a known document type.&lt;/p&gt;
&lt;p&gt;The error message from each known type may help you fix the problem:&lt;/p&gt;
&lt;p&gt;- Report from 'DISCO Document' is 'Root element is missing.'.&lt;/p&gt;
&lt;p&gt;- Report from 'WSDL Document' is 'There is an error in XML document (0, 0).'.&lt;/p&gt;
&lt;p&gt;- Root element is missing.&lt;/p&gt;
&lt;p&gt;- Report from 'XML Schema' is 'Root element is missing.'.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;Is this an issue specific to Project Server RTM?&lt;/p&gt;
&lt;p&gt;I then tried to access the excelservice webservice(the wsdl) of a RTM MOSS 2007 website and got the following error:&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;Unable to cast COM object of type 'System.__ComObject' to interface type 'EnvDTE.IVsExtensibility'. This operation failed because the QueryInterface call on the COM component for the interface with IID '{3C536122-57B1-46DE-AB34-ACC524140093}' failed due to the following error: No such interface supported (Exception from HRESULT: 0x80004002 (E_NOINTERFACE)).&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;When I tried to add this webservice it allowed me but w/o the wsdl document.&lt;/p&gt;
&lt;p&gt;I've never faced such problems with the Beta2 versions of MOSS.&lt;/p&gt;
&lt;p&gt;I haven't found any info on these issues elsewhere and so any help would be appreciated.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1551494</link><pubDate>Mon, 29 Jan 2007 15:41:02 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1551494</guid><dc:creator>Vandana</dc:creator><description>&lt;p&gt;How does a workflow work in Excel services?Basically i would like to know how the excel workbooks published on to the server behave when a workflow is &amp;nbsp;started.Will the documents be visible to particular user only after it is approved by the initiatir or some other approver?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vandana&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1552129</link><pubDate>Mon, 29 Jan 2007 19:26:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1552129</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Anirudh:&lt;/p&gt;
&lt;p&gt;As for the first question: Excel Services is only enabled on the Enterprise version of MOSS. As far as I know, Project server is a different SKU that does not support it.&lt;/p&gt;
&lt;p&gt;For more help on that, you can try accessing the forums: &lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=1208&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=1208&amp;amp;SiteID=1&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;As for the second question: What is it that you are doing exactly when you say &amp;quot;I then tried to access the excelservice webservice of a RTM MOSS 2007 website&amp;quot;? Where do you get that COM error you describe?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1552141</link><pubDate>Mon, 29 Jan 2007 19:28:11 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1552141</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Vandana:&lt;/p&gt;
&lt;p&gt;It all depends on what workflow you apply to the document library in question. There is no inherent process that happens for Workbooks on the server.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1555431</link><pubDate>Tue, 30 Jan 2007 09:12:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1555431</guid><dc:creator>Vandana</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;Thanks for the reply.I need bit more clarification on workflows.&lt;/p&gt;
&lt;p&gt;I have used approval workflow which routes the documenst thru all the workflow participants.&lt;/p&gt;
&lt;p&gt;whai i feel is once a document is approved then only it should go to next level for further processing.&lt;/p&gt;
&lt;p&gt;but i find no such restriction in excel services.Is there any &amp;nbsp;locking mechanism either thru custom workfkows or with predefined workflows wherein a workbook is viewed only if it approved by a particular user?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Vandana&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1555720</link><pubDate>Tue, 30 Jan 2007 10:31:28 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1555720</guid><dc:creator>Anirudh</dc:creator><description>&lt;p&gt;Hi Shahar,&lt;/p&gt;
&lt;p&gt;First off thanks for the prompt reply!&lt;/p&gt;
&lt;p&gt;:)&lt;/p&gt;
&lt;p&gt;Well its a disappointment if exceservices is not supported for project server, because even the project web access websites created under Project Server offer that excelservice webservice,i.e. you can see it when you try to add the web reference.&lt;/p&gt;
&lt;p&gt;However it doesn't let you add this reference(button disabled) and the errors are printed in the web service despcrription txtbox.&lt;/p&gt;
&lt;p&gt;&amp;gt;&amp;gt;&lt;/p&gt;
&lt;p&gt;The document at the url &lt;a rel="nofollow" target="_new" href="http://litware:104/_vti_bin/ExcelService.asmx?wsdl"&gt;http://litware:104/_vti_bin/ExcelService.asmx?wsdl&lt;/a&gt; was not recognized as a known document type.&lt;/p&gt;
&lt;p&gt;The error message from each known type may help you fix the problem:&lt;/p&gt;
&lt;p&gt;- Report from 'DISCO Document' is 'Root element is missing.'.&lt;/p&gt;
&lt;p&gt;- Report from 'WSDL Document' is 'There is an error in XML document (0, 0).'.&lt;/p&gt;
&lt;p&gt;- Root element is missing.&lt;/p&gt;
&lt;p&gt;- Report from 'XML Schema' is 'Root element is missing.'.&lt;/p&gt;
&lt;p&gt;&amp;lt;&amp;lt;&lt;/p&gt;
&lt;p&gt;After that I tried to access a webservice of a MOSS RTM site (on the same machine) and got the COM error.I got a workaround for that(it was a site specific error)&lt;/p&gt;
&lt;p&gt;That was not the main issue; I really needed the excelserviceAPI for Project server. Are you sure it is not supported?&lt;/p&gt;
&lt;p&gt;:(&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1558100</link><pubDate>Tue, 30 Jan 2007 21:13:25 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1558100</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Anirudh, &lt;/p&gt;
&lt;p&gt;I am double-checking. But I think Excel Services comes only as part of the enterprise version.&lt;/p&gt;
&lt;p&gt;Vandana,&lt;/p&gt;
&lt;p&gt;I sent an email in the internal alias to see if something comes up.&lt;/p&gt;
&lt;p&gt;Both:&lt;/p&gt;
&lt;p&gt;Consider using the Excel Services forums (&lt;a rel="nofollow" target="_new" href="http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=1208&amp;amp;SiteID=1"&gt;http://forums.microsoft.com/MSDN/ShowForum.aspx?ForumID=1208&amp;amp;SiteID=1&lt;/a&gt;) for questions such as this - you will get more eyes on them.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1558169</link><pubDate>Tue, 30 Jan 2007 21:23:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1558169</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Anirudh,&lt;/p&gt;
&lt;p&gt;Excel Services only comes as part of the MOSS for Internet Sites or the Enterprise packages. For more info, please follow this link:&lt;/p&gt;
&lt;p&gt;&lt;a rel="nofollow" target="_new" href="http://office.microsoft.com/en-us/help/HA101978031033.aspx"&gt;http://office.microsoft.com/en-us/help/HA101978031033.aspx&lt;/a&gt;&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1569836</link><pubDate>Thu, 01 Feb 2007 08:11:37 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1569836</guid><dc:creator>Amarnath Reddy</dc:creator><description>&lt;p&gt;Hi All, &lt;/p&gt;
&lt;p&gt;I have created a approval workflow and i have added approvers name as administrator,spuser1 and i have assighned the work flow to the test document.after that i have loged in to the sharepoint server as another user.when i want to open the test document without approving the document logedin user able to open and edit the document but it should display some type of message like &amp;quot;it is not yet approved by the administrator workflow is in process&amp;quot;. &lt;/p&gt;
&lt;p&gt;is there any locking is available for the document when workflow is processing.&lt;/p&gt;
&lt;p&gt;please anybody can give the flow of the work flow and approval steps and workflow conifiguration. &lt;/p&gt;
&lt;p&gt;regards, &lt;/p&gt;
&lt;p&gt;Amar... &lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1923503</link><pubDate>Wed, 21 Mar 2007 08:50:44 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1923503</guid><dc:creator>Amarnath Reddy</dc:creator><description>&lt;p&gt;Hi All,&lt;/p&gt;
&lt;p&gt;I want to know how to auto schdule my excel files in sharepoint server 2007.is there any provision given by sharepoint server 2007 to schdule the files and also programatically how can set the schduler.In sharepoint there is one dll i.e Microsoft.SharePoint.SPSchedule&lt;/p&gt;
&lt;p&gt;how can we work on this iam not clear.can anybody can send sample code and help on this.&lt;/p&gt;
&lt;p&gt;Thanks&amp;amp;Regards,&lt;/p&gt;
&lt;p&gt;Amar..&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#1924898</link><pubDate>Wed, 21 Mar 2007 14:02:24 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:1924898</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Can you explain what &amp;quot;Auto Scheduling&amp;quot; means? What's the expected behavior? What do you want them to auto schecule to?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2538903</link><pubDate>Fri, 11 May 2007 08:15:58 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2538903</guid><dc:creator>Sasya</dc:creator><description>&lt;p&gt;Hi Sahar,&lt;/p&gt;
&lt;p&gt;While opening the workbook I am getting &amp;quot;The file that you selected could not be found. Check the spelling of the file name and verify that the location is correct&amp;quot; error, but the path of the excel that I am giving is correct. How can I resolve this.&lt;/p&gt;
&lt;p&gt;Can we refresh the document that is stored in Sharepoint under Excel trusted Location by calling Refresh method that is available with Excel services workbook? Is this possible?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2548226</link><pubDate>Fri, 11 May 2007 18:19:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2548226</guid><dc:creator>Sasya</dc:creator><description>&lt;p&gt;I am getting the Error while opening the workbook, error is &amp;quot;You do not have permissions to open this file on Excel Services.&amp;quot; The excel file that I am opening is in trusted location in sharepoint. Do we need to give any permissions to that document in sharepoint document library.&lt;/p&gt;
&lt;p&gt;How do I can resolve this?&lt;/p&gt;
&lt;p&gt;Here is the full code&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; ExcelService currentService = new ExcelService();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string targetPath = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://localhost/Documents/TestDoc.xlsx&amp;quot;;"&gt;http://localhost/Documents/TestDoc.xlsx&amp;quot;;&lt;/a&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status[] outStatus;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currentService.Credentials = System.Net.CredentialCache.DefaultCredentials;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string sessionId = currentService.OpenWorkbook(targetPath, &amp;quot;en-US&amp;quot;, &amp;quot;en-US&amp;quot;, out outStatus);&lt;/p&gt;
&lt;p&gt;Thanks in Advance,&lt;/p&gt;
&lt;p&gt;Sasya&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2601057</link><pubDate>Sun, 13 May 2007 17:53:29 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2601057</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Can you choose &amp;quot;View in WebBrowser&amp;quot; in the drop down on the file?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2615569</link><pubDate>Mon, 14 May 2007 06:52:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2615569</guid><dc:creator>Sasya</dc:creator><description>&lt;p&gt;View in WebBrowser&amp;quot; in the drop down on the file is working from Sharepoint document library.&lt;/p&gt;
&lt;p&gt;But I am getting the error while accessing using Excel web services.&lt;/p&gt;
&lt;p&gt;How do I resolve this error?&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sasya&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2616289</link><pubDate>Mon, 14 May 2007 07:31:26 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2616289</guid><dc:creator>Sasya</dc:creator><description>&lt;p&gt;The excel sheet that I am trying to access from Excel Service also has Data Connections, which are used to pull data from database(SQL server).&lt;/p&gt;
&lt;p&gt;Thanks &lt;/p&gt;
&lt;p&gt;Sasya&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2619186</link><pubDate>Mon, 14 May 2007 10:12:45 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2619186</guid><dc:creator>Sasya</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;I am using Excel services for refreshing the excel sheet and then trying to save refreshed document to the Sharepoint library.Below is the thing that I am trying out:&lt;/p&gt;
&lt;p&gt;1. Opening the workbook from Sharepoint trusted location.&lt;/p&gt;
&lt;p&gt;2. Refreshing the excel report(Has Pivot Tables and Pivot Charts).&lt;/p&gt;
&lt;p&gt;3. Writing refreshed data to an external file.&lt;/p&gt;
&lt;p&gt;Here is the code:&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ExcelService currentService = new ExcelService();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string targetPath = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://localhost/Documents/EmpDept.xlsx&amp;quot;;"&gt;http://localhost/Documents/EmpDept.xlsx&amp;quot;;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status[] outStatus;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currentService.Credentials = System.Net.CredentialCache.DefaultCredentials;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; string sessionId = currentService.OpenWorkbook(targetPath, &amp;quot;en-US&amp;quot;, &amp;quot;en-US&amp;quot;, out outStatus);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currentService.Refresh(sessionId, &amp;quot;Employees&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byte[] contents = currentService.GetWorkbook(sessionId, WorkbookType.FullWorkbook, out outStatus);&lt;/p&gt;
&lt;p&gt;using (BinaryWriter binWriter =&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;new BinaryWriter(File.Open(@&amp;quot;C:\Test.xlsx&amp;quot;, FileMode.Create)))&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;binWriter.Write(contents);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currentService.CloseWorkbook(sessionId);&lt;/p&gt;
&lt;p&gt;I have modified my data source by adding new records,&lt;/p&gt;
&lt;p&gt;But even after the refresh also the excel report is not getting refreshed. When I check Text.xls it is as same as the Source excel and not updated with the latest data from data source.&lt;/p&gt;
&lt;p&gt;When I refreh the Connection from Excel the sheet is getting refreshed with the latest data from my datasource.&lt;/p&gt;
&lt;p&gt;Is there anything I am missing here?&lt;/p&gt;
&lt;p&gt;Any help will be appreciated.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sasya&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2619658</link><pubDate>Mon, 14 May 2007 10:39:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2619658</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Sasya:&lt;/p&gt;
&lt;p&gt;RE: Failure of EWA&lt;/p&gt;
&lt;p&gt;What's the error you are saying?&lt;/p&gt;
&lt;p&gt;RE: Api question.&lt;/p&gt;
&lt;p&gt;Hmm. That's very strange.&lt;/p&gt;
&lt;p&gt;1. What does the connection shunt information to? (PivotTable?)&lt;/p&gt;
&lt;p&gt;2. What happens if you call .RefreshAll() instead of .Refresh()?&lt;/p&gt;
&lt;p&gt;s&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2622398</link><pubDate>Mon, 14 May 2007 13:25:51 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2622398</guid><dc:creator>Sasya</dc:creator><description>&lt;p&gt;Thanks for the response,&lt;/p&gt;
&lt;p&gt;ConnectionString Info:&lt;/p&gt;
&lt;p&gt;Provider=SQLOLEDB.1;Integrated Security=SSPI;Persist Security Info=True;Initial Catalog=SolutionMetaData;Data Source=xxxx;Use Procedure for Prepare=1;Auto Translate=True;Packet Size=4096;Workstation ID=Test;Use Encryption for Data=False;Tag with column collation when possible=False&lt;/p&gt;
&lt;p&gt;CommandType:Table&lt;/p&gt;
&lt;p&gt;CommandText:DataBase.TableName(Sample.Employees)&lt;/p&gt;
&lt;p&gt;From C# Code for Excel Services:&lt;/p&gt;
&lt;p&gt;If I call .Refresh by passing in second parameter as empty then it will refresh all the connections(Source:MSDN) I have tried the one below, but still it doesn't refresh.&lt;/p&gt;
&lt;p&gt;currentService.Refresh(sessionId, &amp;quot;&amp;quot;);&lt;/p&gt;
&lt;p&gt;If I am refreshing the report from Excel client by using Refresh or RefreshAll from Connections Tab I am able to see the updated report in excel. But which is not happening from Excel web services.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;Sasya&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2625663</link><pubDate>Mon, 14 May 2007 16:59:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2625663</guid><dc:creator>SL</dc:creator><description>&lt;p&gt;I have a problem opening a workbook from a remote machine using Excel web services.&lt;/p&gt;
&lt;p&gt;I am getting the following error:&lt;/p&gt;
&lt;p&gt;URL authorization failed for the request&lt;/p&gt;
&lt;p&gt;I am using the default credentials for Excel web services in code.&lt;/p&gt;
&lt;p&gt;from X machine I am calling openworkbok for the url on machine MySite&lt;/p&gt;
&lt;p&gt;URL passed in as parameter for OpenWorkBook is :&lt;a rel="nofollow" target="_new" href="http://MySite/Reports/Salaries.xlsx"&gt;http://MySite/Reports/Salaries.xlsx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;Thanks in advance&lt;/p&gt;
&lt;p&gt;SL&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2625711</link><pubDate>Mon, 14 May 2007 17:01:36 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2625711</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;SL:&lt;/p&gt;
&lt;p&gt;Can you navigate to &lt;a rel="nofollow" target="_new" href="http://MySite/_vti_bin/ExcelServices.asmx"&gt;http://MySite/_vti_bin/ExcelServices.asmx&lt;/a&gt;&lt;/p&gt;
&lt;p&gt;?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2626449</link><pubDate>Mon, 14 May 2007 17:45:55 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2626449</guid><dc:creator>SL</dc:creator><description>&lt;p&gt;If I try to access the url &lt;a rel="nofollow" target="_new" href="http://MySite/_vti_bin/ExcelServices.asmx"&gt;http://MySite/_vti_bin/ExcelServices.asmx&lt;/a&gt; I am getting the error from machine x as well as machine Mysite, and Just it is displaying that an Error has occurred.&lt;/p&gt;
&lt;p&gt;In eventViewer I didnt see any message related to that.&lt;/p&gt;
&lt;p&gt;But on Mysite I can view &lt;a rel="nofollow" target="_new" href="http://MySite/Reports/Salaries.xlsx"&gt;http://MySite/Reports/Salaries.xlsx&lt;/a&gt; without any error in WebBrowser by clicking View in WebBrowser link in the dropdown in Document library.&lt;/p&gt;
&lt;p&gt;But If I am accessing ExcelServices.asmx on MySite machine with &lt;a rel="nofollow" target="_new" href="http://localhost/_vti_bin/ExcelServices.asmx"&gt;http://localhost/_vti_bin/ExcelServices.asmx&lt;/a&gt;, I am able to access it without any error.&lt;/p&gt;
&lt;p&gt;And in IIS for Office Server Web Services is configured with both Annonymous and Windows authentication.&lt;/p&gt;
&lt;p&gt;MySite/_vti_bin/ExcelServices.asmx is also configured with both Annonymous and Windows authentication.&lt;/p&gt;
&lt;p&gt;Thanks,&lt;/p&gt;
&lt;p&gt;SL&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2626964</link><pubDate>Mon, 14 May 2007 18:16:19 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2626964</guid><dc:creator>Sasya</dc:creator><description>&lt;p&gt;Sahara,&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; I have strucked with the Data refresh problem using Excel services using C# code. It is not working as documented in MSDN if my document has data connections to external data sources.&lt;/p&gt;
&lt;p&gt;Thanks in Advance,&lt;/p&gt;
&lt;p&gt;Sasya&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2627078</link><pubDate>Mon, 14 May 2007 18:22:15 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2627078</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Sasya,&lt;/p&gt;
&lt;p&gt;If you choose the &amp;quot;Refresh All Connections&amp;quot; from the &amp;nbsp;EWA toolbar does it work?&lt;/p&gt;
&lt;p&gt;(So, load the file in EWA and select the &amp;quot;Refresh ALL&amp;quot; and see if you get the new information you expect).&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2627947</link><pubDate>Mon, 14 May 2007 19:04:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2627947</guid><dc:creator>Ira Levin</dc:creator><description>&lt;p&gt;SL,&lt;/p&gt;
&lt;p&gt;Excel Services API isn't accessible to anonymuos users, so you either must authenticate by supplying a network credentials (e.g. CredentialsCache.DefaultCredentials), or if you'd like you can modify the permissions of the anonymous user so that it has the &amp;quot;UseRemoteApi&amp;quot; permission. You can alter the permissions of the anonymous user from OM, or you can grant anonymous users full access to websites.&lt;/p&gt;
&lt;p&gt;I hope this helps.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2640295</link><pubDate>Tue, 15 May 2007 07:05:35 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2640295</guid><dc:creator>SL</dc:creator><description>&lt;p&gt;Hi Levin,&lt;/p&gt;
&lt;p&gt;Here is the code that I am using:&lt;/p&gt;
&lt;p&gt;ExcelService currentService = new ExcelService();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string targetPath = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://MySite/Reports/Salaries.xlsx&amp;quot;;"&gt;http://MySite/Reports/Salaries.xlsx&amp;quot;;&lt;/a&gt; &lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status[] outStatus;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currentService.Credentials = System.Net.CredentialCache.DefaultCredentials;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string sessionId = currentService.OpenWorkbook(targetPath, &amp;quot;en-US&amp;quot;, &amp;quot;en-US&amp;quot;, out outStatus);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;currentService.Refresh(sessionId, &amp;quot;&amp;quot;);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;byte[] contents = currentService.GetWorkbook(sessionId, WorkbookType.FullWorkbook, out outStatus);&lt;/p&gt;
&lt;p&gt;In my code I am using CredentialsCache.DefaultCredentials, but still OpenWorkBook is throwing out an error. And annonymous access in IIS is configured with Service account.&lt;/p&gt;
&lt;p&gt;And I have tried running this code from the machine MySite, I am still getting the error.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;SL&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#2817344</link><pubDate>Wed, 23 May 2007 17:56:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:2817344</guid><dc:creator>Majeti</dc:creator><description>&lt;p&gt;Hi Anirudh,&lt;/p&gt;
&lt;p&gt;if you have created a site collection then use the url reference as:&lt;/p&gt;
&lt;p&gt;http://&amp;lt;server&amp;gt;/sites/&amp;lt;sitename&amp;gt;/_vti_bin/excelservice.asmx&lt;/p&gt;
&lt;p&gt;Regards&lt;/p&gt;
&lt;p&gt;Majeti&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#3724156</link><pubDate>Fri, 06 Jul 2007 13:36:07 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3724156</guid><dc:creator>Sush</dc:creator><description>&lt;p&gt;Hi All, &lt;/p&gt;
&lt;p&gt;I have deployed a web application which uses excel web service on a sharepoint site. I have some named items on the excel sheet. How can i programatically get the list of all the named items/parameters defined in there.&lt;/p&gt;
&lt;p&gt;Regards,&lt;/p&gt;
&lt;p&gt;Sush&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#3783669</link><pubDate>Mon, 09 Jul 2007 20:09:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:3783669</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;You cannot. The only workarounds you have available (afaik) are:&lt;/p&gt;
&lt;p&gt;1. Know the names before hand.&lt;/p&gt;
&lt;p&gt;2. Place the names in a hidden sheet and have a well known range name for the range that contains all the named ranges. Then use that to get the names.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#4062867</link><pubDate>Thu, 26 Jul 2007 15:03:01 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4062867</guid><dc:creator>Frank van de Groep</dc:creator><description>&lt;p&gt;Hi there,&lt;/p&gt;
&lt;p&gt;My project/app is called Webexcel1. I added a webreference called ES. But it doesn't recognize the namespace ES.&lt;/p&gt;
&lt;p&gt;I tried it with the first using and the second one. &lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;//using Webexcel1.ES;&lt;/p&gt;
&lt;p&gt;using System.Web.Services.Protocols;&lt;/p&gt;
&lt;p&gt;using (ES.ExcelService excelService = new ES.ExcelService())&lt;/p&gt;
&lt;p&gt;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; excelService.Credentials = System.Net.CredentialCache.DefaultCredentials;&lt;/p&gt;
&lt;p&gt;}&lt;/p&gt;
&lt;p&gt;...&lt;/p&gt;
&lt;p&gt;Thanks!&lt;/p&gt;
&lt;p&gt;Frank&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#4099951</link><pubDate>Sat, 28 Jul 2007 14:19:43 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:4099951</guid><dc:creator>frankjnf</dc:creator><description>&lt;p&gt;Already solved my problem. It was due to a lack of knowledge in VS. I had the using declarations in the wrong spot of my project. Basics....&lt;/p&gt;
&lt;p&gt;Works fine now.&lt;/p&gt;
&lt;p&gt;Thanks and good luck.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#5167605</link><pubDate>Thu, 27 Sep 2007 16:23:05 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5167605</guid><dc:creator>Sachin Vyas</dc:creator><description>&lt;p&gt;Thanks for nice article.&lt;/p&gt;
&lt;p&gt;But i am getting an Soap Exception error &amp;quot;An error has occured&amp;quot; message. in foolowing line&lt;/p&gt;
&lt;p&gt;string test = es.OpenWorkbook(targetWorkbookPath, &amp;quot;en-US&amp;quot;, &amp;quot;en-US&amp;quot;, out outStatus);&lt;/p&gt;
&lt;p&gt;can anyone help me why i am getting this exception and how i can solved it.&lt;/p&gt;
&lt;p&gt;Thanks in advance.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#5180619</link><pubDate>Fri, 28 Sep 2007 09:08:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5180619</guid><dc:creator>thana</dc:creator><description>&lt;p&gt;hi!&lt;/p&gt;
&lt;p&gt;my servlet return excel file i am getting excel file for java script request,but let me know how do open or display excel file through ajax responseText&lt;/p&gt;
&lt;p&gt;regards&lt;/p&gt;
&lt;p&gt;Thana &lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#5230675</link><pubDate>Tue, 02 Oct 2007 01:45:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:5230675</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;That's not something you can do today. &lt;/p&gt;
&lt;p&gt;The only thing you can do is use AJAX to get data from Excel Services.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#6480150</link><pubDate>Fri, 23 Nov 2007 11:13:46 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6480150</guid><dc:creator>VVS</dc:creator><description>&lt;p&gt;is it necessary to install office 2007 and devloper's machine or they can access from share point server. if Office 2003 is present on the local system&lt;/p&gt;
&lt;p&gt;what are the minimum requirements for developer machine&lt;/p&gt;
&lt;p&gt;if share point server machine has share point 2007 and excel 2007&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#6587204</link><pubDate>Thu, 29 Nov 2007 02:37:10 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:6587204</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;You dont need anything installed on the Developer machine - just a connection to the Excel Services SharePoint.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#7850305</link><pubDate>Fri, 22 Feb 2008 22:04:57 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7850305</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;I'm running into a soap exception error that a few of you mentioned previously. I get a &amp;quot;You do not have permissions to open this file on Excel Servcies&amp;quot; error when on the line of code where the ExcelService.OpenWorkbook function is called. I'm passing into the function the default credentials and a valid location. I've added the location of the xlsx workbook as a trusted WSS file location but i still get this error. I'd like to know if there are any possible explanations for this error. Thanks in advance guys.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#7850418</link><pubDate>Fri, 22 Feb 2008 22:21:53 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7850418</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Can you open the file via EWA?&lt;/p&gt;
&lt;p&gt;When you run into issues like that, that's the first thing you should check - that will tell you whether the issue is with the server or with your software.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#7850583</link><pubDate>Fri, 22 Feb 2008 22:58:49 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7850583</guid><dc:creator>Jason</dc:creator><description>&lt;p&gt;I can open it via EWA. Sorry bout leaving that part out before. I'm thinking it might have something to do with either the default credentials I'm passing into the function. Or that it has to do with the workbook location. The workbook is located in a content database path (&lt;a rel="nofollow" target="_new" href="http://servername/site/subsite/filename.xlsx"&gt;http://servername/site/subsite/filename.xlsx&lt;/a&gt;).&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#7891795</link><pubDate>Mon, 25 Feb 2008 14:37:13 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7891795</guid><dc:creator>Phaneendra</dc:creator><description>&lt;p&gt;Can i set security on Sheet level in a published workbook in Excel Services? My intension to publish a workbook with four sheets( i.e. user1,user2,user3,Admin). Every user have only access to his/her sheet only.&lt;/p&gt;
&lt;p&gt;But Admin can view all sheets as well as by using excel built-in formulas he can go for some calculations by taking input from some/all other user sheets information.&lt;/p&gt;
&lt;p&gt;Does it possible in Excel Services?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#7912252</link><pubDate>Wed, 27 Feb 2008 04:12:54 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7912252</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Jason:&lt;/p&gt;
&lt;p&gt;If your user can open it in a browser, they should be able to open it through the API. What type of application is this?&lt;/p&gt;
&lt;p&gt;Phaneendra:&lt;/p&gt;
&lt;p&gt;We do not support this level of granularity with security - sorry.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#7930707</link><pubDate>Thu, 28 Feb 2008 10:28:20 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7930707</guid><dc:creator>Anshuman</dc:creator><description>&lt;p&gt;I am facing a similar kind of issue regarding SOAP exception at OpenWorkBook method.&lt;/p&gt;
&lt;p&gt;i am able to open the sheet in browser, i.e. it is working fine in EWA, but &amp;nbsp;not coming up using web service.&lt;/p&gt;
&lt;p&gt;I have checked that the workbook is stored at the trusted location. also I have checked the permission of the user. It's not working even by providing the Full Control. &lt;/p&gt;
&lt;p&gt;What else could be the possible reason for this SOAP Exception?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#7936661</link><pubDate>Thu, 28 Feb 2008 21:06:23 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7936661</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Can you paste the skeleton of your code (everything relevant up to and including the OpenWorkbook call)?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#7943905</link><pubDate>Fri, 29 Feb 2008 10:29:42 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:7943905</guid><dc:creator>Anshuman</dc:creator><description>&lt;p&gt;Here is that snippet of code:&lt;/p&gt;
&lt;p&gt;private void button1_Click(object sender, EventArgs e)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;{&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;ExcelService proxyService = new ExcelService();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proxyService.SoapVersion = SoapProtocolVersion.Soap12;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proxyService.Credentials = System.Net.CredentialCache.DefaultCredentials;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;Status[] status = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string SessionId = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;string pathWorkbook = &amp;quot;&lt;a rel="nofollow" target="_new" href="http://litwaredemo:13300/sites/mysitecollection/ExcelWorkBooks/Calculator.xlsx&amp;quot;;"&gt;http://litwaredemo:13300/sites/mysitecollection/ExcelWorkBooks/Calculator.xlsx&amp;quot;;&lt;/a&gt;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;SessionId = proxyService.OpenWorkbook(pathWorkbook, String.Empty, String.Empty, out status);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;status = proxyService.SetCellA1(SessionId, &amp;quot;Calculator&amp;quot;, &amp;quot;Loan&amp;quot;, textBox1.Text);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;status = proxyService.SetCellA1(SessionId, &amp;quot;Calculator&amp;quot;, &amp;quot;Rate&amp;quot;, textBox2.Text);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;status = proxyService.SetCellA1(SessionId, &amp;quot;Calculator&amp;quot;, &amp;quot;Years&amp;quot;, textBox3.Text);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;status = proxyService.CalculateWorkbook(SessionId, CalculateType.CalculateFull);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;object result = null;&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;result = proxyService.GetCellA1(SessionId, &amp;quot;Calculator&amp;quot;, &amp;quot;Payment&amp;quot;, true, out status);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;if (result != null)&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;textBox4.Text = result.ToString();&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;proxyService.CloseWorkbook(SessionId);&lt;/p&gt;
&lt;p&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;}&lt;/p&gt;
&lt;p&gt;Its just a small application for calculation.&lt;/p&gt;
&lt;p&gt;SessionId = proxyService.OpenWorkbook(pathWorkbook, String.Empty, String.Empty, out status);&lt;/p&gt;
&lt;p&gt; this line of code is throwing the SOAP exception.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#8179001</link><pubDate>Thu, 13 Mar 2008 08:55:12 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8179001</guid><dc:creator>Satish</dc:creator><description>&lt;p&gt;hey guys i have s problem........&lt;/p&gt;
&lt;p&gt;While using UDF's i get the return values in a data table.&lt;/p&gt;
&lt;p&gt;Now i wannt to show this entire table in the excle sheet as it is.&lt;/p&gt;
&lt;p&gt;How can I do that?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#8183238</link><pubDate>Thu, 13 Mar 2008 21:24:34 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8183238</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Can you further explain what the issue is?&lt;/p&gt;
&lt;p&gt;what do you mean by Data table? What tdo you mean &amp;quot;as it is&amp;quot;?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#8337703</link><pubDate>Wed, 26 Mar 2008 16:29:14 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:8337703</guid><dc:creator>Sanjay</dc:creator><description>&lt;p&gt;Hi,&lt;/p&gt;
&lt;p&gt;The OpenWorkbook() is throwing the following exception:&lt;/p&gt;
&lt;p&gt;&amp;quot;Excel Web Services could not determine the Windows SharePoint Services site context of the calling process&amp;quot;&lt;/p&gt;
&lt;p&gt;Please note:&lt;/p&gt;
&lt;p&gt;1&amp;gt; I'm using Excel Web Reference not static binding&lt;/p&gt;
&lt;p&gt;2&amp;gt; The excel file is in trusted location.&lt;/p&gt;
&lt;p&gt;3&amp;gt; I'm able to browse the excel file using IE.&lt;/p&gt;
&lt;p&gt;Please let me know what colud be the problem?&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#9872361</link><pubDate>Mon, 17 Aug 2009 17:47:40 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9872361</guid><dc:creator>Kiran Reddy</dc:creator><description>&lt;p&gt;Hi Sahar,&lt;/p&gt;
&lt;p&gt;This is kiran reddy. i Want to know how to convert &amp;nbsp;excel data in Visual Basic code language&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#9872679</link><pubDate>Mon, 17 Aug 2009 21:55:33 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9872679</guid><dc:creator>Shahar</dc:creator><description>&lt;p&gt;Not sure I understand the question, Kiran.&lt;/p&gt;
</description></item><item><title>re: First "Hello World" code sample with the Excel Services APIs!</title><link>http://blogs.msdn.com/cumgranosalis/archive/2006/03/24/ExcelServicesHelloWorld.aspx#9874084</link><pubDate>Tue, 18 Aug 2009 17:08:56 GMT</pubDate><guid isPermaLink="false">91d46819-8472-40ad-a661-2c78acb4018c:9874084</guid><dc:creator>kiran reddy</dc:creator><description>&lt;p&gt;how to learn visual basic through online? is there anybody to teach VB&lt;/p&gt;
</description></item></channel></rss>