"column "x" does not belong to table "y""
2010-06-29 14:37
573 查看
an error such as "column "x" does not belong to table "y"" occurs randomly within an ASP.NET site care should be taken to ensure that a single SQLConnection object is not accessed from multiple threads.
There are a couple of scenarios where this might occur:
SQLConnection declared within a shared class.
SQLConnection stored in a session or application variable.
Ensuring that a new SQLConnection object is created for every page request when needed is the best way to prevent these errors from happening.
There are a couple of scenarios where this might occur:
SQLConnection declared within a shared class.
SQLConnection stored in a session or application variable.
Ensuring that a new SQLConnection object is created for every page request when needed is the best way to prevent these errors from happening.
相关文章推荐
- Column does not belong to table error!
- Column 'column' does not belong to table Table
- Proposed solution for the NHibernate exception “Column ‘Reserved Word’ does not belong to table ReservedWords.”
- Ado.Net间歇性问题的一种解决办法 :Column 'column' does not belong to table Table
- Column <Column Name> does not belong to table Table
- 问题网站报错“Column sumquantity does not belong to table ”
- Column 'Column Name' does not belong to table Table
- "hadoop fs -conf " does not work
- Device eth0 does not seem to be present" on cloned CentOS VM
- 关于PostgreSQL数据库的 ERROR: relation "tableName" does not exist
- "Host 'localhost' is not allowed to connect to this MySQL server" 的原因及解决办法
- xcrun: error: active developer path ("..") does not exist, use `xcode-select --switch path/to/Xcode.
- 如何解决sql server2005的“不允许远程连接”错误.(how to resolve the error: "SQL Server does not allow remote connections" for SQL Server2005)
- (EE) Failed to load module "fbdev" (module does not exist, 0)
- ERROR:column "rolcatupdate" does not exist
- "table" is not mapped 解决方法
- "main" org.apache.hadoop.mapred.InvalidInputException: Input path does not exist: file
- mac安装jello,安装不过去,报gyp WARN EACCES user "root" does not have permission to access the dev dir "/root/
- 邮件发送中的"server does not support secure connection."
- how to solve "java.sql.Timestamp does not have a no-arg default constructor" ?