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

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
    已采纳
    评论
    解决 无用
    打赏 举报

相关推荐 更多相似问题