Can't perform Create, Update or Delete operations on 'Table(@TableName)' because it is read-only.

原创 2007年10月07日 10:54:00

今天在应用Linq,在添加数据,出现了一个error:

Can't perform Create, Update or Delete operations on 'Table(@TableName)' because it is read-only.

上以的"@TableName" 是你在动作时的表名。

我在网站找过许多网站,很多人都有出现过这error,看来这个是常例错误,但一直没有找到解决的答案。

一时找不到问题的所在,所以我把xxxDataClasses.dbml文件删除,再重新新建一个。

Error既然消除,程式能正常Run了。

 

版权声明:本文为博主原创文章,未经博主允许不得转载。

MySQL触发器更新本表数据异常:Can’t update table ‘tbl’ in stored function/trigger because it is already used by s

如果你在触发器里面对刚刚插入的数据进行了 insert/update, 则出现这个问题。因为会造成循环的调用.   create trigger test before update o...
  • yaooch
  • yaooch
  • 2016年01月04日 15:16
  • 4698

mysql 触发器的问题 Can't update table 'tbl' in stored function/trigger because it is already used by state

mysql 触发器的问题 Can't update table 'tbl' in stored function/trigger because it is already used by state...
  • zhangjq520
  • zhangjq520
  • 2017年03月15日 17:48
  • 1726

创建触发器后不能进行修改操作,Can't update table 'psxt_user' in stored function/trigger because

为了帮助网友解决“创建触发器后不能进行修改操作,Can&#”相关的问题,中国学网通过互联网对“创建触发器后不能进行修改操作,Can&#”相关的解决方案进行了整理,用户详细问题包括:sql异常触发器Ca...
  • lqianq86
  • lqianq86
  • 2015年05月18日 16:35
  • 558

关于数据库You can't perform any operations on this connection的错误

最近应用老是运行到一段时间就垮掉,查看日志 发现报错如下:                   You can't perform any operations on this connection...
  • zxh87
  • zxh87
  • 2012年11月13日 16:15
  • 9799

Couldn't perform the operation rollback: You can't perform any operations on this connection. It has

Couldn't perform the operation rollback: You can't perform any operations on this connection. It has...
  • quzhihui321
  • quzhihui321
  • 2011年12月29日 11:27
  • 2205

ERROR 1442 (HY000): Can\'t update table \'sign\' in stored function/trigger because it is already used by statement which invoke

ERROR 1442 (HY000): Can't update table 'sign' in stored function/trigger because it is already used ...
  • qyp199312
  • qyp199312
  • 2014年07月31日 09:58
  • 675

Couldn't perform the operation setAutoCommit: You can't perform any operations on this connection. I

错误描述:java.sql.SQLException: Couldn't perform the operation setAutoCommit: You can't perform any oper...
  • lizhengnanhua
  • lizhengnanhua
  • 2013年05月22日 18:48
  • 11707

mysql -- error code [1442]; Can't update table 'table_name' in stored function/trigger because it is already used by statement w

mysql -- error code [1442]; Cant update table table_name in stored function/trigger because it is al...
  • gtuu0123
  • gtuu0123
  • 2010年04月10日 23:43
  • 6096

Couldn't perform the operation prepareStatement: You can't perform any operations on this connection

Couldn't perform the operation prepareStatement: You can't perform any operations on this connection...
  • zbz0425
  • zbz0425
  • 2013年03月01日 12:31
  • 6502

Can't update table 'tbl' in stored function/trigger because it is already used by statement which invoked this stored function/t

Whats that stuff about recursion? CREATE TABLE a ( id int(11) NOT NULL auto_increment primary...
  • ssyan
  • ssyan
  • 2011年06月28日 15:05
  • 3908
内容举报
返回顶部
收藏助手
不良信息举报
您举报文章:Can't perform Create, Update or Delete operations on 'Table(@TableName)' because it is read-only.
举报原因:
原因补充:

(最多只允许输入30个字)