<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>DevForce Community Forum : Cannot connect to IIS-hosted server with custom config</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2012 : Cannot connect to IIS-hosted server with custom config</description>
  <pubDate>Sat, 11 Apr 2026 07:02:31 -700</pubDate>
  <lastBuildDate>Tue, 21 May 2013 08:12:01 -700</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 9.69</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.ideablade.com/forum/RSS_post_feed.asp?TID=4140</WebWizForums:feedURL>
  <image>
   <title>DevForce Community Forum</title>
   <url>http://www.ideablade.com/forum/forum_images/IdeaBlade_logo_tm.png</url>
   <link>http://www.ideablade.com/forum/</link>
  </image>
  <item>
   <title>Cannot connect to IIS-hosted server with custom config : Thanks. </title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16370#16370</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1927" rel="nofollow">John</a><br /><strong>Subject:</strong> 4140<br /><strong>Posted:</strong> 21-May-2013 at 8:12am<br /><br />Thanks.]]>
   </description>
   <pubDate>Tue, 21 May 2013 08:12:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16370#16370</guid>
  </item> 
  <item>
   <title>Cannot connect to IIS-hosted server with custom config : John,  Looking back at this issue...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16329#16329</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 4140<br /><strong>Posted:</strong> 14-May-2013 at 3:51pm<br /><br />John,<br /><br />Looking back at this issue I could get the first chance exception. (the custom config plays a role here)<br /><br />I'm filing a bug report so to suppress the exception.]]>
   </description>
   <pubDate>Tue, 14 May 2013 15:51:46 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16329#16329</guid>
  </item> 
  <item>
   <title>Cannot connect to IIS-hosted server with custom config : John,  I&amp;#039;m not able to see...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16322#16322</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=892" rel="nofollow">sbelini</a><br /><strong>Subject:</strong> 4140<br /><strong>Posted:</strong> 13-May-2013 at 11:12am<br /><br />John,<br /><br />I'm not able to see any first-chance exception being thrown.<br />Could I take a look at your client/server config files?]]>
   </description>
   <pubDate>Mon, 13 May 2013 11:12:30 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16322#16322</guid>
  </item> 
  <item>
   <title>Cannot connect to IIS-hosted server with custom config : Sorry, I had a mistake in my client&amp;#039;s...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16296#16296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1927" rel="nofollow">John</a><br /><strong>Subject:</strong> 4140<br /><strong>Posted:</strong> 07-May-2013 at 2:31am<br /><br />Sorry, I had a mistake in my client's app.config.<br />The client endpoint's address had a similar but wrong URI pointing to another server site with different configuration.<br />I still don't know why my own ChannelFactory connected successfully, but never mind.<br />Anyway, there is still a first-chance InvalidOperationException with "Cannot find ObjectServer or default ServiceKey" message, which is thrown on debug mode when I turn on the option "Debug --&gt; Exceptions --&gt; Thrown". <br />Is this by design? It would be cleaner if no exception were thrown when a satisfying &lt;serviceModel&gt; configuration was supplied.]]>
   </description>
   <pubDate>Tue, 07 May 2013 02:31:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16296#16296</guid>
  </item> 
  <item>
   <title>Cannot connect to IIS-hosted server with custom config : Hey, I am trying to connect from...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16295#16295</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1927" rel="nofollow">John</a><br /><strong>Subject:</strong> 4140<br /><strong>Posted:</strong> 06-May-2013 at 9:31am<br /><br />Hey,<br />I am trying to connect from console/WPF client to IIS-hosted server with custom configuration, let's say net.tcp binding. <br />The client and the server define corresponding &lt;serviceModel&gt; sections.<br />The client defines the minimal &lt;objectServer&gt; section just for being distributed.<br />The server seems to be OK - I can browse to its site and I can connect via ChannelFactory to both EntityService.svc and EntityServer.svc.<br />However, whenever the client tries to create its EntityManger subclass, it throws InvalidOperationException with the message: <br />"Cannot find ObjectServer or default ServiceKey", followed by EndpointNotFoundException claiming that there was no endpoint to the URI that I DO connect via channel factory!<br />I carefully follow your detailed explanations here:<br />'http://drc.ideablade.com/devforce-2012/bin/view/Documentation/code-sample-custom-client-servicemodel' and more, but it is not working...<br />I tried using versions 7.1.1 and 7.1.2.]]>
   </description>
   <pubDate>Mon, 06 May 2013 09:31:43 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=4140&amp;PID=16295#16295</guid>
  </item> 
 </channel>
</rss>