From: John on
Hello,

i have a problem with SQL2005 and VB2005.

I receive randomly this error when calling a "select from a table"

Random Error1:
Column 'mycolumn' does not belong to table .

Server stack trace:
at System.Data.DataRow.GetDataColumn(String columnName)
at System.Data.DataRow.get_Item(String columnName)

or

Random Error2:
Cannot find column [column1].

Server stack trace:
at System.Data.NameNode.Bind(DataTable table, List`1 list)
at System.Data.BinaryNode.Bind(DataTable table, List`1 list)

Where is the problem?


From: Author on
On Jul 16, 11:56 am, "John" <a...(a)a.it> wrote:
> Hello,
>
> i have a problem with SQL2005 and VB2005.
>
> I receive randomly this error when calling a "select from a table"
>
> Random Error1:
> Column 'mycolumn' does not belong to table .
>
> Server stack trace:
>    at System.Data.DataRow.GetDataColumn(String columnName)
>    at System.Data.DataRow.get_Item(String columnName)
>
> or
>
> Random Error2:
> Cannot find column [column1].
>
> Server stack trace:
>    at System.Data.NameNode.Bind(DataTable table, List`1 list)
>    at System.Data.BinaryNode.Bind(DataTable table, List`1 list)
>
> Where is the problem?

Where is the code?