Failed to update community


Applies To 

 

Product(s):

eB

Version(s):

15.x,16.x

Environment: 

N/A

Area: 

SMC

Subarea: 

Service Manager

Original Author:

Nikhil Gumaste, Bentley Technical Support Group

 

 

Requirement

Failed to update community.

Problem Description

User get error message as Service Manage failed to update community on eB Server.

eB Service Manager:The Service Manager failed to update Community 'Community_Name' with the current status and configuration of Server “Server_Name”. See the exception for more detail.

System.ServiceModel.FaultException: This Module Info cannot be added because another one with the same unique identifier (eB.Service.MailDistribution.QueueDispatcher.ServiceProvider) already exists.

Server stack trace:

   at System.ServiceModel.

Channels.ServiceChannel.HandleReply(ProxyOperationRuntime operation, ProxyRpc& rpc)

   at System.ServiceModel.Channels.ServiceChanne

l.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 eB.Service.ClientBase`1.IfRemotingErrorThenRetry(Exception ex, Int32 retryNumber)

   at eB.Service.ClientBase`1.ExecuteAction[TResult](Func`1 func)

   at eB.Service.DataWriterClient.PlayOrRecord(Method& m, Boolean enlistTrxRm)

   at eB.Service.DataWriterClient.AddModuleInfo(Object callingObj,

Int32 assemblyId, String name, String description)

   at eB.Data.Module.AddBase()

   at eB.Data.Module.Add()

   at eB.Service.Server

.ServiceProvider.AddOrUpdateModules(List`1 modulesFromSr, Session session)

   at eB.Service.Server.ServiceProvider.UpdateSingleCommunityWithServiceRegistryInfo(Community community)

Solution

The solution to this issue is if the database restored on top of old one but not changed configuration in the application server please try to delete the community and datasource configuration, re-add it from SMC.