<?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 : Error when DevForce looks for our IDataSourceKeyResolver implementation</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2010 : Error when DevForce looks for our IDataSourceKeyResolver implementation</description>
  <pubDate>Sat, 11 Apr 2026 13:26:59 -700</pubDate>
  <lastBuildDate>Wed, 21 Jul 2010 17:33:17 -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=1989</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>Error when DevForce looks for our IDataSourceKeyResolver implementation : Yes, take a look at the CompositionHost...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1989&amp;PID=7734#7734</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=477" rel="nofollow">ting</a><br /><strong>Subject:</strong> 1989<br /><strong>Posted:</strong> 21-Jul-2010 at 5:33pm<br /><br />Yes, take a look at the CompositionHost methods.&nbsp; The code will look something like this:<DIV>&nbsp;</DIV>using IdeaBlade.Core.Composition;<BR>&nbsp;<BR>CompositionHost.SearchPatterns.Clear();<BR>CompositionHost.SearchPatterns.Add("DomainModel.dll");&nbsp; //&nbsp; Add whatever assemblies you need probed<DIV>&nbsp;</DIV>]]>
   </description>
   <pubDate>Wed, 21 Jul 2010 17:33:17 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1989&amp;PID=7734#7734</guid>
  </item> 
  <item>
   <title>Error when DevForce looks for our IDataSourceKeyResolver implementation : Do I have any options to control...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=1989&amp;PID=7727#7727</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=811" rel="nofollow">HunterMayer</a><br /><strong>Subject:</strong> 1989<br /><strong>Posted:</strong> 21-Jul-2010 at 3:13pm<br /><br />Do I have any options to control the probing behavior when DevForce looks for our IDataSourceKeyResolver implementation?<br /><br />When constructing an EntityManager (we don't maintain an app config so we implemented IDataSourceKeyResolver). I encounter a file load exception looking for a DLL referenced by 3rd party COTS I purposely don't include (The library is not needed/used and causes another error to occur in a different 3rd party COTS product (having to do with access permissions)).<br /><br />Everything works as expected (isolated in a separate project) until I include that project with the rest of our application. Then when I create my EntityManager, every library not already loaded gets loaded, and I get the exception because of the missing DLL that we don't include.<br /><br />I had the same issue with an about box implementation that showed all of the libraries present and their version. We however skip over direct and indirectly referenced libraries that can not be found because we expected some references to not be present. Is there a way to enable similar probing behavior when DevForce is looking for our custom data source key resolver implementation? Or can I register it manually as to avoid the probing all together?<br /><br />In the immediate to get around this we have removed our entire mapping components completely to work through an upcoming beta release... It's a huge hit, but making the maps run in their own AppDomain to get around the CAS (security access) violation error is a bridge to far in the given time frame (which is about 1.5 weeks from this posting). I'd love to add it back in as is.<br /><br />If you need a solution to demonstrate this failure I bet I can whip something up quick like for you. Just tell me where to send it.]]>
   </description>
   <pubDate>Wed, 21 Jul 2010 15:13:04 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=1989&amp;PID=7727#7727</guid>
  </item> 
 </channel>
</rss>