The transaction has aborted.
来源:互联网 发布:手机淘宝价格字体 编辑:程序博客网 时间:2024/06/09 03:21
这个问题曾折腾过两次,主要是因为本机的设置问题。同样的code,同样的环境,别人的页面可以正常运行,本机只可以做查询操作,只要涉及到更新DB数据就会throw这个exception。
最终解决方案如下:
1. 查看本机Servies: Distributed Transaction Coordinator 是否启用
如果没有启用,可以启用它,如果遇到不能启用的情况,可以再命令行先run一下(msdtc -resetlog)
2. 重新注册IIS:C:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\aspnet_regiis.exe -i
3. 重启IIS:iisreset
- The transaction has aborted.
- The transaction has aborted.
- WCF分布式开发常见错误(16):The Transaction has aborted,事务已经被中断
- GPDB current transaction is aborted
- Communication with the underlying transaction manager has failed
- Communication with the underlying transaction manager has failed
- CMN_1022: [FreeTDS][SQL Server]The COMMIT TRANSACTION request has no corresponding BEGIN TRANSACTION
- Ext.Net Status text: transaction aborted
- Ext3 文件系统错误 Journal has aborted
- WCF分布式开发常见错误(15):Communication with the underlying transaction manager has failed.
- Android Cannot perform this operation because the transaction has already been marked successful
- postgresql错误解决 ERROR:current transaction is aborted
- Rails控制台出现current transaction is aborted错误的解决
- LR场景运行提示:This Vuser already started a transaction with the same name, and has not yet processed the
- LR场景运行提示:This Vuser already started a transaction with the same name, and has not yet processed the
- PostgreSQL错误解决:ERROR: current transaction is aborted, commands ignored until end of transaction blockp
- postgresql ERROR: current transaction is aborted, commands ignored until end of transaction block
- ERROR: current transaction is aborted, commands ignored until end of transaction block
- 静态游标和动态游标
- 本命年
- sicily 题目分类【转】
- 精美Page分页、翻页CSS样式汇总
- Android对话框
- The transaction has aborted.
- Android应用的自动升级、更新模块的实现
- REST
- ZOJ 2588 Burning Bridges 求割边
- 开启win7隐藏虚拟AP 为手机共享wifi
- Python:实现一个小算法
- Android获取并设置Activity的亮度
- 每天一点点-EXT源码分析之四
- HTTP