locked
Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)), at System.Transactions.Oletx.IDtcProxyShimFactory.ConnectToProxy RRS feed

  • Question

  • Hello All,

    I have developed an application which uses TransactionScope for managing transactions. I have recently deployed the application on server (Windows 2003 SP1). When I try to instert the application is raising an error.

     errorDescription: Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED)),
    StackTrace at System.Transactions.Oletx.IDtcProxyShimFactory.ConnectToProxy(String nodeName, Guid resourceManagerIdentifier, IntPtr managedIdentifier, Boolean& nodeNameMatches, UInt32& whereaboutsSize, CoTaskMemHandle& whereaboutsBuffer, IResourceManagerShim& resourceManagerShim)
       at System.Transactions.Oletx.DtcTransactionManager.Initialize()
       at System.Transactions.Oletx.DtcTransactionManager.get_ProxyShimFactory()
       at System.Transactions.Oletx.OletxTransactionManager.CreateTransaction(TransactionOptions properties)
       at System.Transactions.TransactionStatePromoted.EnterState(InternalTransaction tx)
       at System.Transactions.EnlistableStates.Promote(InternalTransaction tx)
       at System.Transactions.Transaction.Promote()
       at System.Transactions.TransactionInterop.ConvertToOletxTransaction(Transaction transaction)
       at System.Transactions.TransactionInterop.GetExportCookie(Transaction transaction, Byte[] whereabouts)
       at System.Data.SqlClient.SqlInternalConnection.GetTransactionCookie(Transaction transaction, Byte[] whereAbouts)
       at System.Data.SqlClient.SqlInternalConnection.EnlistNonNull(Transaction tx)
       at System.Data.SqlClient.SqlInternalConnection.Enlist(Transaction tx)
       at System.Data.SqlClient.SqlInternalConnectionTds.Activate(Transaction transaction)
       at System.Data.ProviderBase.DbConnectionInternal.ActivateConnection(Transaction transaction)
       at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject)
       at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
       at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
       at System.Data.SqlClient.SqlConnection.Open()
       at Genesis.GenesisTransactionManager.GetConnection(messageKey ConnectionName)


    I have checked all the forums and modfied MSDTC changes accordingly. As a trial I have deployed the application on other IIS server and tested. Surprisingly everything is working fine.

    Any ideas how do I get rid of this error?

    Anyone one from Frameowork team? Please help me.


    Thanks in Advance.
    .net world
    Wednesday, December 23, 2009 10:21 AM

Answers

All replies