蘋果虫 2018-01-04 09:43 采纳率: 100%
浏览 1648
已采纳

ABP 框架 the underlying provider failed on open

公司最近使用ABP 框架 开发项目,遇到这个问题,一直困扰着我,
底层提供商未能打开(the underlying provider failed on open),
有用到过EF
项目是C/S结构的,有六台电脑,五台都能正常运行,唯独有一台运行不起来,报错:the underlying provider failed on open。
数据库连接的都是同一台服务器,服务器和客户端六台电脑都配置好MSDTC的。

异常信息:The transaction has aborted.

System.Transactions.TransactionAbortedException: The transaction has aborted.
at System.Transactions.TransactionStateAborted.BeginCommit(InternalTransaction tx, Boolean asyncCommit, AsyncCallback asyncCallback, Object asyncState)
at System.Transactions.CommittableTransaction.Commit()
at System.Transactions.TransactionScope.InternalDispose()
at System.Transactions.TransactionScope.Dispose()
at Abp.EntityFramework.Uow.TransactionScopeEfTransactionStrategy.Commit()
at Abp.EntityFramework.Uow.EfUnitOfWork.CompleteUow()
at Abp.Domain.Uow.UnitOfWorkBase.Complete()
at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformSyncUow(IInvocation invocation, UnitOfWorkOptions options)
at Abp.Domain.Uow.UnitOfWorkInterceptor.PerformUow(IInvocation invocation, UnitOfWorkOptions options)
at Abp.Domain.Uow.UnitOfWorkInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Abp.Auditing.AuditingInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Abp.Runtime.Validation.Interception.ValidationInterceptor.Intercept(IInvocation invocation)
at Castle.DynamicProxy.AbstractInvocation.Proceed()
at Castle.Proxies.LoginAppServiceProxy.GetLoginMachineInfo(String MAC, Int32 MachineTypeID)
at HKManage.NewRcGMS.FrmGMSLoading.RunCheck(String& strPayType)
at HKManage.NewRcGMS.FrmGMSLoading.CheckStart()

  • 写回答

1条回答

  • threenewbee 2018-01-04 15:27
    关注
    本回答被题主选为最佳回答 , 对您是否有帮助呢?
    评论

报告相同问题?

悬赏问题

  • ¥60 版本过低apk如何修改可以兼容新的安卓系统
  • ¥25 由IPR导致的DRIVER_POWER_STATE_FAILURE蓝屏
  • ¥50 有数据,怎么建立模型求影响全要素生产率的因素
  • ¥50 有数据,怎么用matlab求全要素生产率
  • ¥15 TI的insta-spin例程
  • ¥15 完成下列问题完成下列问题
  • ¥15 C#算法问题, 不知道怎么处理这个数据的转换
  • ¥15 YoloV5 第三方库的版本对照问题
  • ¥15 请完成下列相关问题!
  • ¥15 drone 推送镜像时候 purge: true 推送完毕后没有删除对应的镜像,手动拷贝到服务器执行结果正确在样才能让指令自动执行成功删除对应镜像,如何解决?