C# Azure with Azure SQL Server:ArgumentException:值不在预期范围内

C# Azure with Azure SQL Server:ArgumentException:值不在预期范围内,c#,sql-server,azure,transactions,azure-sql-database,C#,Sql Server,Azure,Transactions,Azure Sql Database,在本地服务器上从未见过这种情况,但在将MVC4应用程序和SQL Server数据库部署到Azure之后,我们有时会遇到以下异常,如何解决此问题 [ArgumentException: Value does not fall within the expected range.] System.Transactions.Oletx.IDtcProxyShimFactory.ConnectToProxy(String nodeName, Guid resourceManagerIdentifier,

在本地服务器上从未见过这种情况,但在将MVC4应用程序和SQL Server数据库部署到Azure之后,我们有时会遇到以下异常,如何解决此问题

[ArgumentException: Value does not fall within the expected range.]
System.Transactions.Oletx.IDtcProxyShimFactory.ConnectToProxy(String nodeName, Guid resourceManagerIdentifier, IntPtr managedIdentifier, Boolean& nodeNameMatches, UInt32& whereaboutsSize, CoTaskMemHandle& whereaboutsBuffer, IResourceManagerShim& resourceManagerShim) +0
System.Transactions.Oletx.DtcTransactionManager.Initialize() +155
System.Transactions.Oletx.DtcTransactionManager.get_ProxyShimFactory() +76
System.Transactions.TransactionInterop.GetOletxTransactionFromTransmitterPropigationToken(Byte[] propagationToken) +160
System.Transactions.TransactionStatePSPEOperation.PSPEPromote(InternalTransaction tx) +78
不知道从哪里开始调试。谢谢你的帮助

System.Transactions.Oletx.idtcproxysimfactory


Azure中不支持DTC(分布式事务协调器)。无论如何。您必须重新设计代码以摆脱分布式事务并使用简单事务。

谢谢Astakov!没有想到我们正在使用DTC。DTC是由升级引起的,如此处所述:?我想我们可以解决这个问题。再次感谢!