Pages using transcations not working

Discussion in 'Databases' started by mohitkaushal, May 22, 2007.

Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

  1. Our website hosted on your server is using MSSQL 2005 database. Some of the pages are using functions that use TransactionScope attribute for adding/modifying content in the database. Though the application is working fine locally but when moved to the DiscountASP.NET server is is throwing following error:



    MInt.DataAccess.DBService::SqlDAL::ExecSPReturnParameters::Can't Execute Stored Procedure::prc_ins_tblUserRoleAssociation MInt.DataAccess.DBService::SqlDAL::OpenConnection::Access is denied. (Exception from HRESULT: 0x80070005 (E_ACCESSDENIED))



    It appears that either MSDTC is not properly configured or we don't have proper permissions to use it on a remote database. Need help.</BLOCKQUOTE>
     
  2. Unfortunately distributed transactions is not supported on our SQL servers.
     
  3. Bruce

    Bruce DiscountASP.NET Staff

  4. We can't, because rollbacking or commiting of transactions is dependant upon the success or failure of an outgoing email which obviously happens out of the boundaries of sql server. So, transaction is required in .NET code and we have extensively used it at quite a few places.
     
  5. Bruce

    Bruce DiscountASP.NET Staff

    I see.. Unfortunately, as raymond was saying, DTC is not supported on our platform.


    We tried getting this to work in our dev environment but didn't have much success unless we loosen the permission significantly.


    Bruce

    DiscountASP.NET
    www.DiscountASP.NET
     
Thread Status:
Threads that have been inactive for 5 years or longer are closed to further replies. Please start a new thread.

Share This Page