iT Synergy Blogs

Growing Innovation - Soluciones a problemas reales

  • Facebook
  • Instagram
  • LinkedIn
  • Phone
  • Twitter
  • YouTube

Copyright © 2025 · iT Synergy·

There is no compatible TransportManager
There is no compatible TransportManager avatar

November 19, 2014 By Jaime Alonso Páez torres Leave a Comment

Caso

Estoy intentando desplegar un servicio WCF en IIS con dos endpoints  http y net.tcp.

Error

Al intentar visualizar el servicio en el navegador me generá el siguiente error:

There is no compatible TransportManager found for URI ‘net.tcp://localhost/Cliente/SIS/Infraestructura.SIS.WCF/Service.svc/mextcp’. This may be because you have used an absolute address that points outside of the virtual application, or the binding settings of the endpoint do not match those that have been set by other services or endpoints. Note that all bindings for the same protocol should have the same settings in the same application.

Solución

Al respecto hay varias soluciones googleando.

 

1.  Modificar el web config para eliminar la línea <httpRuntime targetFramework="4.5"/>

Antes:

<system.web>
  <compilation debug="true" />
  <httpRuntime targetFramework="4.5"/>
</system.web>

Después:

<system.web>
  <compilation debug="true" />
</system.web>

 

2. En caso de no funcionar y tener el servicio expuesto como net.tcp, eliminar el atributo maxConnections del netTcpBinding. Aún desconozco que relación tiene esto con el error, pero funciona! Smile

3. En otros casos, aplica que si el servicio esta siendo hospedado en IIS, sobra en el web.config un baseAddresses para el servicio.

Links relacionados.

  • http://stackoverflow.com/questions/11687364/there-is-no-compatible-transportmanager-found-error-for-net-tcp-wcf-service-m
  • http://www.c-sharpcorner.com/Blogs/6951/how-to-solve-there-is-no-compatible-transportmanager-found-f.aspx
  • https://social.msdn.microsoft.com/Forums/vstudio/en-US/bce81748-0f09-498f-ab3c-d48c02661b27/wcf-in-subdomainsubdirectory

Filed Under: WCF Tagged With: bindings, http, net.tcp, TransportManager, WCF, web.config

Please verify that the receive location exists, and that the isolated adapter runs under an account that has access to the BizTalk databases
Please verify that the receive location exists, and that the isolated adapter runs under an account that has access to the BizTalk databases avatar

June 5, 2014 By Jaime Alonso Páez torres Leave a Comment

Error

The Messaging Engine failed to register the adapter for “WCF-BasicHttp” for the receive location “/LedgerService/LedgerServiceBTS.svc”. Please verify that the receive location exists, and that the isolated adapter runs under an account that has access to the BizTalk databases.

borrar

Causa

Esto ocurre porque el usuario configurado en el Application Pool que hospeda el servicio referenciado es el mismo que está configurado en los Application Pool que hospeda los servicios expuestos por el ESB de BizTalk.

Solución

Crear un usuario de dominio o local que esté en el grupo de BizTalk Isolated Host Users, adicional a esto, el usuario debe tener permisos para correr el Application Pool que hospedará el servicio.

Pasos a seguir

  1. Se debe crear un usuario de dominio exclusivo que ejecutará los servicios web tipo isolated.
  2. Ese usuario de dominio debe pertenecer al grupo de dominio que se creó para los BizTalk Isolated Host Users. Y Validar que tenga las siguientes políticas asignadas:
    1. Adjust memory quotas for a process
    2. Log on as a service
    3. Act as part of the operating system
    4. Impersonate a Client after Authentication
    5. Log on as batch Job
  3. El usuario de dominio creado en el paso 1 debe pertenecer también al IIS_IUSR (Grupo local en cada Host de BizTalk)
  4. Asegurarse que exista un application pool en cada uno de los servidores BizTalk involucrados, con el cual se va a ejecutar el servicio con framework 4.0 y Managed Pipeline Mode == Integrated.
  5. Modificar la identidad del application pool de cada uno de los servidores BizTalk involucrados, por el usuario de dominio creado en el paso 1.
  6. Ingresar a la consola de administración de BizTalk Server, y crear un Host de tipo Isolated e ingresar el grupo del dominio que se creó para los BizTalk Isolated Host Users.
  7. Desde la Consola de Administración de BizTalk, crear las instancias de hosts de cada servidor asociadas al host creado en el paso anterior. La configuración se debe realizar con el usuario creado en el paso 1.
  8. Desde la Consola de Administración de BizTalk, en el nodo Adapters se debe crear el receive handler WCF-CustomIsolated para el host creado en el paso 6.
  9. Cambiar el handler del Receive Location que posee el servicio WCF creado por el host creado en el paso 6.

