﻿<?xml version="1.0" encoding="UTF-8"?><rss version="2.0" xmlns:dc="http://purl.org/dc/elements/1.1/"><channel><title>StrataFrame Forum » StrataFrame Application Framework - V1 » Issues  » column X does not belong to table X</title><generator>InstantForum 2017-1 Final</generator><description>StrataFrame Forum</description><link>http://forum.strataframe.net/</link><webMaster>StrataFrame Forum</webMaster><lastBuildDate>Mon, 11 May 2026 22:48:45 GMT</lastBuildDate><ttl>20</ttl><item><title>column X does not belong to table X</title><link>http://forum.strataframe.net/FindPost20142.aspx</link><description>Hi again&lt;/P&gt;&lt;P&gt;I'm really sorry to bother you with this stupid error, but I haven't been able to fix it.&lt;/P&gt;&lt;P&gt;I modified a table structure (&amp;nbsp;I added more fields ), but there was already a&amp;nbsp;BO associated to that table, so I opened the BO Mapper, re-configured the existing BO&amp;nbsp;and&amp;nbsp;I could see all the fields (new and old), I rebuilt the partial, I went back to VS and checked the BO.designer.cs file and the code for the new fields was already there, next I created a maintenance form, dropped my BO, added textboxes, etc. and did the binding.&lt;/P&gt;&lt;P&gt;But when I debugged the solution I got an error that says: column X does not belong to table X, the exception was raised in the BO.designer.cs file in the field properties region.&lt;/P&gt;&lt;P&gt;Ok, if I change the fields binded to my textboxes and use the ones that already existed before&amp;nbsp;the structure changes everything works fine, it only happens when I use the new added fields.&lt;/P&gt;&lt;P&gt;Maybe I'm skipping one o more steps when configuring the BO or something.&lt;/P&gt;&lt;P&gt;Again I'm so sorry to bother you with this, any help would be highly appreciated&lt;/P&gt;&lt;P&gt;Thanks in advance!!!!</description><pubDate>Sun, 19 Oct 2008 15:16:05 GMT</pubDate><dc:creator>Sam Garvin</dc:creator></item><item><title>RE: column X does not belong to table X</title><link>http://forum.strataframe.net/FindPost20214.aspx</link><description>Hi!!!&lt;/P&gt;&lt;P&gt;Well, the fields were there and I followed the steps you mentioned, but in the end I decided to create a brand-new BO and forget about the one that already existed (too many problems).&lt;/P&gt;&lt;P&gt;Thank you very much for your replies!!!!</description><pubDate>Sun, 19 Oct 2008 15:16:05 GMT</pubDate><dc:creator>Sam Garvin</dc:creator></item><item><title>RE: column X does not belong to table X</title><link>http://forum.strataframe.net/FindPost20149.aspx</link><description>This could come from several places depending on where and when you are getting this error.&amp;nbsp; But the most common error&amp;nbsp;is that your query doesn't include all of the columns, so when you reference the strong-typed property of the new column, it doesn't actually exist within the CurrentDataTable.&amp;nbsp; The first thing that I would do is put a break point on the Get or Set of the strong-typed property in question, and when it breaks, put the following in the watch window:&lt;/P&gt;&lt;P&gt;[codesnippet]MyBO.CurrentDataTable[/codesnippet]&lt;/P&gt;&lt;P&gt;Does the column(s) in question actually exist?&amp;nbsp; If not, there is your problem.&amp;nbsp; Otherwise, please post the full stack trace so that we can see where the error is originating.</description><pubDate>Thu, 16 Oct 2008 09:12:33 GMT</pubDate><dc:creator>Trent L. Taylor</dc:creator></item><item><title>RE: column X does not belong to table X</title><link>http://forum.strataframe.net/FindPost20148.aspx</link><description>Hi &lt;/P&gt;&lt;P&gt;I made the structure changes using the SQL Server Management Studio Express.</description><pubDate>Thu, 16 Oct 2008 09:09:24 GMT</pubDate><dc:creator>Sam Garvin</dc:creator></item><item><title>RE: column X does not belong to table X</title><link>http://forum.strataframe.net/FindPost20147.aspx</link><description>Hi Sam.&lt;/P&gt;&lt;P&gt;Have you used the DDT to make the changes to your table? If so, have you deployed your changes to your database?</description><pubDate>Thu, 16 Oct 2008 07:56:14 GMT</pubDate><dc:creator>Ivan George Borges</dc:creator></item><item><title>RE: column X does not belong to table X</title><link>http://forum.strataframe.net/FindPost20145.aspx</link><description>Hi Sam,&lt;/P&gt;&lt;P&gt;The steps I use for this are:&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;Modify table structure&lt;/LI&gt;&lt;LI&gt;Open BOM, refresh the the BO and rebuild partial&lt;/LI&gt;&lt;LI&gt;Go back to VS and rebuild the project&lt;/LI&gt;&lt;LI&gt;Use new fields anywhere.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;Some times you may need to clean up the solution (right click the solution and select cleanup) and also sometimes you may need to close VS and open it again.</description><pubDate>Thu, 16 Oct 2008 07:12:47 GMT</pubDate><dc:creator>Edhy Rijo</dc:creator></item></channel></rss>