<?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 : Problem connecting to BOS</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce Classic : Problem connecting to BOS</description>
  <pubDate>Wed, 10 Jun 2026 14:39:46 -700</pubDate>
  <lastBuildDate>Wed, 10 Jun 2009 12:28: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=1316</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>Problem connecting to BOS : Thank you very much for your quick...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1316&amp;PID=4748#4748</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=443" rel="nofollow">msosa</a><br /><strong>Subject:</strong> 1316<br /><strong>Posted:</strong> 10-Jun-2009 at 12:28pm<br /><br />Thank you very much for your quick reply. It work perfectly.<DIV>&nbsp;</DIV><DIV>Thanks again.</DIV>]]>
   </description>
   <pubDate>Wed, 10 Jun 2009 12:28:01 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1316&amp;PID=4748#4748</guid>
  </item> 
  <item>
   <title>Problem connecting to BOS : The server&amp;#039;s IP address came...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1316&amp;PID=4747#4747</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=3" rel="nofollow">JoshO</a><br /><strong>Subject:</strong> 1316<br /><strong>Posted:</strong> 10-Jun-2009 at 12:14pm<br /><br />The server's IP address came from a response packet. Any time computers communicate over TCP/IP, the packets contain a "source" and "destination" IP address.&nbsp;You will get the error you saw when the IP address the client sent the request to does not match the IP address the server returns. The error is&nbsp;the result of basic remoting security so that the client does not get directed to the wrong server.&nbsp;The client was expecting a response from the Public IP address specified in the remoting URL and received a different IP which it interprets as&nbsp;a connection to the&nbsp;wrong server. Also, the Private IP address range is not routable over the Internet so you can't use the server's IP from the client's side in order to get an IP address match. The server placed its Private IP address into the return packet since that is the default unless you specifiy a different one in the Web.config&nbsp;for an IIS deployment or an App.config for a Console/Windows Service&nbsp;server. In our tutorials and in our Developers Guide, we address this problem which is encountered any time the server is behind a firewall with Network Address Translation (NAT) enabled.<DIV>&nbsp;</DIV><DIV>Below is an example application configuration file with instructions. Just paste the content into a text file and then rename it as per instruction #3 below. Also, make sure the service name in the "objectUri" of the app config matches the &lt;serviceName&gt; you used in the client's IdeaBlade.ibconfig.</DIV><DIV>&nbsp;</DIV><DIV>&lt;!-- Sample configuration file for the ServerConsole.exe or the ServerService.exe</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; In most cases, the IdeaBlade.ibconfig file (either loose or <BR>&nbsp;&nbsp;&nbsp;&nbsp; embedded in an assembly) is all that's required to configure<BR>&nbsp;&nbsp;&nbsp;&nbsp; remoting in the console or Windows Service servers.&nbsp; You can use a config<BR>&nbsp;&nbsp;&nbsp;&nbsp; file if further customization is needed, such as for <strong>NAT</strong>.</DIV><DIV>&nbsp;&nbsp;&nbsp;&nbsp; To use:<BR>&nbsp;&nbsp;&nbsp;&nbsp; 1) Change the port="" value to the port to be used.&nbsp; Be sure the <strong>port is open</strong>.<BR>&nbsp;&nbsp;&nbsp;&nbsp; 2) Customize the &lt;channel&gt; element attributes as needed.&nbsp; This sample<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; shows a machineName attribute waiting to be set.&nbsp; Do not change the <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; channel ref type nor any provider information.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Consult .NET documentation for channel properties and appropriate values.<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <a href="http://msdn2.microsoft.com/en-us/library/kw7c6kwc.aspx" target="_blank">http://msdn2.microsoft.com/en-us/library/kw7c6kwc.aspx</A>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <BR>&nbsp;&nbsp;&nbsp;&nbsp; 3) Rename the file for the BOS used:&nbsp; <strong>ServerConsole.exe.config or ServerService.exe.config</strong><BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; and place the file in the application folder with the executables.<BR>&nbsp;&nbsp;&nbsp;&nbsp; 4) If an appropriately named config file is found in the same directory<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; as the executable, DevForce will first attempt to configure the<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; Remoting channel using the config file instead of the remoting information<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; in IdeaBlade.ibconfig.<BR>&nbsp;&nbsp;&nbsp; &nbsp;5) Be sure that your IdeaBlade.ibconfig file is still available, and that the <BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; communicationsTechnology element in the remoting section does not say "Wcf".<BR>--&gt;</DIV><DIV>&lt;configuration&gt;<BR>&nbsp;&lt;system.runtime.remoting&gt;<BR>&nbsp;&nbsp;&lt;application&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;service&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;wellknown mode="Singleton"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; type="IdeaBlade.Persistence.RemotingPersistenceService, IdeaBlade.Persistence"<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; <strong>objectUri</strong>="PersistenceService" /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;/service&gt;</DIV><DIV>&nbsp;&nbsp;&nbsp;&lt;!-- IdeaBlade uses a compressed binary formatted channel --&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;!-- You can change the channel attributes as needed --&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;channels&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;channel ref="http" port="<strong>9009</strong>" machineName="<strong>Public IP address goes here</strong>"&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;serverProviders&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;provider ref="compression" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;formatter ref="binary" typeFilterLevel="Full" /&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/serverProviders&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;/channel&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;/channels&gt;<BR>&nbsp;&nbsp;&lt;/application&gt;</DIV><DIV>&nbsp;&nbsp;&lt;!-- Compression is done thru a custom channel sink - do not change --&gt;<BR>&nbsp;&nbsp;&lt;channelSinkProviders&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;serverProviders&gt;<BR>&nbsp;&nbsp;&nbsp;&nbsp;&lt;provider id="compression" type="IdeaBlade.Persistence.CompressedServerChannelSinkProvider, IdeaBlade.Persistence" /&gt;<BR>&nbsp;&nbsp;&nbsp;&lt;/serverProviders&gt;<BR>&nbsp;&nbsp;&lt;/channelSinkProviders&gt;</DIV><DIV>&nbsp;&nbsp;&lt;!-- setting customErrors off ensures that client receives full error information --&gt;<BR>&nbsp;&nbsp;&lt;customErrors mode="Off"/&gt;</DIV><DIV>&nbsp;&lt;/system.runtime.remoting&gt;<BR>&lt;/configuration&gt;</DIV>]]>
   </description>
   <pubDate>Wed, 10 Jun 2009 12:14:00 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1316&amp;PID=4747#4747</guid>
  </item> 
  <item>
   <title>Problem connecting to BOS : Hi, Im trying you productfor a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1316&amp;PID=4744#4744</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=443" rel="nofollow">msosa</a><br /><strong>Subject:</strong> 1316<br /><strong>Posted:</strong> 10-Jun-2009 at 8:06am<br /><br />Hi, Im trying you product&nbsp;for a test-production scenario. I managed to run my test app in a LAN environment. The BOS server&nbsp;as a console app (via ServerConsolo.exe) stats OK, and the client connects with no problem.<DIV>When I tryed the application from outside the LAN it not connects to the server (I forwarded the 9009 port to the server machine, and changed the client remoteBaseURL setting to&nbsp;a public IP).</DIV><DIV>The error is: "Unable to connect to the remote server", and the details: "IdeaBlade.Persistence.PersistenceServerException: Unable to connect to the remote server ---&gt; System.Net.WebException: Unable to connect to the remote server ---&gt; System.Net.Sockets.SocketException: A connection attempt failed because the connected party did not properly respond after a period of time, or established connection failed because connected host has failed to respond 192.168.1.52:9009"</DIV><DIV>&nbsp;</DIV><DIV>The strange thing is that the IP 192.168.1.52 is the server machine IP, but it the client ibconfig file I never put thar address, but the public one.</DIV><DIV>&nbsp;</DIV><DIV>If I dont start the service console in the server, the error is diferrent, so i&nbsp;pressume some comunications is registered.</DIV><DIV>&nbsp;</DIV><DIV>Any ideas?</DIV><DIV>Thanks.</DIV>]]>
   </description>
   <pubDate>Wed, 10 Jun 2009 08:06:42 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1316&amp;PID=4744#4744</guid>
  </item> 
 </channel>
</rss>