Filed Under: BizTalk, WCF Tagged With: Isolated, Receive Location, WCF Custom

Root element is missing cuando se visualiza un servicio web net.tcp
Root element is missing cuando se visualiza un servicio web net.tcp avatar

May 27, 2014 By Jaime Alonso Páez torres Leave a Comment

Error

El siguiente error surge con un esquema expuesto como un servicio en un receive location tipo WCF-Custom que usa binding Net.tcp y que se hospeda in-process a BizTalk Server.  La descripción del servicio (wsdl) esta expuesta vía http por medio de Internet Information Services.

Este error se presenta al momento de dar browse al servicio.

WebHost failed to process a request.

Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/62476613

Exception: System.ServiceModel.ServiceActivationException: The service ‘/Test/TestSchema/TestSchemaService.svc’ cannot be activated due to an exception during compilation.  The exception message is: Root element is missing.. —> System.Xml.XmlException: Root element is missing.

   at System.Xml.XmlTextReaderImpl.Throw(Exception e)

   at System.Xml.XmlTextReaderImpl.ParseDocumentContent()

   at System.Xml.XmlTextReaderImpl.Read()

   at System.Xml.XmlReader.MoveToContent()

   at System.Xml.XmlReader.ReadStartElement(String name)

   at Microsoft.BizTalk.Adapter.Wcf.Metadata.ReceiveLocationProxy.ExtractProperties(String customCfg)

   at Microsoft.BizTalk.Adapter.Wcf.Metadata.ReceiveLocationProxy.CreateRLConfig()

   at Microsoft.BizTalk.Adapter.Wcf.Metadata.MexServiceHostFactory.CreateServiceHost(String constructorString, Uri[] baseAddresses)

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.CreateService(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(ServiceActivationInfo serviceActivationInfo, EventTraceActivity eventTraceActivity)

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

   — End of inner exception stack trace —

   at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath, EventTraceActivity eventTraceActivity)

   at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath, EventTraceActivity eventTraceActivity)

Process Name: w3wp

Alternativa de Solución

La solución no esta muy relacionada con el error arrojado por BizTalk Server ya que se trata de un problema de permisos de usuario.

El usuario usado en el application pool que hospeda el servicio (generalmente se usa un usuario que pertenezca al grupo de BizTalk Isolated Host User) para poder ver su wsdl debe pertenecer a los siguientes grupos de BizTalk Server:

  • SSO Administrators
  • SSO Affiliate Administrators
  • BizTalk Isolated Host Users
  • BizTalk Administrators (esto porque posiblemente se requiere para los procesos net.tcp ya que el servicio esta hospedado en BizTalk y no en IIS)

Por último reiniciar el servidor.

Espero les funcione!

Filed Under: BizTalk, WCF Tagged With: Custom, in-process, net.tcp, WCF, Windows 8

  • 1
  • 2
  • 3
  • …
  • 13
  • Next Page »

Team


Marco
Antonio Hernández

Jaime
Alonso Páez

Luis
Carlos Bernal

Ana
María Orozco

Juan
Camilo Zapata

Sonia
Elizabeth Soriano

Diana
Díaz Grijalba

Carlos
Alberto Rueda

Bernardo
Enrique Cardales

Alexandra
Bravo Restrepo

Juan
Alberto Vélez

Diana
Paola Padilla

Jhon
Jairo Rodriguez

Brayan
Ruiz

Jesús
Javier Hernández

Alejandro
Garcia Forero

