'The entry '*' has already been added...' error in June CTP Refresh

Jun 19, 2008 at 10:12 PM
I've just installed the latest June CTP Refresh on Windows 2008, and was about to test the UDDI integration when I've ran into the UDDI run-time error while syncronizing all operations from the MSE console. Later, I couldn't even test the simple Calculator service using the Service Tester utility. After inspecting the logs files generated in the temp\logs directory, I found that both failures related to the similiar error generated while trying to read the configuration files: Microsoft.MSE.Catalog.ServiceHost.exe.config and Microsoft.MSE.Runtime.ServiceHost.exe.config for UDDI publishing and Service Test correspondingly. The error was stating I have "The entry '*' has already been added into 'connectionManagement' section in both config files. After commenting <system.net> section containing the connectionManagement node, both UDDI publishing and service testing started to work.
So, I'm curious why would have this error occurred in the first place? There is no duplicate entries in the config files (unless both config files are somehow merged in the memory before they are being read) and will this change in the config files have any impact on other functionality of the MSE?


Thanks,
Danny
Developer
Jun 20, 2008 at 2:23 AM
This is strange error. Each file is independently used and there is no merging of files involved. Can you send the log files?  
Jun 20, 2008 at 3:54 AM


naveedzaheer wrote:
This is strange error. Each file is independently used and there is no merging of files involved. Can you send the log files?  


Sure, below are the log files I've collected when first trying to sync MSE with UDDI (mse_catalog.txt), and then trying to run Service Test on Calculator service (mse_runtime.txt):

