<?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 : LinqDataSource</title>
  <link>http://www.ideablade.com/forum/</link>
  <description>This is an XML content feed of; DevForce Community Forum : DevForce 2009 : LinqDataSource</description>
  <pubDate>Sat, 11 Apr 2026 13:27:42 -700</pubDate>
  <lastBuildDate>Wed, 02 Apr 2008 19:40:40 -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=750</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>LinqDataSource : I figured out a workaround for...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=750&amp;PID=2771#2771</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=275" rel="nofollow">danielp37</a><br /><strong>Subject:</strong> 750<br /><strong>Posted:</strong> 02-Apr-2008 at 7:40pm<br /><br />I figured out a workaround for the error that I was getting.&nbsp; I originally had the LinqDataSource declared as:<br><br>&lt;asp:LinqDataSource ID="LinqDataSource1" runat="server" <br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; ContextTypeName="HEDataIB.HEDataSet" OrderBy="Name_LastName, Name_FirstName" <br>&nbsp;&nbsp;&nbsp; &nbsp;&nbsp;  &nbsp;&nbsp;  &nbsp; Select="new (MemberId, Name_LastName, Name_FirstName, CipStatus, CipScore, Gender)"<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; TableName="Members" Where="CipStatus == @CipStatus"&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;WhereParameters&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;asp:Parameter DefaultValue="Failed" Name="CipStatus" Type="String" /&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/WhereParameters&gt;<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; &lt;/asp:LinqDataSource&gt;<br><br>and that was causing me to get the above error.&nbsp; But if i remove the "Select" phrase, it works correctly.<br>]]>
   </description>
   <pubDate>Wed, 02 Apr 2008 19:40:40 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=750&amp;PID=2771#2771</guid>
  </item> 
  <item>
   <title>LinqDataSource : I am trying to use a LinqDataSource...</title>
   <link>http://www.ideablade.com/forum/forum_posts.asp?TID=750&amp;PID=2761#2761</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.ideablade.com/forum/member_profile.asp?PF=275" rel="nofollow">danielp37</a><br /><strong>Subject:</strong> 750<br /><strong>Posted:</strong> 31-Mar-2008 at 10:13pm<br /><br />I am trying to use a LinqDataSource to query one of my Entity Sets in my Entity Manager and I have it setup to go through the BOS.&nbsp; I have been able to get a similar query to work using the LINQ to Entities directly within my ASP.NET app, but when I try to access a page that uses the LinqDataSource, I get the following error:<br><br><b>Exception Details: </b>System.ServiceModel.FaultException: Could not load file or assembly 'DynamicClasses, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.<br><br><b>Stack Trace:</b> <br><br><table ="#ffffcc" width="100%"><t><tr><td><code></code><pre>&#091;FaultException: Could not load file or assembly 'DynamicClasses, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.&#093;<br>   IdeaBlade.EntityModel.v4.RemoteEntityServerProxy.CheckConnection(Exception pException) +161<br>   IdeaBlade.EntityModel.v4.EntityServerProxy.Fetch(SessionBundle pBundle, IEntityQuery pQuery) +114<br>   IdeaBlade.EntityModel.v4.EntityManager.ExecuteServerQuery(IEntityQuery pEntityQuery) +77<br><br>&#091;EntityServerException: Could not load file or assembly 'DynamicClasses, Version=0.0.0.0, Culture=neutral, PublicKeyToken=null' or one of its dependencies. The system cannot find the file specified.&#093;<br>   IdeaBlade.EntityModel.v4.EntityManager.HandleEntityServerException(Exception pException, Boolean pTryToHandle, PersistenceOperation pOperation) +190<br>   IdeaBlade.EntityModel.v4.EntityManager.ExecuteServerQuery(IEntityQuery pEntityQuery) +105<br>   IdeaBlade.EntityModel.v4.EntityManager.ExecuteFetch(IEntityFinder finder) +182<br>   IdeaBlade.EntityModel.v4.EntityQueryFinder.Execute() +311<br>   IdeaBlade.EntityModel.v4.EntityManager.ExecuteQueryCore(IEntityQuery query, QueryStrategy strategy) +236<br>   IdeaBlade.EntityModel.v4.EntityManager.ExecuteQueryForScalar(IEntityQuery query, QueryStrategy strategy) +37<br>   IdeaBlade.EntityModel.v4.EntityManager.ExecuteQueryForScalar(IEntityQuery query) +32<br>   IdeaBlade.EntityModel.v4.EntityQuery`1.Execute(Expression expression) +260<br>   System.Web.Query.Dynamic.DynamicQueryable.Count(IQueryable source) +139<br>   System.Web.UI.WebControls.DynamicQueryableWrapper.Count(IQueryable source) +6<br>   System.Web.UI.WebControls.LinqDataSourceView.ExecuteSelectAutoSortAndPage(IQueryable source, DataSourceSelectArguments arguments) +127<br>   System.Web.UI.WebControls.LinqDataSourceView.ExecuteSelectQuery(LinqDataSourceSelectEventArgs selectEventArgs, Object selectResult, Object table, Boolean storeOriginalValues) +308<br>   System.Web.UI.WebControls.LinqDataSourceView.ExecuteSelect(DataSourceSelectArguments arguments) +482<br>   System.Web.UI.DataSourceView.Select(DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback) +17<br>   System.Web.UI.WebControls.DataBoundControl.PerformSelect() +149<br>   System.Web.UI.WebControls.BaseDataBoundControl.DataBind() +70<br>   System.Web.UI.WebControls.GridView.DataBind() +4<br>   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound() +82<br>   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls() +69<br>   System.Web.UI.Control.EnsureChildControls() +87<br>   System.Web.UI.Control.PreRenderRecursiveInternal() +50<br>   System.Web.UI.Control.PreRenderRecursiveInternal() +170<br>   System.Web.UI.Control.PreRenderRecursiveInternal() +170<br>   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2041<br></pre></td></tr></t></table><br>Does anybody have any idea what this error is about and how I might fix it?&nbsp; I don't have any assembly called DynamicClasses so I don't know why its trying to reference it.<br><br>Thanks,<br><br>Dan<br>]]>
   </description>
   <pubDate>Mon, 31 Mar 2008 22:13:59 -700</pubDate>
   <guid isPermaLink="true">http://www.ideablade.com/forum/forum_posts.asp?TID=750&amp;PID=2761#2761</guid>
  </item> 
 </channel>
</rss>