<?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 : Multiple Databases, Different Locations</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Multiple Databases, Different Locations</description>
  <pubDate>Wed, 13 May 2026 06:25:46 -700</pubDate>
  <lastBuildDate>Mon, 07 May 2012 22:11:27 -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=3389</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>Multiple Databases, Different Locations : Hi Silvio,Wahoo....I can confirm...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13531#13531</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 07-May-2012 at 10:11pm<br /><br />Hi Silvio,<div><br></div><div>Wahoo....I can confirm it's fixed and working fine in 6.1.7.....Thanks</div><div><br></div><div>Regards</div><div>Marcus</div>]]>
   </description>
   <pubDate>Mon, 07 May 2012 22:11:27 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13531#13531</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations : Hi Silvio,Thanks for checking...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13529#13529</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 07-May-2012 at 7:03pm<br /><br />Hi Silvio,<div><br></div><div>Thanks for checking in the newer version, I'll update and see if the problem disappears...I do have the cross domain xml files in our production app just forgot to put them in the sample app. Cheers...</div><div><br></div><div>Regards</div><div>Marcus</div>]]>
   </description>
   <pubDate>Mon, 07 May 2012 19:03:21 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13529#13529</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations :   Hi Marcus,I did find an error,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13528#13528</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> 3389<br /><strong>Posted:</strong> 07-May-2012 at 6:14pm<br /><br />Hi Marcus,<div>&nbsp;</div><div>I did find an error, but not the error you stated.</div><div>The good news is that the issue I saw in DevForce6.1.0 is not present in DevForce6.1.7 and in the latter I was able to run the application with no issues.</div><div>&nbsp;</div><div>One thing to be aware of is that you will need the client access policy and cross domain xml files in your wwwroot directory in order to avoid Silverlight Cross Domain errors. (more info on that at <a href="http://forums.silverlight.net/t/63112.aspx" target="_blank">http://forums.silverlight.net/t/63112.aspx</a>)</div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div>]]>
   </description>
   <pubDate>Mon, 07 May 2012 18:14:36 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13528#13528</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations : Hi Silvio,Have you had any luck?RegardsMarcus...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13527#13527</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 07-May-2012 at 4:52pm<br /><br />Hi Silvio,<div><br></div><div>Have you had any luck?</div><div><br></div><div>Regards</div><div>Marcus</div>]]>
   </description>
   <pubDate>Mon, 07 May 2012 16:52:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13527#13527</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations :   Thanks for the repro. I am...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13521#13521</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> 3389<br /><strong>Posted:</strong> 07-May-2012 at 8:50am<br /><br />Thanks for the repro. I am checking it now.<div>&nbsp;</div><div>Silvio.</div>]]>
   </description>
   <pubDate>Mon, 07 May 2012 08:50:14 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13521#13521</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations : Hi Guys,It&amp;#039;s been a while,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13519#13519</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 07-May-2012 at 12:23am<br /><br />Hi Guys,&nbsp;<div><br></div><div>It's been a while, and I've spent far too long on this issue so I've put a very basic standard Northwind demo app together that illustrates the problem of using multiple entity managers from different locations in a Silverlight application. The sample app is simply an addition to the basic Devforce getting started app. I'm using Devforce 2010 v 6.1.0. Please re-read previous posts on this issue, I now think it's a Devforce bug? Please prove me wrong!!</div><div><br></div><div>I really hope that by looking at the code, you'll see an obvious oversight, I've tried every combination of config file tweak under the sun. PLEASE PLEASE PLEASE help me resolve this issue, it's the only thing stopping the business that I work for buying a Devforce License....</div><div><br></div><div>http://www.ideablade.com/forum/uploads/1223/SilverlightApplication2Web.zip</div><div><br></div><div>Regards</div><div><br></div><div><br></div>]]>
   </description>
   <pubDate>Mon, 07 May 2012 00:23:24 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13519#13519</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations : Hi Silvio, I&amp;#039;m using IIS...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13361#13361</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 19-Apr-2012 at 3:45pm<br /><br />Hi Silvio, I'm using IIS and also have it running in my dev environment...<div><br></div><div>Regards</div>]]>
   </description>
   <pubDate>Thu, 19 Apr 2012 15:45:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13361#13361</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations :    Hi Lemispaid.Were you initially...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13344#13344</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> 3389<br /><strong>Posted:</strong> 18-Apr-2012 at 11:30pm<br /><br />Hi Lemispaid.<div>&nbsp;</div><div>Were you initially trying to run&nbsp;on Cassini?</div><div>You should be&nbsp;using IIS as Cassini won't support this.</div><div>&nbsp;</div><div>Regards, </div><div>&nbsp;&nbsp; Silvio.</div><span style="font-size:10px"><br /><br />Edited by sbelini - 19-Apr-2012 at 12:13pm</span>]]>
   </description>
   <pubDate>Wed, 18 Apr 2012 23:30:19 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13344#13344</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations : OK, a little more on this. I created...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13343#13343</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 18-Apr-2012 at 10:51pm<br /><br />OK, a little more on this. I created a Console app that successfully connects to the BOS and queries the data fine. It seems that once this occurs the Silverlight app can then connect and query fine. The debug log on the server initially only shows that it's listening for the EntityService.svc but not the EntityServer.svc. It's not until I run the console app that both are listening, then the silverlight app can login and use it. It's like the Silverlight login doesn't initialize the EntityServer? I'm confused?&nbsp;<div><br></div><div>I remember reading something that said the EntityServer is available after the EntityService? Any help greatly appreciated...</div><div><br></div><div>Regards</div>]]>
   </description>
   <pubDate>Wed, 18 Apr 2012 22:51:49 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13343#13343</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations : Sorry guys, I jumped the gun a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13331#13331</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 17-Apr-2012 at 10:54pm<br /><br />Sorry guys, I jumped the gun a little. It seems that my previous post resolved merely the ability to define multiple objectServers in the App.Config. When I try to log into the second EntityManager with the address I specify in the file, I get the following error;<div><br></div><div>"System.ServiceModel.CommunicationException: The remote server returned an error: NotFound"</div><div><br></div><div>Now I can resolve the service using&nbsp;<a href="http://localhost:9100/EntityService.svc" target="_blank">http://localhost:9100/EntityService.svc</a>&nbsp;it's running as expected. My App.Config is as follows;</div><div><br></div><div><div>&lt;configuration&gt;</div><div>&nbsp; &lt;ideablade.configuration version="6.00" xmlns="http://schemas.ideablade.com/2010/IdeaBladeConfig" &gt;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &lt;objectServer remoteBaseURL="http://localhost" serviceName="EntityService.svc" serverPort="9010"&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;clientSettings isDistributed="true"/&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;serviceKeys&gt;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp;&lt;serviceKey name="westvic" remoteBaseURL="http://localhost" serviceName="EntityService.svc/sl" serverPort="9100"/&gt;</div><div>&nbsp; &nbsp; &nbsp; &lt;/serviceKeys&gt;</div><div>&nbsp; &nbsp; &lt;/objectServer&gt;</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &lt;/ideablade.configuration&gt;</div><div>&lt;/configuration&gt;</div></div><div><br></div><div>I have clientaccesspolicy.xml in place, that resolved an earlier error, but I simply can't work out how to get this working after spending at least 15 hours trying to resolve it. Here's some extra info from fiddler;</div><div><br></div><div><table><t><tr><th>#</th><th>Result</th><th>Protocol</th><th>Host</th><th>URL</th><th>Body</th><th>Caching</th><th>Content-Type</th><th>Process</th><th>Comments</th><th>Custom</th></tr><tr><td>13</td><td>200</td><td>HTTP</td><td>localhost:9010</td><td>/EntityServer.svc/sl</td><td>18,678</td><td>private  </td><td>application/x-gzip</td><td>iexplore:7652</td><td></td><td></td></tr><tr><td>14</td><td>200</td><td>HTTP</td><td>localhost:9010</td><td>/EntityServer.svc/sl</td><td>1,206</td><td>private  </td><td>application/x-gzip</td><td>iexplore:7652</td><td></td><td></td></tr><tr><td>15</td><td>200</td><td>HTTP</td><td>localhost:9010</td><td>/EntityServer.svc/sl</td><td>961</td><td>private  </td><td>application/x-gzip</td><td>iexplore:7652</td><td></td><td></td></tr><tr><td>16</td><td>200</td><td>HTTP</td><td>localhost:9010</td><td>/EntityService.svc/sl</td><td>267</td><td>private  </td><td>application/x-gzip</td><td>iexplore:7652</td><td></td><td></td></tr><tr><td>17</td><td>200</td><td>HTTP</td><td>localhost:9100</td><td>/clientaccesspolicy.xml</td><td>335</td><td>private  </td><td>text/xml</td><td>iexplore:7652</td><td></td><td></td></tr><tr><td>18</td><td><b>500</b></td><td><b>HTTP</b></td><td><b>localhost:9100</b></td><td><b>/EntityServer.svc/sl</b></td><td><b>0</b></td><td><b>private  </b></td><td></td><td><b>iex</b>plore:7652</td><td></td><td></td></tr><tr><td>19</td><td>200</td><td>HTTP</td><td>localhost:9010</td><td>/EntityService.svc/sl</td><td>135</td><td>private  </td><td>application/x-gzip</td><td>iexplore:7652</td><td></td><td></td></tr><tr><td>20</td><td><b>500</b></td><td><b>HTTP</b></td><td><b>localhost:9100</b></td><td><b>/EntityServer.svc/sl</b></td><td><b>0</b></td><td><b>private  </b></td><td></td><td>iexplore:7652</td><td></td><td></td></tr><tr><td>21</td><td>200</td><td>HTTP</td><td>localhost:9010</td><td>/EntityService.svc/sl</td><td>135</td><td>private  </td><td>application/x-gzip</td><td>iexplore:7652</td><td></td><td></td></tr></t></table></div><div><br></div><div>Regards</div><div><br></div>]]>
   </description>
   <pubDate>Tue, 17 Apr 2012 22:54:37 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13331#13331</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations : Hi Guys,A quick update, after...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13319#13319</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 16-Apr-2012 at 6:17pm<br /><br />Hi Guys,<div><br></div><div>A quick update, after looking at the links you provided I was able to achieve what I wanted by placing&nbsp;&lt;objectServer&gt; in the app.config in the Silverlight Shell and by setting its Build Action to Embedded Resource. &nbsp;Thanks for your help...</div><div><br></div><div>Regards</div>]]>
   </description>
   <pubDate>Mon, 16 Apr 2012 18:17:34 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13319#13319</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations : Thanks Silvio, let me try to explain.We...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13296#13296</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 12-Apr-2012 at 8:41pm<br /><br />Thanks Silvio, let me try to explain.<div><br></div><div>We have an application that allows employees to create timesheets online in an ASP.Net application, I'm currently porting to Silverlight. The application itself will be hosted on Azure and get the majority of it's data from an online Azure database. However, the application will also get data from our clients accounting package so we currently have a Web Service running on our clients own IIS servers that has relevant methods for reading and writing back to the accounting package. I'm wanting to get rid of the Web Service and replace with a Devforce BOS.</div><div><br></div><div>Therefore, when an employee logs into the Silverlight App, they belong to a Tenant (multi tenanted database) and the Tenant will have a URL to their own IIS server hosting the Devforce BOS. Sorry that's the best way to explain it :)</div><div><br></div><div>Therefore, we have two Entity Managers, one will be static and be the same address, the other will be dynamic and require a different endpoint based on who logs in.&nbsp;</div><div><br></div><div>Hope that helps. In the meantime, I'll take a look at the links you've provided.</div><div><br></div><div>Regards</div><div>Lemispaid</div>]]>
   </description>
   <pubDate>Thu, 12 Apr 2012 20:41:32 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13296#13296</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations :   Hi Lemispaid,Can you explain...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13294#13294</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> 3389<br /><strong>Posted:</strong> 12-Apr-2012 at 3:40pm<br /><br />Hi Lemispaid,<div>&nbsp;</div><div>Can you explain in detail what you are trying to accomplish? Are you trying to connect to one BOS and then connect to another?</div><div>&nbsp;</div><div>Also, have you taken a look in the DevForce Resource Center at:</div><div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/c&#111;nnect-to-multiple-entityservers" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/connect-to-multiple-entityservers</a></div><div><a href="http://drc.ideablade.com/xwiki/bin/view/&#068;ocumentati&#111;n/multiple-entityservers" target="_blank">http://drc.ideablade.com/xwiki/bin/view/Documentation/multiple-entityservers</a></div><div>&nbsp;</div><div>Regards,</div><div>&nbsp;&nbsp; Silvio.</div>]]>
   </description>
   <pubDate>Thu, 12 Apr 2012 15:40:02 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13294#13294</guid>
  </item> 
  <item>
   <title>Multiple Databases, Different Locations : Devforce 2010 UniversalHi there,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13286#13286</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=1223" rel="nofollow">Lemispaid</a><br /><strong>Subject:</strong> 3389<br /><strong>Posted:</strong> 11-Apr-2012 at 11:01pm<br /><br /><div>Devforce 2010 Universal</div><div><br></div>Hi there, I have an interesting scenario that's I'm struggling with. We have a Silverlight app that uses 2 separate databases. The app predominantly uses a small sql database, but it also needs access a larger sql database hosted at a different location. Therefore, I've got my project setup with two Entity Models and two Entity Managers which works fine, however, I need to be able to change the EndPoint on one of the Managers once a user logs in because we'll then know the location of the Entity Service (BOS) running on a clients own IIS server.&nbsp;<div><br></div><div>I've tried implementing my own&nbsp;ServiceProxyEvents and this isn't working as expected.&nbsp;</div><div><br></div><div>In a nutshell the app gets its data from two different BOS but I can't seem to get this working? Any ideas appreciated...&nbsp;</div><div><br></div><div>Regards</div><div><br></div>]]>
   </description>
   <pubDate>Wed, 11 Apr 2012 23:01:55 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=3389&amp;PID=13286#13286</guid>
  </item> 
 </channel>
</rss>