Microsoft Developer Network > Forums Home > BizTalk Server Forums > BizTalk ESB Toolkit > UDDI configuration with Microsoft.Practices.ESB.UDDIPublisher keeps failing to run correctly
Ask a questionAsk a question
 

QuestionUDDI configuration with Microsoft.Practices.ESB.UDDIPublisher keeps failing to run correctly

  • Monday, October 26, 2009 2:58 PMBasj3 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    When I try to run the Publisher application for the registration of the ESB webservices I keep getting an error. I searched all of internet and found some hints like SSL is checked in the UDDI server (Not the case.). Also looked in the Service Trace Viewer and found that an exception is thrown when running the publish application. (Details below). The error is :
    Error 285012: An unexpected error occurred retrieving the Business information in Uddi for Business name, 'Microsoft.Practices.ESB.UDDI3.UddiClientException: Error 285008: An unexpected error occurred retrieving all the Uddi Business Information for the Business name 'System.ServiceModel.FaultException

    Server stack trace:
       at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)
       at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
       at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
       at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)

    Exception rethrown at [0]:
       at System.Runtime.Remoting.Proxies.RealProxy.HandleReturnMessage(IMessage reqMsg, IMessage retMsg)
       at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData& msgData, Int32 type)
       at Microsoft.Practices.ESB.UDDI3.UDDI_Inquiry_PortType.find_business(find_businessRequest request)
       at Microsoft.Practices.ESB.UDDI3.UDDI_Inquiry_PortTypeClient.Microsoft.Practices.ESB.UDDI3.UDDI_Inquiry_PortType.find_business(find_businessRequest request)
       at Microsoft.Practices.ESB.UDDI3.UddiClient.GetBusinessByName(String businessName)'.
       at Microsoft.Practices.ESB.UDDI3.UddiClient.GetBusinessByName(String businessName)
       at Microsoft.Practices.ESB.UDDI3.UddiClient.GetMyBusinessByName(String businessName)'.

    Source: Microsoft.Practices.ESB.UDDI3.UddiClient

    Method: System.String SaveBusiness(System.String, System.String)

    Error Source: Microsoft.Practices.ESB.UDDI3

    Error TargetSite: Microsoft.Practices.ESB.UDDI3.businessInfo GetMyBusinessByName(System.String) 

    Error StackTrace:    at Microsoft.Practices.ESB.UDDI3.UddiClient.GetMyBusinessByName(String businessName)
       at Microsoft.Practices.ESB.UDDI3.UddiClient.SaveBusiness(String businessName, String description)

    XML Of the trace log for the application.

    <E2ETraceEvent xmlns="http://schemas.microsoft.com/2004/06/E2ETraceEvent">
    <System xmlns="http://schemas.microsoft.com/2004/06/windows/eventlog/system">
    <EventID>131075</EventID>
    <Type>3</Type>
    <SubType Name="Warning">0</SubType>
    <Level>4</Level>
    <TimeCreated SystemTime="2009-10-26T14:20:41.1395953Z" />
    <Source Name="System.ServiceModel" />
    <Correlation ActivityID="{00000000-0000-0000-0000-000000000000}" />
    <Execution ProcessName="Microsoft.Practices.ESB.UDDIPublisher" ProcessID="2508" ThreadID="1" />
    <Channel />
    <Computer>WIN-PMEJJ9LORO3</Computer>
    </System>
    <ApplicationData>
    <TraceData>
    <DataItem>
    <TraceRecord xmlns="http://schemas.microsoft.com/2004/10/E2ETraceEvent/TraceRecord" Severity="Warning">
    <TraceIdentifier>http://msdn.microsoft.com/en-US/library/System.ServiceModel.Diagnostics.ThrowingException.aspx</TraceIdentifier>
    <Description>Throwing an exception.</Description>
    <AppDomain>Microsoft.Practices.ESB.UDDIPublisher.exe</AppDomain>
    <Exception>
    <ExceptionType>System.ServiceModel.FaultException, System.ServiceModel, Version=3.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089</ExceptionType>
    <Message></Message>
    <StackTrace>
    at System.ServiceModel.Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc&amp; rpc)
    at System.ServiceModel.Channels.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs, TimeSpan timeout)
    at System.ServiceModel.Channels.ServiceChannelProxy.InvokeService(IMethodCallMessage methodCall, ProxyOperationRuntime operation)
    at System.ServiceModel.Channels.ServiceChannelProxy.Invoke(IMessage message)
    at System.Runtime.Remoting.Proxies.RealProxy.PrivateInvoke(MessageData&amp; msgData, Int32 type)
    at Microsoft.Practices.ESB.UDDI3.UDDI_Security_PortType.get_authToken(get_authTokenRequest request)
    at Microsoft.Practices.ESB.UDDI3.UDDI_Security_PortTypeClient.Microsoft.Practices.ESB.UDDI3.UDDI_Security_PortType.get_authToken(get_authTokenRequest request)
    at Microsoft.Practices.ESB.UDDI3.UddiClient.SetUddiAuthentication(String username, String password, String url, BasicHttpSecurityMode securityMode, HttpClientCredentialType credential)
    at Microsoft.Practices.ESB.UDDIPublisher.Publish.Main(String[] args)
    </StackTrace>
    <ExceptionString>System.ServiceModel.FaultException</ExceptionString>
    </Exception>
    </TraceRecord>
    </DataItem>
    </TraceData>
    </ApplicationData>
    </E2ETraceEvent>

    The system consists of a 2008 Server with UDDI 3.0 SQL 2008.
    Anybody recognizes this error or has a solution ?

All Replies

  • Monday, November 16, 2009 8:22 AMBasj3 Users MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     
    Already solved.....

    I installed BizTalk and skipped the step of the UDDI install because UDDI was installed by Windows Server 2008 R2. I thought that this was the same release...... NOT :-(. So after deinstall of UDDI 2 and install of UDDI 3 included on the BizTalk disc everything worked fine......
  • Tuesday, November 17, 2009 3:37 PMBen Cline1MVPUsers MedalsUsers MedalsUsers MedalsUsers MedalsUsers Medals
     

    I wish the wizard would check for UDDI 2 vs. UDDI 3. This is a common pitfall.

    Thanks,


    If this answers your question, please use the "Answer" button to say so | Ben Cline