mse_catalog.txt:
mseTraceSrc Information: 0 : Starting MSE Service Catalog...
mseTraceSrc Information: 0 : MSE Service Catalog adding endpoint address http://localhost:9000/ServiceCatalog/RepositoryChanges over basicHttpBinding
mseTraceSrc Information: 0 : MSE Service Catalog adding endpoint address http://localhost:9000/ServiceCatalog/Basic over basicHttpBinding
mseTraceSrc Information: 0 : MSE Service Catalog adding endpoint address http://localhost:9000/ServiceCatalog/WS over wsHttpBinding
mseTraceSrc Information: 0 : MSE Service Catalog adding endpoint address net.tcp://localhost:9001/ServiceCatalog/TCP over netTcpBinding
mseTraceSrc Information: 0 : MSE Service Catalog adding endpoint address net.pipe://localhost/ServiceCatalog/Pipe over netNamedPipeBinding
mseTraceSrc Information: 0 : MSE Service Catalog adding endpoint address http://localhost:9000/ServiceCatalog/mex over wsHttpBinding
mseTraceSrc Information: 0 : MSE Service Catalog adding endpoint address http://localhost:9000/ServiceCatalog/WSCustom over customBinding
mseTraceSrc Information: 0 : Event Subscription received
mseTraceSrc Information: 0 : Event Subscription received
mseTraceSrc Information: 0 : Event Subscription received
mseTraceSrc Information: 0 : Event Subscription received
mseTraceSrc Information: 0 : Event Subscription received
mseTraceSrc Information: 0 : Event Subscription received
mseTraceSrc Information: 0 : Event Subscription received
mseTraceSrc Information: 0 : Event Subscription received
mseTraceSrc Information: 0 : Event Notification for RuntimeServersUpdated received from DB
mseTraceSrc Information: 0 : SendOneWayNotification Executed for URL [http://localhost:9901/events/Desc] and Action [http://services.microsoft.com/2006-07/ServicePlatform/MSE6/Eventing/AcceptEvent]
mseTraceSrc Information: 0 : Event Notification for EndpointsUpdated received from DB
mseTraceSrc Information: 0 : SendOneWayNotification Executed for URL [http://localhost:9901/events/Desc] and Action [http://services.microsoft.com/2006-07/ServicePlatform/MSE6/Eventing/AcceptEvent]
mseTraceSrc Error: 0 : SendOneWayNotification for URL [http://localhost:9901/events/Desc] and Action [http://services.microsoft.com/2006-07/ServicePlatform/MSE6/Eventing/AcceptEvent] failed with general error [Exception Information Type[ConfigurationErrorsException] Message[The entry '*' has already been added. (C:\Program Files\Microsoft Managed Services Engine\Microsoft.MSE.Catalog.ServiceHost.exe.Config line 152)] ]
mseTraceSrc Error: 0 : SendOneWayNotification for URL [http://localhost:9901/events/Desc] and Action [http://services.microsoft.com/2006-07/ServicePlatform/MSE6/Eventing/AcceptEvent] failed with general error [Exception Information Type[ConfigurationErrorsException] Message[The entry '*' has already been added. (C:\Program Files\Microsoft Managed Services Engine\Microsoft.MSE.Catalog.ServiceHost.exe.Config line 152)] ]
mseTraceSrc Error: 0 : An application error occurred in Catalog Service Operation [AssignPublishedOperationVerToEndpoint]. Error Detail [Exception Information Type[ApplicationException] Message[A UDDI specific error occurred while publishing Endpoint data to UDDI] Inner Exception Information Type[UnknownErrorException] Message[The entry '*' has already been added. (C:\Program Files\Microsoft Managed Services Engine\Microsoft.MSE.Catalog.ServiceHost.exe.Config line 152)] ]
mseTraceSrc Information: 0 : Event Notification for EndpointOpPublicationUpdated received from DB
mseTraceSrc Information: 0 : SendOneWayNotification Executed for URL [http://localhost:9901/events/Desc] and Action [http://services.microsoft.com/2006-07/ServicePlatform/MSE6/Eventing/AcceptEvent]
mseTraceSrc Error: 0 : SendOneWayNotification for URL [http://localhost:9901/events/Desc] and Action [http://services.microsoft.com/2006-07/ServicePlatform/MSE6/Eventing/AcceptEvent] failed with general error [Exception Information Type[ConfigurationErrorsException] Message[The entry '*' has already been added. (C:\Program Files\Microsoft Managed Services Engine\Microsoft.MSE.Catalog.ServiceHost.exe.Config line 152)] ]
mseTraceSrc Error: 0 : An unexpected error occurred in Catalog Service Operation [AssignAssociatedOperationVerToEndpoint]. Error Detail [Exception Information Type[SqlException] Message[Violation of UNIQUE KEY constraint 'IX_ActiveOperations_EndPoints'. Cannot insert duplicate key in object 'ServiceEngine.EndPoints_AssociatedOperations'.] ]
mseTraceSrc Error: 0 : An application error occurred in Catalog Service Operation [PublishRuntimeServerEndPointsToUddi]. Error Detail [Exception Information Type[ApplicationException] Message[A UDDI specific error occurred while publishing Endpoint data to UDDI] Inner Exception Information Type[UnknownErrorException] Message[The entry '*' has already been added. (C:\Program Files\Microsoft Managed Services Engine\Microsoft.MSE.Catalog.ServiceHost.exe.Config line 152)] ]
mseTraceSrc Error: 0 : An unexpected error occurred in Catalog Service Operation [AssignAssociatedOperationVerToEndpoint]. Error Detail [Exception Information Type[SqlException] Message[Violation of UNIQUE KEY constraint 'IX_ActiveOperations_EndPoints'. Cannot insert duplicate key in object 'ServiceEngine.EndPoints_AssociatedOperations'.] ]
mseTraceSrc Error: 0 : An unexpected error occurred in Catalog Service Operation [AssignAssociatedOperationVerToEndpoint]. Error Detail [Exception Information Type[SqlException] Message[Violation of UNIQUE KEY constraint 'IX_ActiveOperations_EndPoints'. Cannot insert duplicate key in object 'ServiceEngine.EndPoints_AssociatedOperations'.] ]


mse_runtime.txt:

mseTraceSrc Information: 0 : Creating notification endpoint for MSE Runtime [win2008].
mseTraceSrc Information: 0 : win2008: Registered for Event [RuntimeUpdated]
mseTraceSrc Information: 0 : win2008: Registered for Event [RuntimeEndpointAdded]
mseTraceSrc Information: 0 : win2008: Registered for Event [RuntimeEndpointChanged]
mseTraceSrc Information: 0 : win2008: Registered for Event [RuntimeEndpointRemoved]
mseTraceSrc Information: 0 : win2008: Registered for Event [RuntimeEndpointOperationPublished]
mseTraceSrc Information: 0 : win2008: Registered for Event [RuntimeEndpointOperationUnPublished]
mseTraceSrc Information: 0 : win2008: Registered for Event [RuntimeEndpointOperationDeActivated]
mseTraceSrc Information: 0 : win2008: Registered for Event [RuntimeEndpointOperationChanged]
mseTraceSrc Information: 0 : Waiting to acquire Catalog lock [Read] in GetOperationVersionsForEndpointAndAction
mseTraceSrc Information: 0 : Released Catalog lock [Read] in GetOperationVersionsForEndpointAndAction
mseTraceSrc Error: 0 : Error in BeginRequest: The entry '*' has already been added. (C:\Program Files\Microsoft Managed Services Engine\Microsoft.MSE.Runtime.ServiceHost.exe.Config line 76)stack trace:
Server stack trace:
   at System.Configuration.BaseConfigurationRecord.EvaluateOne(String[] keys, SectionInput input, Boolean isTrusted, FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult)
   at System.Configuration.BaseConfigurationRecord.Evaluate(FactoryRecord factoryRecord, SectionRecord sectionRecord, Object parentResult, Boolean getLkg, Boolean getRuntimeObject, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSectionRecursive(String configKey, Boolean getLkg, Boolean checkPermission, Boolean getRuntimeObject, Boolean requestIsHere, Object& result, Object& resultRuntimeObject)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey, Boolean getLkg, Boolean checkPermission)
   at System.Configuration.BaseConfigurationRecord.GetSection(String configKey)
   at System.Configuration.ClientConfigurationSystem.System.Configuration.Internal.IInternalConfigSystem.GetSection(String sectionName)
   at System.Configuration.ConfigurationManager.GetSection(String sectionName)
   at System.Configuration.PrivilegedConfigurationManager.GetSection(String sectionName)
   at System.Net.Configuration.ConnectionManagementSectionInternal.GetSection()
   at System.Net.ServicePointManager.get_ConfigTable()
   at System.Net.ServicePointManager.FindServicePointHelper(Uri address, Boolean isProxyServicePoint)
   at System.Net.ServicePointManager.FindServicePoint(Uri address, IWebProxy proxy, ProxyChain& chain, HttpAbortDelegate& abortDelegate, Int32& abortState)
   at System.Net.HttpWebRequest.FindServicePoint(Boolean forceFind)
   at System.Net.HttpWebRequest.get_ServicePoint()
   at System.ServiceModel.Channels.HttpChannelFactory.GetWebRequest(EndpointAddress to, Uri via, NetworkCredential credential, TokenImpersonationLevel impersonationLevel, AuthenticationLevel authenticationLevel, SecurityTokenProviderContainer proxyTokenProvider, SecurityTokenContainer clientCertificateToken, TimeSpan timeout)
   at System.ServiceModel.Channels.HttpChannelFactory.GetWebRequest(EndpointAddress to, Uri via, SecurityTokenProviderContainer tokenProvider, SecurityTokenProviderContainer proxyTokenProvider, SecurityTokenContainer clientCertificateToken, TimeSpan timeout)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.GetWebRequest(EndpointAddress to, Uri via, SecurityTokenContainer clientCertificateToken, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.GetWebRequest(EndpointAddress to, Uri via, TimeoutHelper& timeoutHelper)
   at System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.BeginSendRequest(Message message, TimeSpan timeout)
   at System.ServiceModel.Channels.RequestChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, Object state)
   at System.ServiceModel.Dispatcher.RequestChannelBinder.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, Object state)
   at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.StartSend(Boolean completedSynchronously)
   at System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.Begin()
   at System.ServiceModel.Channels.ServiceChannel.BeginCall(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, TimeSpan timeout, AsyncCallback callback, Object asyncState)
   at System.ServiceModel.Channels.ServiceChannel.BeginRequest(Message message, TimeSpan timeout, AsyncCallback callback, Object state)
   at System.ServiceModel.Channels.ServiceChannel.BeginRequest(Message message, AsyncCallback callback, Object state)

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 System.ServiceModel.Channels.IRequestChannel.BeginRequest(Message message, AsyncCallback callback, Object state)
   at Microsoft.MSE.Runtime.Services.Broker.BrokerServiceInstance.BeginRequest(Message message, AsyncCallback cb, Object state)