<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Calling WCF Services from Excel VBA clients using the WCF Service Moniker</title>
	<atom:link href="http://damianblog.com/2009/07/05/excel-wcf/feed/" rel="self" type="application/rss+xml" />
	<link>http://damianblog.com/2009/07/05/excel-wcf/</link>
	<description>.NET from Geneva, Switzerland</description>
	<lastBuildDate>Tue, 31 Jan 2012 08:14:39 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.3.1</generator>
	<item>
		<title>By: Mukesh Rebari</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-40435</link>
		<dc:creator>Mukesh Rebari</dc:creator>
		<pubDate>Sat, 07 Jan 2012 05:47:05 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-40435</guid>
		<description>Thanx King Wilder,My issue resolved after adding bindingNamespace to each endpoint.</description>
		<content:encoded><![CDATA[<p>Thanx King Wilder,My issue resolved after adding bindingNamespace to each endpoint.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Shravan</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-38209</link>
		<dc:creator>Shravan</dc:creator>
		<pubDate>Tue, 22 Nov 2011 12:08:22 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-38209</guid>
		<description>Hi, I am getting Exception. I attached debugger to excel to see error. I got XmlException message- The &#039;{&#039; character, hexadecimal value 0x7B, cannot be included in a name.</description>
		<content:encoded><![CDATA[<p>Hi, I am getting Exception. I attached debugger to excel to see error. I got XmlException message- The &#8216;{&#8216; character, hexadecimal value 0x7B, cannot be included in a name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Venkat</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-37229</link>
		<dc:creator>Venkat</dc:creator>
		<pubDate>Tue, 08 Nov 2011 21:16:59 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-37229</guid>
		<description>Hi , I tried this getting Errror Message Target Principle name incorrect, This happends only when the Service is Hosted on Remote machines, 

Any help</description>
		<content:encoded><![CDATA[<p>Hi , I tried this getting Errror Message Target Principle name incorrect, This happends only when the Service is Hosted on Remote machines, </p>
<p>Any help</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vv</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-31189</link>
		<dc:creator>vv</dc:creator>
		<pubDate>Thu, 04 Aug 2011 14:09:13 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-31189</guid>
		<description>can any one please send me working copy of app.config and vba CODE for wcf net tcp binding</description>
		<content:encoded><![CDATA[<p>can any one please send me working copy of app.config and vba CODE for wcf net tcp binding</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: vv</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-31149</link>
		<dc:creator>vv</dc:creator>
		<pubDate>Wed, 03 Aug 2011 20:27:45 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-31149</guid>
		<description>I am getting following error while accessing wcf from Excel/vb. 
Runtime error -2147221020(800401e4), Automation error

Please find app.config settings and connection string here. 



  
    
  
  &lt;!-- When deploying the service library project, the content of the config file must be added to the host&#039;s 
  app.config file. System.Configuration does not support config files for libraries. --&gt;
  
    
      
        
			
				
			
          
        
        
          
            
          
        
      
    
	  &lt;!--
	  
		  
			  
				  
				 
		  
		  
			  
				  
		  
	  
	  --&gt;
    
      
        
			
			
          
        
      
    
  


-----------
Dim addr As String
addr = &quot;service:mexAddress=&quot;&quot;net.tcp://localhost:8731/WcfServiceLibrary2/Service1/Mex&quot;&quot;,&quot;
addr = addr + &quot;address=&quot;&quot;net.tcp://localhost:8731/WcfServiceLibrary2/Service1/&quot;&quot;,&quot;
addr = addr + &quot;contract=&quot;&quot;IService1&quot;&quot;,&quot;
addr = addr + &quot;binding=&quot;&quot;netTcpBinding&quot;&quot;,bindingNamespace=&quot;&quot;http://cat.com/Samples&quot;&quot;&quot;

Dim service1 As Object
Set service1 = GetObject(addr)

MsgBox service1.GetData(123)
---------------------------------------------

can any one help me on where I am wrong in this.</description>
		<content:encoded><![CDATA[<p>I am getting following error while accessing wcf from Excel/vb.<br />
Runtime error -2147221020(800401e4), Automation error</p>
<p>Please find app.config settings and connection string here. </p>
<p>  <!-- When deploying the service library project, the content of the config file must be added to the host's<br />
  app.config file. System.Configuration does not support config files for libraries. --></p>
<p>	  &lt;!&#8211;</p>
<p>	  &#8211;&gt;</p>
<p>&#8212;&#8212;&#8212;&#8211;<br />
Dim addr As String<br />
addr = &#8220;service:mexAddress=&#8221;"net.tcp://localhost:8731/WcfServiceLibrary2/Service1/Mex&#8221;",&#8221;<br />
addr = addr + &#8220;address=&#8221;"net.tcp://localhost:8731/WcfServiceLibrary2/Service1/&#8221;",&#8221;<br />
addr = addr + &#8220;contract=&#8221;"IService1&#8243;&#8221;,&#8221;<br />
addr = addr + &#8220;binding=&#8221;"netTcpBinding&#8221;",bindingNamespace=&#8221;"http://cat.com/Samples&#8221;"&#8221;</p>
<p>Dim service1 As Object<br />
Set service1 = GetObject(addr)</p>
<p>MsgBox service1.GetData(123)<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;</p>
<p>can any one help me on where I am wrong in this.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JA</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-29415</link>
		<dc:creator>JA</dc:creator>
		<pubDate>Tue, 05 Jul 2011 09:28:34 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-29415</guid>
		<description>More on my last post. I&#039;m trying to increase the 1 minute sending timeout because I have service requests that last well over 1 minute. Some maybe even &gt; 1 hour.

I&#039;ve found al ink that explains what can go after the &quot;service:&quot; suffix.

http://msdn.microsoft.com/en-us/library/ms729739.aspx

I&#039;ve tried adding a &#039;bindingConfiguration&#039; and &#039;mexBindingConfiguration&#039; parameters, but I always get a syntax error when instantiating the service via GetObject. I&#039;ve tried several combinations of all the those parameters, but no joy.

Any ideas?</description>
		<content:encoded><![CDATA[<p>More on my last post. I&#8217;m trying to increase the 1 minute sending timeout because I have service requests that last well over 1 minute. Some maybe even &gt; 1 hour.</p>
<p>I&#8217;ve found al ink that explains what can go after the &#8220;service:&#8221; suffix.</p>
<p><a href="http://msdn.microsoft.com/en-us/library/ms729739.aspx" rel="nofollow">http://msdn.microsoft.com/en-us/library/ms729739.aspx</a></p>
<p>I&#8217;ve tried adding a &#8216;bindingConfiguration&#8217; and &#8216;mexBindingConfiguration&#8217; parameters, but I always get a syntax error when instantiating the service via GetObject. I&#8217;ve tried several combinations of all the those parameters, but no joy.</p>
<p>Any ideas?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: JA</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-29365</link>
		<dc:creator>JA</dc:creator>
		<pubDate>Mon, 04 Jul 2011 15:45:22 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-29365</guid>
		<description>Great article, thanks Damian.

Any idea how can I set the timeout in Excel? 

It keeps timing out after 1 minutes and don&#039;t know how to change it. The fact that there&#039;s no XML client .config doesn&#039;t allow me to do it the regular way.

Also, it&#039;d be good to know where can I find the sintax of what (and how) can go after &quot;service:&quot; in the configuration string (addr) you used to call GetObject.</description>
		<content:encoded><![CDATA[<p>Great article, thanks Damian.</p>
<p>Any idea how can I set the timeout in Excel? </p>
<p>It keeps timing out after 1 minutes and don&#8217;t know how to change it. The fact that there&#8217;s no XML client .config doesn&#8217;t allow me to do it the regular way.</p>
<p>Also, it&#8217;d be good to know where can I find the sintax of what (and how) can go after &#8220;service:&#8221; in the configuration string (addr) you used to call GetObject.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james igoe</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-28836</link>
		<dc:creator>james igoe</dc:creator>
		<pubDate>Fri, 24 Jun 2011 14:47:49 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-28836</guid>
		<description>Ignore my last post...just needed to reference my workstation via the IP address, or likely fully-qualified.name.</description>
		<content:encoded><![CDATA[<p>Ignore my last post&#8230;just needed to reference my workstation via the IP address, or likely fully-qualified.name.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: james igoe</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-28835</link>
		<dc:creator>james igoe</dc:creator>
		<pubDate>Fri, 24 Jun 2011 14:05:31 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-28835</guid>
		<description>I was able to get the service working as specified for myself in debug, but other users can not connect (actually send) to the service.

Anything obvious that I need to do?</description>
		<content:encoded><![CDATA[<p>I was able to get the service working as specified for myself in debug, but other users can not connect (actually send) to the service.</p>
<p>Anything obvious that I need to do?</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: Sebastien</title>
		<link>http://damianblog.com/2009/07/05/excel-wcf/comment-page-1/#comment-27132</link>
		<dc:creator>Sebastien</dc:creator>
		<pubDate>Tue, 24 May 2011 14:05:20 +0000</pubDate>
		<guid isPermaLink="false">http://damianblog.com/2009/07/05/excel-wcf/#comment-27132</guid>
		<description>Hi Damian, thank you for this tutorial (really useful), it works perfectly. Nevertheless I&#039;m still have a limit with this solution, the netTcpBinding offer only 1minute of connection and unfortunately sometimes my Host program needs lot of more… Do you know how I can increase the binding TimeOut in vba ? I&#039;m looking for a solution but I&#039;m empty-handed.</description>
		<content:encoded><![CDATA[<p>Hi Damian, thank you for this tutorial (really useful), it works perfectly. Nevertheless I&#8217;m still have a limit with this solution, the netTcpBinding offer only 1minute of connection and unfortunately sometimes my Host program needs lot of more… Do you know how I can increase the binding TimeOut in vba ? I&#8217;m looking for a solution but I&#8217;m empty-handed.</p>
]]></content:encoded>
	</item>
</channel>
</rss>

