MSSQL Error 'The underlying provider failed on Open'

前端 未结 30 2676
时光取名叫无心
时光取名叫无心 2020-11-22 09:51

I was using an .mdf for connecting to a database and entityClient. Now I want to change the connection string so that there will be no

30条回答
  •  心在旅途
    2020-11-22 10:23

    I had a similar error with the inner exception as below:

    operation is not valid for the state of the transaction

    I could resolve it by enabling DTC security settings.

    Go To Properties of DTC, under Security Tab, check the below

    • Network DTC Access
    • Allow RemoteClients
    • Transaction Manager Communication
    • Allow Inbound
    • Allow Outbound

提交回复
热议问题