<?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 : DataSourceKeys</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : DataSourceKeys</description>
  <pubDate>Tue, 21 Apr 2026 15:50:20 -700</pubDate>
  <lastBuildDate>Wed, 09 Jun 2010 08:05:05 -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=1778</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>DataSourceKeys : Based on what you posted in another...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=7224#7224</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1778<br /><strong>Posted:</strong> 09-Jun-2010 at 8:05am<br /><br /><FONT size=2 face="Arial, Helvetica, sans-serif">Based on what you posted in another thread this is not a problem with data source extensions.&nbsp; You mentioned in that other thread that you want to access one local database and one remote database.&nbsp; To do that you can use two separate Entity Managers - one for the local DB and the other for the remote one.&nbsp; There's a parameter called EntityServiceOption which you pass in the EM constructor to tell it whether it's going local or remote.&nbsp; You can read more about it in the "Business Object Persistence - Advanced" chapter, but the signature looks like this: </FONT><DIV><strong><FONT size=2><FONT face="Courier New"><DIV>&nbsp;</DIV><DIV>public EntityManager(</FONT></FONT></strong><strong><FONT size=2><FONT face="Courier New">bool shouldConnect,&nbsp;</FONT></FONT></strong><strong><FONT size=2><FONT face="Courier New">String dataSourceExtension,&nbsp;</FONT></FONT></strong><strong><FONT size=2><FONT face="Courier New">EntityServiceOption entityServiceOption);</FONT></FONT></strong></DIV><DIV>&nbsp;</DIV><DIV><FONT face="Courier New"><FONT size=2 face="Arial, Helvetica, sans-serif">Next problem, about the error message you're getting - First, it says that a default IdeaBladeconfig is in use; this means that either the ideablade.configuration section wasn't found in the config file or it was invalid.&nbsp; When a default IdeaBladeConfig is in use&nbsp; - which means DevForce built one up dynamically, the connection strings which may have been present are ignored.&nbsp; (We do have an open bug report for this, but the problem is easily worked around.)&nbsp;&nbsp; The debug log will have more information on the config file probing, so I would look at both the log and the config file next to see what's up.</FONT></DIV><DIV><strong><?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><O:P></O:P></strong></FONT></DIV></DIV>]]>
   </description>
   <pubDate>Wed, 09 Jun 2010 08:05:05 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=7224#7224</guid>
  </item> 
  <item>
   <title>DataSourceKeys : I&#8217;m using v 6.0.1 I cannot get...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=7222#7222</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=672" rel="nofollow">DavidKozikowski</a><br /><strong>Subject:</strong> 1778<br /><strong>Posted:</strong> 09-Jun-2010 at 7:28am<br /><br /><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 14pt"><FONT face=Calibri>I’m using v 6.0.1 I cannot get an Entity manager to connect when using more than 1 database. It gives the below error:<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></FONT></SPAN></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 14pt"><FONT face=Calibri>IdeaBlade.EntityModel.EntityServerException was unhandled<o:p></o:p></FONT></SPAN></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 14pt"><FONT face=Calibri><SPAN style="mso-spacerun: yes">&nbsp; </SPAN>Message=Key 'GTDMENTITYMANAGER': Parameter 'connectionString' is not valid. String arguments cannot be empty.<o:p></o:p></FONT></SPAN></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 14pt"><FONT face=Calibri>Parameter name: connectionString A default IdeaBladeConfig is in use and does not contain either connectionStrings or EdmKeys. Ensure a valid configuration file containing connection information is present, or implement a custom IDataSourceKeyResolver. <o:p></o:p></FONT></SPAN></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 14pt"><o:p><FONT face=Calibri>&nbsp;</FONT></o:p></SPAN></P><P style="MARGIN: 0in 0in 10pt" =Ms&#111;normal><SPAN style="LINE-HEIGHT: 115%; FONT-SIZE: 14pt"><FONT face=Calibri>Has anyone tested this in version 6.0.1?<o:p></o:p></FONT></SPAN></P>]]>
   </description>
   <pubDate>Wed, 09 Jun 2010 07:28:58 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=7222#7222</guid>
  </item> 
  <item>
   <title>DataSourceKeys : This particular problem affected...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=7221#7221</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1778<br /><strong>Posted:</strong> 09-Jun-2010 at 7:23am<br /><br /><P>This particular problem affected only Silverlight when using data source extensions.&nbsp; If that's your situation then it could be the cause of whatever error you're seeing.&nbsp; The problem was fixed in 6.0.2.</P>]]>
   </description>
   <pubDate>Wed, 09 Jun 2010 07:23:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=7221#7221</guid>
  </item> 
  <item>
   <title>DataSourceKeys :  Originally posted by kimjUnfortunately,...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=7219#7219</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=672" rel="nofollow">DavidKozikowski</a><br /><strong>Subject:</strong> 1778<br /><strong>Posted:</strong> 09-Jun-2010 at 6:16am<br /><br /><table width="99%"><tr><td class="BBquote"><strong><em>Originally posted by kimj</strong></em><br /><br />Unfortunately, there's a bug in DF 6.0.1 causing the data source extension not to be passed from Silverlight to the BOS, so the resolved EntityServer and service is always the default one.&nbsp; This problem has been fixed in current bits and will be included in the next release.</td></tr></table> <DIV></DIV><DIV></DIV><DIV>&nbsp;</DIV><DIV><P style="LINE-HEIGHT: normal; MARGIN: 1.15pt 2.3pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN" lang=EN>Is this also why I’m getting errors when trying to access a second entity manager?<?: prefix = o ns = "urn:schemas-microsoft-com:office:office" /><o:p></o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 1.15pt 2.3pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN" lang=EN><o:p>&nbsp;</o:p></SPAN></P><P style="LINE-HEIGHT: normal; MARGIN: 1.15pt 2.3pt" =Ms&#111;normal><SPAN style="FONT-FAMILY: 'Verdana','sans-serif'; COLOR: black; FONT-SIZE: 13.5pt; mso-fareast-font-family: 'Times New Roman'; mso-bidi-font-family: 'Times New Roman'; mso-ansi-: EN" lang=EN>I’m in desperate need of being able to do this.<o:p></o:p></SPAN></P></DIV>]]>
   </description>
   <pubDate>Wed, 09 Jun 2010 06:16:10 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=7219#7219</guid>
  </item> 
  <item>
   <title>DataSourceKeys : Unfortunately, there&amp;#039;s a...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=6762#6762</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=11" rel="nofollow">kimj</a><br /><strong>Subject:</strong> 1778<br /><strong>Posted:</strong> 03-May-2010 at 5:49pm<br /><br />Unfortunately, there's a bug in DF 6.0.1 causing the data source extension not to be passed from Silverlight to the BOS, so the resolved EntityServer and service is always the default one.&nbsp; This problem has been fixed in current bits and will be included in the next release.]]>
   </description>
   <pubDate>Mon, 03 May 2010 17:49:18 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=6762#6762</guid>
  </item> 
  <item>
   <title>DataSourceKeys : Is the DataSourceKey functionality...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=6761#6761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=613" rel="nofollow">stephenmcd1</a><br /><strong>Subject:</strong> 1778<br /><strong>Posted:</strong> 03-May-2010 at 5:43pm<br /><br />Is the DataSourceKey functionality available in the current release of DevForce 2010?&nbsp; My custom version of IDataSourceKeyResolver never seems to be passed the keyExtension parameter and anytime my silverlight app&nbsp;accesses an EntityService.svc file, it's never of the form EntityServer_Extension.svc/sl...it's always just EntityServer.svc/sl.&nbsp; <DIV>&nbsp;</DIV><DIV>I've looked through the help and it seems like the pertinent sections are either "Not Converted" or "Coming Soon".&nbsp; This leads me to believe that this functionality might night have made the cut for the RC.&nbsp; If that’s the case, when do you expect this functionality to be restored?</DIV>]]>
   </description>
   <pubDate>Mon, 03 May 2010 17:43:31 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1778&amp;PID=6761#6761</guid>
  </item> 
 </channel>
</rss>