Gustavo
Adolfo Echeverry

Yully
Arias Castillo

Carlos
Andrés Vélez

Oscar
Alberto Urrea

Odahir
Rolando Salcedo

Jimmy
Quejada Meneses

Natalia
Zartha Suárez

Josué
Leonardo Bohórquez

Mario
Andrés Cortés

Eric
Yovanny Martinez

Carolina
Torres Rodríguez

Juan
Mauricio García

Tag Cloud

.NET (9) 940px (1) Analysis Services mdx (1) An attempt was made to load a program with an incorrect format. (1) ASP.NET MVC (1) Azure (3) Backup (1) BAM (7) BAM API (1) BAMTraceException (2) BI (3) BizTalk (24) Business Intelligence (6) C# (2) caracteristicas de publicacion (2) Content Editor (3) ESB (15) ESB Toolkit (3) General (4) habilitar caracteristicas (3) indexes (2) Integration Services (2) Master Page (3) MDX (2) MSE (11) net.tcp (2) Office 365 (2) Oracle (2) Performance Point (2) Public Website (2) Receive Location (2) SDK (2) Servicio Web (2) Sharepoint 2010 (2) SharePoint 2013 (4) SharePoint Online (2) SOA (8) Soap Fault (2) Sort Months MDX (2) SQL Server (2) Visual (2) Visual Studio 2010 (2) WCF (19) Windows (3) Windows 8 (17)

Categories

  • .NET (33)
  • Analysis Services (1)
  • ASP.NET MVC (2)
  • Azure (7)
  • BAM (9)
  • BAM PrimaryImport (3)
  • BigData (1)
  • BizTalk (77)
  • BizTalk 2010 configurations (57)
  • BizTalk Application (60)
  • BizTalk Services (13)
  • Business Intelligence (4)
  • Cloud (3)
  • CMD (1)
  • CodeSmith – NetTiers (2)
  • CommandPrompt (1)
  • CRM OptionSet mapping component (1)
  • Desarrollo de software (6)
  • develop (6)
  • developers (3)
  • DropBox (1)
  • Dynamics (1)
  • Enterprise Architect (1)
  • Entity Framework (1)
  • Errores BizTalk (2)
  • ESB (27)
  • ETL (1)
  • Event Viewer (1)
  • Excel Services (1)
  • Foreach loop container (1)
  • General (4)
  • Gerencia de Proyectos (2)
  • Google (1)
  • Grouped Slices (1)
  • Human Talent (1)
  • IIS (4)
  • Integración (6)
  • Integration Services (3)
  • KingswaySoft (1)
  • Lync (1)
  • MSE (13)
  • Office 365 (2)
  • Oracle Data Adapter (2)
  • Performance Point (4)
  • Picklist (1)
  • Pivot Table (1)
  • Procesos (1)
  • Pruebas (1)
  • Public Website (2)
  • Reports (1)
  • SCRUM (1)
  • SDK (2)
  • SEO (1)
  • Servicios (2)
  • Sharepoint (9)
  • SharePoint 2010 (10)
  • SharePoint 2013 (4)
  • SharePoint Online (2)
  • SharpBox (1)
  • Shortcuts (1)
  • Sin categoría (1)
  • SOA (50)
  • SQL (5)
  • SQL Server (3)
  • SQL Server Management Studio (1)
  • SSIS (3)
  • SSL (1)
  • SSO (1)
  • Tracking Profile Editor (2)
  • Twitter (1)
  • Uncategorized (1)
  • Virtual Network (2)
  • Visual Studio 11 (1)
  • Visual Studio 2010 (2)
  • Visual Studio Online (1)
  • VMware (2)
  • WCF (24)
  • Web (1)
  • Web Api (1)
  • Windows (5)
  • Windows 8 (11)
  • Windows Azure (2)
  • Windows Live Write (1)
  • Windows Phone (7)
  • Windows Phone 8 (1)
  • Windows Scheduler (1)
  • windows8 (2)
  • WindowsRT (3)
  • WP7 SDK (1)

Manage

  • Log in
  • Entries feed
  • Comments feed
  • WordPress.org