<?xml version="1.0"?><?xml-stylesheet type="text/xsl" href="http://code.msdn.microsoft.com/rss.xsl"?><rss version="2.0"><channel><title>dynamicdata Work Item Rss Feed</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/List.aspx</link><description>dynamicdata Work Item Rss Description</description><item><title>CREATED ISSUE: Unable to cast object of type 'MultiMapDataContext' to type 'System.Data.Objects.ObjectContext'.</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=35</link><description>Hi guys,&lt;br /&gt;&lt;br /&gt;I have just been using Dynamic Data for the first time and got this error when I clicked on a table.&lt;br /&gt;&lt;br /&gt;Please see screenshots in the word document attached.&lt;br /&gt;&lt;br /&gt;Thanks&lt;br /&gt;</description><author>bloggs</author><pubDate>Mon, 23 Feb 2009 18:01:47 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Unable to cast object of type 'MultiMapDataContext' to type 'System.Data.Objects.ObjectContext'. 20090223P</guid></item><item><title>COMMENTED ISSUE: New Web site 'Customise Web Site' does not work properly</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=34</link><description>When I create a website, and get through the first three dialogs, until the &amp;#39;Customise Website&amp;#39; dialog appears, having Added All Modules to the Website Structure&amp;#59; &lt;br /&gt;When I click on &amp;#39;Finish&amp;#39; I then get a whole series of error dialogs.&lt;br /&gt;These come in pairs, the first one always says &amp;#34;Could not reformat document, the original format has been restored&amp;#39;&lt;br /&gt;The 2nd error dialog says &amp;#39;Could not complete the action&amp;#39;.&lt;br /&gt;&lt;br /&gt;One pair of these dialogs appears for every table in the application.&lt;br /&gt;&lt;br /&gt;Clearly  this is not working as designed.  I am unable to tell what is the root cause of this issue&lt;br /&gt;Comments: I haver the same problem generating the application against my own database - not sure what is missing as application appears to be working OK.</description><author>ColinN</author><pubDate>Wed, 22 Oct 2008 11:05:37 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: New Web site 'Customise Web Site' does not work properly 20081022A</guid></item><item><title>COMMENTED ISSUE: New Web site 'Customise Web Site' does not work properly</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=34</link><description>When I create a website, and get through the first three dialogs, until the &amp;#39;Customise Website&amp;#39; dialog appears, having Added All Modules to the Website Structure&amp;#59; &lt;br /&gt;When I click on &amp;#39;Finish&amp;#39; I then get a whole series of error dialogs.&lt;br /&gt;These come in pairs, the first one always says &amp;#34;Could not reformat document, the original format has been restored&amp;#39;&lt;br /&gt;The 2nd error dialog says &amp;#39;Could not complete the action&amp;#39;.&lt;br /&gt;&lt;br /&gt;One pair of these dialogs appears for every table in the application.&lt;br /&gt;&lt;br /&gt;Clearly  this is not working as designed.  I am unable to tell what is the root cause of this issue&lt;br /&gt;Comments: I have installed Dynamic Data Website Wizard newly and I&amp;#39;m also experiencing the same problem is there any solution for this. </description><author>Sudheshna</author><pubDate>Mon, 22 Sep 2008 11:59:50 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: New Web site 'Customise Web Site' does not work properly 20080922A</guid></item><item><title>COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'. </title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=25</link><description>I am new to linq - what am I missing&amp;#63;&lt;br /&gt;&lt;br /&gt;I am getting this error on &amp;#47;ListDetails.aspx&lt;br /&gt;&lt;br /&gt;Server Error in &amp;#39;&amp;#47;ddtest&amp;#39; Application.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;. &lt;br /&gt;Description&amp;#58; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details&amp;#58; System.InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&lt;br /&gt;&lt;br /&gt;Source Error&amp;#58; &lt;br /&gt;&lt;br /&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &lt;br /&gt;&lt;br /&gt;Stack Trace&amp;#58; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#91;InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&amp;#93;&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ConstructContext&amp;#40;&amp;#41; &amp;#43;391&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect&amp;#40;DataSourceSelectArguments arguments&amp;#41; &amp;#43;269&lt;br /&gt;   System.Web.UI.DataSourceView.Select&amp;#40;DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback&amp;#41; &amp;#43;19&lt;br /&gt;   System.Web.UI.WebControls.DataBoundControl.PerformSelect&amp;#40;&amp;#41; &amp;#43;142&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.DataBind&amp;#40;&amp;#41; &amp;#43;73&lt;br /&gt;   System.Web.UI.WebControls.GridView.DataBind&amp;#40;&amp;#41; &amp;#43;4&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound&amp;#40;&amp;#41; &amp;#43;82&lt;br /&gt;   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls&amp;#40;&amp;#41; &amp;#43;72&lt;br /&gt;   System.Web.UI.Control.EnsureChildControls&amp;#40;&amp;#41; &amp;#43;87&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;44&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;842&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Version Information&amp;#58; Microsoft .NET Framework Version&amp;#58;2.0.50727.3031&amp;#59; ASP.NET Version&amp;#58;2.0.50727.3031 &lt;br /&gt;Comments: This is from Scott Hanselman...&amp;#10;This looks like the using the wrong data model in the wrong project type. Note you have a Linq2SQL datacontext but the errors come from the EntityDataSource. There are two project templates for Dynamic Data&amp;#58; Dynamic Data and Dynamic Data Entites. For doing Linq2Sql models you need to use the Dynamic Data project. For doing EntityFramework models you need to use the Dynamic Data Entities. We have two different project types because the templates and pages are a little different based on which model type is used.</description><author>gallwood</author><pubDate>Thu, 18 Sep 2008 06:16:47 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'.  20080918A</guid></item><item><title>COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'. </title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=25</link><description>I am new to linq - what am I missing&amp;#63;&lt;br /&gt;&lt;br /&gt;I am getting this error on &amp;#47;ListDetails.aspx&lt;br /&gt;&lt;br /&gt;Server Error in &amp;#39;&amp;#47;ddtest&amp;#39; Application.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;. &lt;br /&gt;Description&amp;#58; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details&amp;#58; System.InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&lt;br /&gt;&lt;br /&gt;Source Error&amp;#58; &lt;br /&gt;&lt;br /&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &lt;br /&gt;&lt;br /&gt;Stack Trace&amp;#58; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#91;InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&amp;#93;&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ConstructContext&amp;#40;&amp;#41; &amp;#43;391&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect&amp;#40;DataSourceSelectArguments arguments&amp;#41; &amp;#43;269&lt;br /&gt;   System.Web.UI.DataSourceView.Select&amp;#40;DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback&amp;#41; &amp;#43;19&lt;br /&gt;   System.Web.UI.WebControls.DataBoundControl.PerformSelect&amp;#40;&amp;#41; &amp;#43;142&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.DataBind&amp;#40;&amp;#41; &amp;#43;73&lt;br /&gt;   System.Web.UI.WebControls.GridView.DataBind&amp;#40;&amp;#41; &amp;#43;4&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound&amp;#40;&amp;#41; &amp;#43;82&lt;br /&gt;   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls&amp;#40;&amp;#41; &amp;#43;72&lt;br /&gt;   System.Web.UI.Control.EnsureChildControls&amp;#40;&amp;#41; &amp;#43;87&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;44&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;842&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Version Information&amp;#58; Microsoft .NET Framework Version&amp;#58;2.0.50727.3031&amp;#59; ASP.NET Version&amp;#58;2.0.50727.3031 &lt;br /&gt;Comments: This is from Scott Hanselman...&amp;#10;&amp;#10;This looks like the using the wrong data model in the wrong project type. Note you have a Linq2SQL datacontext but the errors come from the EntityDataSource. There are two project templates for Dynamic Data&amp;#58; Dynamic Data and Dynamic Data Entites. For doing Linq2Sql models you need to use the Dynamic Data project. For doing EntityFramework models you need to use the Dynamic Data Entities. We have two different project types because the templates and pages are a little different based on which model type is used.</description><author>gallwood</author><pubDate>Thu, 18 Sep 2008 06:15:41 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'.  20080918A</guid></item><item><title>CREATED ISSUE: New Web site 'Customise Web Site' does not work properly</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=34</link><description>When I create a website, and get through the first three dialogs, until the &amp;#39;Customise Website&amp;#39; dialog appears, having Added All Modules to the Website Structure&amp;#59; &lt;br /&gt;When I click on &amp;#39;Finish&amp;#39; I then get a whole series of error dialogs.&lt;br /&gt;These come in pairs, the first one always says &amp;#34;Could not reformat document, the original format has been restored&amp;#39;&lt;br /&gt;The 2nd error dialog says &amp;#39;Could not complete the action&amp;#39;.&lt;br /&gt;&lt;br /&gt;One pair of these dialogs appears for every table in the application.&lt;br /&gt;&lt;br /&gt;Clearly  this is not working as designed.  I am unable to tell what is the root cause of this issue&lt;br /&gt;</description><author>bryn</author><pubDate>Thu, 21 Aug 2008 16:33:33 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: New Web site 'Customise Web Site' does not work properly 20080821P</guid></item><item><title>CREATED ISSUE: New Website that has a int and a nvarchar foreighn key mixes them up in the DBML</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=33</link><description>If I have a child table of a parent table with a foreign key relationship, and the parent table has a primary key consisting of two fields, one being an Int, and the other a string &amp;#40;Nvarchar&amp;#40;128&amp;#41;&amp;#41;, when the wizard creates the foreign key relationship in the DBML file , it crosses over the parent int to the child string key, and vice versa.&lt;br /&gt;so that parent.mfr_id &amp;#62; child.mfr_part_no and parent.mfr_part_no &amp;#62; child.mfr_id&lt;br /&gt;&lt;br /&gt;This is despite the fact that the keys are stored correctly in the foreign key definition in the database.&lt;br /&gt;&lt;br /&gt;When this happens, the wizard stops working properly, and I find that the &amp;#39;Add Data Pages to Website&amp;#39; dialog does not populate correctly.  I am however able to click on the finish button and the application is created.  I can then fix the layout file and things work &amp;#60;sort of&amp;#62; OK.&lt;br /&gt;</description><author>bryn</author><pubDate>Thu, 21 Aug 2008 16:28:07 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: New Website that has a int and a nvarchar foreighn key mixes them up in the DBML 20080821P</guid></item><item><title>CREATED ISSUE: New Website will not use an existing Data Model</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=32</link><description>I have an existing Data Model which consists of a connection to a SQLServer Express 2005 database.&lt;br /&gt;This Data Model comes up in the list when I go to create a new website based upon the Dynamic Data wizard, however I find that in order to get the wizard to work it is necesary always to click on the &amp;#39;new connection&amp;#39; button.&lt;br /&gt;&lt;br /&gt;This strikes me as dysfunctional, and obviously it is not working as designed.&lt;br /&gt;</description><author>bryn</author><pubDate>Thu, 21 Aug 2008 16:19:58 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: New Website will not use an existing Data Model 20080821P</guid></item><item><title>CREATED ISSUE: DBImageAPI Not Working</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=31</link><description>Error&amp;#9;1&amp;#9;&amp;#39;TextField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Text.ascx.cs&amp;#9;17&amp;#9;&lt;br /&gt;Error&amp;#9;2&amp;#9;&amp;#39;MultilineText_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;MultilineText_Edit.ascx.cs&amp;#9;30&amp;#9;&lt;br /&gt;Error&amp;#9;3&amp;#9;&amp;#39;Decimal_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Decimal_Edit.ascx.cs&amp;#9;31&amp;#9;&lt;br /&gt;Error&amp;#9;4&amp;#9;&amp;#39;Text_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Text_Edit.ascx.cs&amp;#9;32&amp;#9;&lt;br /&gt;Error&amp;#9;5&amp;#9;&amp;#39;Integer_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Integer_Edit.ascx.cs&amp;#9;31&amp;#9;&lt;br /&gt;Error&amp;#9;6&amp;#9;&amp;#39;DateTime_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;DateTime_Edit.ascx.cs&amp;#9;29&amp;#9;&lt;br /&gt;Error&amp;#9;7&amp;#9;&amp;#39;ForeignKey_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;ForeignKey_Edit.ascx.cs&amp;#9;48&amp;#9;&lt;br /&gt;Error&amp;#9;8&amp;#9;&amp;#39;Boolean_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Boolean_Edit.ascx.cs&amp;#9;29&amp;#9;&lt;br /&gt;Error&amp;#9;9&amp;#9;&amp;#39;ChildrenField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Children.ascx.cs&amp;#9;55&amp;#9;&lt;br /&gt;Error&amp;#9;10&amp;#9;&amp;#39;DateTimeField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;DateTime.ascx.cs&amp;#9;17&amp;#9;&lt;br /&gt;Error&amp;#9;11&amp;#9;&amp;#39;ForeignKeyField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;ForeignKey.ascx.cs&amp;#9;55&amp;#9;&lt;br /&gt;Error&amp;#9;12&amp;#9;&amp;#39;BooleanField.DataControl&amp;#39;&amp;#58; no suitable method found to override&amp;#9;C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Boolean.ascx.cs&amp;#9;25&amp;#9;&lt;br /&gt;&lt;br /&gt;</description><author>tmahmud</author><pubDate>Mon, 30 Jun 2008 19:11:52 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: DBImageAPI Not Working 20080630P</guid></item><item><title>COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'. </title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=25</link><description>I am new to linq - what am I missing&amp;#63;&lt;br /&gt;&lt;br /&gt;I am getting this error on &amp;#47;ListDetails.aspx&lt;br /&gt;&lt;br /&gt;Server Error in &amp;#39;&amp;#47;ddtest&amp;#39; Application.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;. &lt;br /&gt;Description&amp;#58; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details&amp;#58; System.InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&lt;br /&gt;&lt;br /&gt;Source Error&amp;#58; &lt;br /&gt;&lt;br /&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &lt;br /&gt;&lt;br /&gt;Stack Trace&amp;#58; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#91;InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&amp;#93;&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ConstructContext&amp;#40;&amp;#41; &amp;#43;391&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect&amp;#40;DataSourceSelectArguments arguments&amp;#41; &amp;#43;269&lt;br /&gt;   System.Web.UI.DataSourceView.Select&amp;#40;DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback&amp;#41; &amp;#43;19&lt;br /&gt;   System.Web.UI.WebControls.DataBoundControl.PerformSelect&amp;#40;&amp;#41; &amp;#43;142&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.DataBind&amp;#40;&amp;#41; &amp;#43;73&lt;br /&gt;   System.Web.UI.WebControls.GridView.DataBind&amp;#40;&amp;#41; &amp;#43;4&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound&amp;#40;&amp;#41; &amp;#43;82&lt;br /&gt;   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls&amp;#40;&amp;#41; &amp;#43;72&lt;br /&gt;   System.Web.UI.Control.EnsureChildControls&amp;#40;&amp;#41; &amp;#43;87&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;44&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;842&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Version Information&amp;#58; Microsoft .NET Framework Version&amp;#58;2.0.50727.3031&amp;#59; ASP.NET Version&amp;#58;2.0.50727.3031 &lt;br /&gt;Comments: Me too. The code does not work I get these errors&amp;#58;&amp;#13;&amp;#10;I installed all the latest download. I am trying to use the DBIMAGEAPI but when I trt to compile it I get these following error&amp;#58; What am I missing&amp;#63;&amp;#13;&amp;#10;&amp;#13;&amp;#10;Error 1 &amp;#39;ChildrenField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Children.ascx.cs 55 29 C&amp;#58;&amp;#92;...&amp;#92;WebSite&amp;#92;&amp;#13;&amp;#10;Error 2 &amp;#39;DateTimeField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;DateTime.ascx.cs 17 &amp;#13;&amp;#10;Error 3 &amp;#39;Decimal_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Decimal_Edit.ascx.cs 31 &amp;#13;&amp;#10;Error 4 &amp;#39;TextField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Text.ascx.cs 17 &amp;#13;&amp;#10;Error 5 &amp;#39;ForeignKey_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;ForeignKey_Edit.ascx.cs 48 &amp;#13;&amp;#10;Error 6 &amp;#39;Text_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Text_Edit.ascx.cs 32 &amp;#13;&amp;#10;Error 7 &amp;#39;MultilineText_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;MultilineText_Edit.ascx.cs 30 &amp;#13;&amp;#10;Error 8 &amp;#39;DateTime_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;DateTime_Edit.ascx.cs 29 &amp;#13;&amp;#10;Error 9 &amp;#39;ForeignKeyField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;ForeignKey.ascx.cs 55 &amp;#13;&amp;#10;Error 10 &amp;#39;Boolean_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Boolean_Edit.ascx.cs 29 &amp;#13;&amp;#10;Error 11 &amp;#39;BooleanField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Boolean.ascx.cs 25 &amp;#13;&amp;#10;Error 12 &amp;#39;Integer_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Integer_Edit.ascx.cs 31 &amp;#13;&amp;#10;&amp;#13;&amp;#10;</description><author>tmahmud</author><pubDate>Mon, 30 Jun 2008 18:46:50 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'.  20080630P</guid></item><item><title>CREATED ISSUE: The code does not work?</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=30</link><description>I installed all the latest download. I am trying to use the DBIMAGEAPI but when I trt to compile it I get these following error&amp;#58; What am I missing&amp;#63;&lt;br /&gt;&lt;br /&gt;Error 1 &amp;#39;ChildrenField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Children.ascx.cs 55 29 C&amp;#58;&amp;#92;...&amp;#92;WebSite&amp;#92;&lt;br /&gt;Error 2 &amp;#39;DateTimeField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;DateTime.ascx.cs 17 &lt;br /&gt;Error 3 &amp;#39;Decimal_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Decimal_Edit.ascx.cs 31 &lt;br /&gt;Error 4 &amp;#39;TextField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Text.ascx.cs 17 &lt;br /&gt;Error 5 &amp;#39;ForeignKey_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;ForeignKey_Edit.ascx.cs 48 &lt;br /&gt;Error 6 &amp;#39;Text_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Text_Edit.ascx.cs 32 &lt;br /&gt;Error 7 &amp;#39;MultilineText_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;MultilineText_Edit.ascx.cs 30 &lt;br /&gt;Error 8 &amp;#39;DateTime_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;DateTime_Edit.ascx.cs 29 &lt;br /&gt;Error 9 &amp;#39;ForeignKeyField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;ForeignKey.ascx.cs 55 &lt;br /&gt;Error 10 &amp;#39;Boolean_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Boolean_Edit.ascx.cs 29 &lt;br /&gt;Error 11 &amp;#39;BooleanField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Boolean.ascx.cs 25 &lt;br /&gt;Error 12 &amp;#39;Integer_EditField.DataControl&amp;#39;&amp;#58; no suitable method found to override C&amp;#58;&amp;#92;Documents and Settings&amp;#92;tmahmud&amp;#92;My Documents&amp;#92;Visual Studio 2008&amp;#92;WebSites&amp;#92;DbImageAPI&amp;#92;WebSite&amp;#92;DynamicData&amp;#92;FieldTemplates&amp;#92;Integer_Edit.ascx.cs 31 &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;</description><author>tmahmud</author><pubDate>Mon, 30 Jun 2008 18:45:40 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: The code does not work? 20080630P</guid></item><item><title>COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'. </title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=25</link><description>I am new to linq - what am I missing&amp;#63;&lt;br /&gt;&lt;br /&gt;I am getting this error on &amp;#47;ListDetails.aspx&lt;br /&gt;&lt;br /&gt;Server Error in &amp;#39;&amp;#47;ddtest&amp;#39; Application.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;. &lt;br /&gt;Description&amp;#58; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details&amp;#58; System.InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&lt;br /&gt;&lt;br /&gt;Source Error&amp;#58; &lt;br /&gt;&lt;br /&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &lt;br /&gt;&lt;br /&gt;Stack Trace&amp;#58; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#91;InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&amp;#93;&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ConstructContext&amp;#40;&amp;#41; &amp;#43;391&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect&amp;#40;DataSourceSelectArguments arguments&amp;#41; &amp;#43;269&lt;br /&gt;   System.Web.UI.DataSourceView.Select&amp;#40;DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback&amp;#41; &amp;#43;19&lt;br /&gt;   System.Web.UI.WebControls.DataBoundControl.PerformSelect&amp;#40;&amp;#41; &amp;#43;142&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.DataBind&amp;#40;&amp;#41; &amp;#43;73&lt;br /&gt;   System.Web.UI.WebControls.GridView.DataBind&amp;#40;&amp;#41; &amp;#43;4&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound&amp;#40;&amp;#41; &amp;#43;82&lt;br /&gt;   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls&amp;#40;&amp;#41; &amp;#43;72&lt;br /&gt;   System.Web.UI.Control.EnsureChildControls&amp;#40;&amp;#41; &amp;#43;87&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;44&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;842&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Version Information&amp;#58; Microsoft .NET Framework Version&amp;#58;2.0.50727.3031&amp;#59; ASP.NET Version&amp;#58;2.0.50727.3031 &lt;br /&gt;Comments: Server Error in &amp;#39;&amp;#47;&amp;#39; Application.&amp;#10;--------------------------------------------------------------------------------&amp;#10;&amp;#10;Unable to cast object of type &amp;#39;Test_Data.DOPDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;. &amp;#10;Description&amp;#58; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &amp;#10;&amp;#10;Exception Details&amp;#58; System.InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;Test_Data.DOPDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&amp;#10;&amp;#10;Source Error&amp;#58; &amp;#10;&amp;#10;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &amp;#10;&amp;#10;Stack Trace&amp;#58; &amp;#10;&amp;#10;&amp;#10;&amp;#91;InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;Test_Data.DOPDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&amp;#93;&amp;#10;   System.Web.UI.WebControls.EntityDataSourceView.ConstructContext&amp;#40;&amp;#41; &amp;#43;391&amp;#10;   System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect&amp;#40;DataSourceSelectArguments arguments&amp;#41; &amp;#43;269&amp;#10;   System.Web.UI.DataSourceView.Select&amp;#40;DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback&amp;#41; &amp;#43;19&amp;#10;   System.Web.UI.WebControls.DataBoundControl.PerformSelect&amp;#40;&amp;#41; &amp;#43;142&amp;#10;   System.Web.UI.WebControls.BaseDataBoundControl.DataBind&amp;#40;&amp;#41; &amp;#43;73&amp;#10;   System.Web.UI.WebControls.GridView.DataBind&amp;#40;&amp;#41; &amp;#43;4&amp;#10;   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound&amp;#40;&amp;#41; &amp;#43;82&amp;#10;   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls&amp;#40;&amp;#41; &amp;#43;72&amp;#10;   System.Web.UI.Control.EnsureChildControls&amp;#40;&amp;#41; &amp;#43;87&amp;#10;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;44&amp;#10;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&amp;#10;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&amp;#10;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&amp;#10;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&amp;#10;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&amp;#10;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&amp;#10;   System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;842&amp;#10;&amp;#10; &amp;#10;</description><author>straga</author><pubDate>Sat, 28 Jun 2008 21:57:40 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'.  20080628P</guid></item><item><title>COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'. </title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=25</link><description>I am new to linq - what am I missing&amp;#63;&lt;br /&gt;&lt;br /&gt;I am getting this error on &amp;#47;ListDetails.aspx&lt;br /&gt;&lt;br /&gt;Server Error in &amp;#39;&amp;#47;ddtest&amp;#39; Application.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;. &lt;br /&gt;Description&amp;#58; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details&amp;#58; System.InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&lt;br /&gt;&lt;br /&gt;Source Error&amp;#58; &lt;br /&gt;&lt;br /&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &lt;br /&gt;&lt;br /&gt;Stack Trace&amp;#58; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#91;InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&amp;#93;&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ConstructContext&amp;#40;&amp;#41; &amp;#43;391&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect&amp;#40;DataSourceSelectArguments arguments&amp;#41; &amp;#43;269&lt;br /&gt;   System.Web.UI.DataSourceView.Select&amp;#40;DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback&amp;#41; &amp;#43;19&lt;br /&gt;   System.Web.UI.WebControls.DataBoundControl.PerformSelect&amp;#40;&amp;#41; &amp;#43;142&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.DataBind&amp;#40;&amp;#41; &amp;#43;73&lt;br /&gt;   System.Web.UI.WebControls.GridView.DataBind&amp;#40;&amp;#41; &amp;#43;4&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound&amp;#40;&amp;#41; &amp;#43;82&lt;br /&gt;   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls&amp;#40;&amp;#41; &amp;#43;72&lt;br /&gt;   System.Web.UI.Control.EnsureChildControls&amp;#40;&amp;#41; &amp;#43;87&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;44&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;842&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Version Information&amp;#58; Microsoft .NET Framework Version&amp;#58;2.0.50727.3031&amp;#59; ASP.NET Version&amp;#58;2.0.50727.3031 &lt;br /&gt;Comments: I have same problem, VS2008 Std SP1beta, NEt3.5 beta. what wrong</description><author>straga</author><pubDate>Sat, 28 Jun 2008 21:56:04 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'.  20080628P</guid></item><item><title>COMMENTED ISSUE: Error in the partial DataContext class generated by the Wizard (VB)</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=28</link><description>When I run the Wizard and provide a namespace, the declaration for the partial DataContext VB class is invalid. Instead of providing a namespace, it says,&lt;br /&gt;Partial Public Class MyNamespace.NorthwindDataContext.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using the 5-23 release. Everything else compiles fine.&lt;br /&gt;&lt;br /&gt;ulu&lt;br /&gt;Comments: Hi ulu,&amp;#13;&amp;#10;Thank you for reporting the issue.  This is a known issue and will be fix in the future build.&amp;#13;&amp;#10;Thanks,&amp;#13;&amp;#10;Lan</description><author>LanO</author><pubDate>Tue, 17 Jun 2008 03:23:59 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Error in the partial DataContext class generated by the Wizard (VB) 20080617A</guid></item><item><title>CREATED ISSUE: Form for inserting a new record retrieves all the records in the table</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=29</link><description>Using the May-23 &amp;#40;beta&amp;#41; release, create a new dynamic data web site &amp;#40;not using the wizard&amp;#41;. Go to a page for one of the tables, click &amp;#34;Insert new item&amp;#34; - this appears to retrieve ALL the existing rows in the table to build an empty data entry form, and this can take a noticeable time if the table has a large number of records.&lt;br /&gt;&lt;br /&gt;It would be better if the query used to retrieve the data set &amp;#40;to use to construct the form for inserting&amp;#41; included the equivalent of a &amp;#34;TOP 1&amp;#34; or a &amp;#34;WHERE 1&amp;#61;0&amp;#34; clause, so that only 1 or 0 records are retrieved from the database.&lt;br /&gt;</description><author>DotNetUser</author><pubDate>Mon, 16 Jun 2008 17:37:53 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Form for inserting a new record retrieves all the records in the table 20080616P</guid></item><item><title>CREATED ISSUE: Error in the partial DataContext class generated by the Wizard (VB)</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=28</link><description>When I run the Wizard and provide a namespace, the declaration for the partial DataContext VB class is invalid. Instead of providing a namespace, it says,&lt;br /&gt;Partial Public Class MyNamespace.NorthwindDataContext.&lt;br /&gt;&lt;br /&gt;I&amp;#39;m using the 5-23 release. Everything else compiles fine.&lt;br /&gt;&lt;br /&gt;ulu&lt;br /&gt;</description><author>ulu</author><pubDate>Mon, 09 Jun 2008 17:33:36 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Error in the partial DataContext class generated by the Wizard (VB) 20080609P</guid></item><item><title>CREATED ISSUE: NullReference exception with custom model provider in ListDetails.aspx</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=27</link><description>I&amp;#39;m experiencing a NullReferenceException with the POCO Provider sample and the ListDetails.aspx, it seems as if the DynamicData AutoFieldGenerator is unable to read my model properly and crashes.&lt;br /&gt;The model doesn&amp;#39;t have &amp;#91;DisplayColumn&amp;#93; stuff on it or any other hints how the model should look on the webpage. However I don&amp;#39;t think that should be required.&lt;br /&gt;&lt;br /&gt;The stack trace is posted below&amp;#58;&lt;br /&gt;&lt;br /&gt;NullReferenceException&amp;#58; De objectverwijzing is niet op een exemplaar van een object ingesteld.&amp;#93;&lt;br /&gt;   System.Web.DynamicData.MetaColumn.get_Attributes&amp;#40;&amp;#41; &amp;#43;98&lt;br /&gt;   System.Web.DynamicData.MetaColumn.RetrieveMetaData&amp;#40;&amp;#41; &amp;#43;67&lt;br /&gt;   System.Web.DynamicData.MetaColumn.EnsureMetadata&amp;#40;&amp;#41; &amp;#43;118&lt;br /&gt;   System.Web.DynamicData.MetaColumn.get_Scaffold&amp;#40;&amp;#41; &amp;#43;45&lt;br /&gt;   System.Web.DynamicData.AutoFieldGenerator.GenerateFields&amp;#40;Control control&amp;#41; &amp;#43;181&lt;br /&gt;   System.Web.UI.WebControls.GridView.CreateColumns&amp;#40;PagedDataSource dataSource, Boolean useDataSource&amp;#41; &amp;#43;663&lt;br /&gt;   System.Web.UI.WebControls.GridView.CreateChildControls&amp;#40;IEnumerable dataSource, Boolean dataBinding&amp;#41; &amp;#43;640&lt;br /&gt;   System.Web.UI.WebControls.CompositeDataBoundControl.PerformDataBinding&amp;#40;IEnumerable data&amp;#41; &amp;#43;57&lt;br /&gt;   System.Web.UI.WebControls.GridView.PerformDataBinding&amp;#40;IEnumerable data&amp;#41; &amp;#43;14&lt;br /&gt;   System.Web.UI.WebControls.DataBoundControl.OnDataSourceViewSelectCallback&amp;#40;IEnumerable data&amp;#41; &amp;#43;114&lt;br /&gt;   System.Web.UI.DataSourceView.Select&amp;#40;DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback&amp;#41; &amp;#43;31&lt;br /&gt;   System.Web.UI.WebControls.DataBoundControl.PerformSelect&amp;#40;&amp;#41; &amp;#43;142&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.DataBind&amp;#40;&amp;#41; &amp;#43;73&lt;br /&gt;   System.Web.UI.WebControls.GridView.DataBind&amp;#40;&amp;#41; &amp;#43;4&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound&amp;#40;&amp;#41; &amp;#43;82&lt;br /&gt;   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls&amp;#40;&amp;#41; &amp;#43;72&lt;br /&gt;   System.Web.UI.Control.EnsureChildControls&amp;#40;&amp;#41; &amp;#43;87&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;44&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;842&lt;br /&gt;</description><author>WMeints</author><pubDate>Thu, 05 Jun 2008 21:18:19 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: NullReference exception with custom model provider in ListDetails.aspx 20080605P</guid></item><item><title>CREATED ISSUE: First row in GridView don't have to be selected</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=26</link><description>On List.aspx, first row is selected by default. Why&amp;#63; On ListDetails.aspx we need to select first row, but on List.aspx. I think no.&lt;br /&gt;</description><author>dfed</author><pubDate>Wed, 04 Jun 2008 10:30:15 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: First row in GridView don't have to be selected 20080604A</guid></item><item><title>COMMENTED ISSUE: Sorting with Metadata Attributes</title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=22</link><description>&lt;br /&gt;I am trying to sort an automatically generated dropdown in an DynamicGridView, and would love to know if there is a metadata attribute I can use to do that.&lt;br /&gt;&lt;br /&gt;Right now it is sorting by the column&amp;#39;s ID field rather than its Name field. &lt;br /&gt;&lt;br /&gt;If there is a way to do an &amp;#34;ORDER BY&amp;#34; that does not involve metadata, I would be interested in that as well.&lt;br /&gt;&lt;br /&gt;case&lt;br /&gt;Comments: This sort of question would be answered quicker on the DynamicData &amp;#60;a href&amp;#61;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;forums.asp.net&amp;#47;1145.aspx&amp;#34;&amp;#62;forum&amp;#60;a&amp;#62;, you may wich to look at my post regarding this on my blog at &amp;#60;a href&amp;#61;&amp;#34;http&amp;#58;&amp;#47;&amp;#47;csharpbits.notaclue.net&amp;#47;2008&amp;#47;05&amp;#47;dynamicdata-sorting-filterusercontrol.html&amp;#34;&amp;#62;Sorting - FilterUserControl and ForeignKey_Edit.ascx user controls&amp;#60;&amp;#47;a&amp;#62;</description><author>Steve</author><pubDate>Mon, 02 Jun 2008 10:50:30 GMT</pubDate><guid isPermaLink="false">COMMENTED ISSUE: Sorting with Metadata Attributes 20080602A</guid></item><item><title>CREATED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'. </title><link>http://code.msdn.microsoft.com/dynamicdata/WorkItem/View.aspx?WorkItemId=25</link><description>I am new to linq - what am I missing&amp;#63;&lt;br /&gt;&lt;br /&gt;I am getting this error on &amp;#47;ListDetails.aspx&lt;br /&gt;&lt;br /&gt;Server Error in &amp;#39;&amp;#47;ddtest&amp;#39; Application.&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;&lt;br /&gt;Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;. &lt;br /&gt;Description&amp;#58; An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code. &lt;br /&gt;&lt;br /&gt;Exception Details&amp;#58; System.InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&lt;br /&gt;&lt;br /&gt;Source Error&amp;#58; &lt;br /&gt;&lt;br /&gt;An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.  &lt;br /&gt;&lt;br /&gt;Stack Trace&amp;#58; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;&amp;#91;InvalidCastException&amp;#58; Unable to cast object of type &amp;#39;veenatestDataContext&amp;#39; to type &amp;#39;System.Data.Objects.ObjectContext&amp;#39;.&amp;#93;&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ConstructContext&amp;#40;&amp;#41; &amp;#43;391&lt;br /&gt;   System.Web.UI.WebControls.EntityDataSourceView.ExecuteSelect&amp;#40;DataSourceSelectArguments arguments&amp;#41; &amp;#43;269&lt;br /&gt;   System.Web.UI.DataSourceView.Select&amp;#40;DataSourceSelectArguments arguments, DataSourceViewSelectCallback callback&amp;#41; &amp;#43;19&lt;br /&gt;   System.Web.UI.WebControls.DataBoundControl.PerformSelect&amp;#40;&amp;#41; &amp;#43;142&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.DataBind&amp;#40;&amp;#41; &amp;#43;73&lt;br /&gt;   System.Web.UI.WebControls.GridView.DataBind&amp;#40;&amp;#41; &amp;#43;4&lt;br /&gt;   System.Web.UI.WebControls.BaseDataBoundControl.EnsureDataBound&amp;#40;&amp;#41; &amp;#43;82&lt;br /&gt;   System.Web.UI.WebControls.CompositeDataBoundControl.CreateChildControls&amp;#40;&amp;#41; &amp;#43;72&lt;br /&gt;   System.Web.UI.Control.EnsureChildControls&amp;#40;&amp;#41; &amp;#43;87&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;44&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Control.PreRenderRecursiveInternal&amp;#40;&amp;#41; &amp;#43;171&lt;br /&gt;   System.Web.UI.Page.ProcessRequestMain&amp;#40;Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint&amp;#41; &amp;#43;842&lt;br /&gt;&lt;br /&gt; &lt;br /&gt;&lt;br /&gt;&lt;br /&gt;--------------------------------------------------------------------------------&lt;br /&gt;Version Information&amp;#58; Microsoft .NET Framework Version&amp;#58;2.0.50727.3031&amp;#59; ASP.NET Version&amp;#58;2.0.50727.3031 &lt;br /&gt;</description><author>Veena</author><pubDate>Wed, 28 May 2008 00:25:41 GMT</pubDate><guid isPermaLink="false">CREATED ISSUE: Unable to cast object of type 'mytestDataContext' to type 'System.Data.Objects.ObjectContext'.  20080528A</guid></item></channel></rss>