Communication with the underlying transaction manager has failed

El problema:

“Hola,

Tengo un problema con el msdtc y me preguntaba si tal vez podíais

echarme un cable. Estoy haciendo una aplicación Windows form, la base

de datos esta en un Windows 2003 server (service pack 1) y el web

service en un Windows xp(service pack 2). El problema viene con las

transacciones dtc que me lanzan un error:

Mensaje: Error de comunicación con el administrador de transacciones

subyacente.

Source:

Traza:

HelpLink:

——————————————————–

InnerException

——————————————————–
Mensaje: Error de comunicación con el administrador de transacciones

subyacente.

Source: System.Data

Traza: en

System.Data.Common.DbDataAdapter.UpdatedRowStatusErrors(RowUpdatedEventArgs

rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)

en

System.Data.Common.DbDataAdapter.UpdatedRowStatus(RowUpdatedEventArgs

rowUpdatedEvent, BatchCommandInfo[] batchCommands, Int32 commandCount)

en System.Data.Common.DbDataAdapter.Update(DataRow[] dataRows,

DataTableMapping tableMapping) en

System.Data.Common.DbDataAdapter.UpdateFromDataTable(DataTable

dataTable, DataTableMapping tableMapping) en

System.Data.Common.DbDataAdapter.Update(DataTable dataTable) en

Encuesta.CapaEntidad.EncuestaDSTableAdapters.PRG_PREGUNTATableAdapter.Update(PRG_PREGUNTADataTable

dataTable) en Encuesta.CapaDatos.EncuestaAD.Actualizar(EncuestaDS

Encuesta) en Encuesta.CapaNegocio.EncuestaCN.Actualizar(EncuestaDS

Encuesta)

TargetSite: Void

UpdatedRowStatusErrors(System.Data.Common.RowUpdatedEventArgs,

BatchCommandInfo[], Int32)

HelpLink:

Este error esta más que documentado así que me descargue el dtcping

para que me ayudara a resolverlo. El dtcping me da el siguiente error:

Problem:fail to invoke remote RPC method

Error(0x6D9) at dtcping.cpp @303

–>RPC pinging exception

–>1753(There are no more endpoints available from the endpoint

mapper.)

RPC test failed

También esta documentado (http://support.microsoft.com/?id=839880)

pero he seguido esta guía al pie de la letra y no he avanzado nada,

¿ha alguien se le ocurre que más puedo hacer?

Muchas gracias si has llegado hasta aquí leyendo. :P

La solución:

1º Añadir al servidor “Enable Network DTC Access “

dtc.JPG

2º Habilitar en el cliente y en el servidor “Enable COM Internet Services on this computer”

com.JPG

Fuentes:

Málaga .NET User Group

www.webservertalk.com

Post a Comment