While attempting to set up Push notifications on our existing BOS I recieve the following error message when trying to connect my entitymanger to the BOS. Specific details such and namespaces/connection strings redacted.
IdeaBlade.EntityModel.EntityServerConnectionException: Unable to start EntityServer.svc service: The service '/MyDomain.BOS.Internal/EntityServer.svc' cannot be activated due to an exception during compilation. The exception message is: A binding instance has already been associated to listen URI 'http://Localhost/MyDomain.BOS.Internal/EntityServer.svc/NotificationService'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config. . ---> System.ServiceModel.FaultException`1[IdeaBlade.EntityModel.EntityServerFault]: Unable to start EntityServer.svc service: The service '/MyDomain.BOS.Internal/EntityServer.svc' cannot be activated due to an exception during compilation. The exception message is: A binding instance has already been associated to listen URI 'http://Localhost/MyDomain.BOS.Internal/EntityServer.svc/NotificationService'. If two endpoints want to share the same ListenUri, they must also share the same binding object instance. The two conflicting endpoints were either specified in AddServiceEndpoint() calls, in a config file, or a combination of AddServiceEndpoint() and config. .
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.ServiceChannel.Call(String action, Boolean oneway, ProxyOperationRuntime operation, Object[] ins, Object[] outs)
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 IdeaBlade.EntityModel.IEntityServiceContract.GetEntityServerName(String dataSourceExtension, String compositionContextName)
at IdeaBlade.EntityModel.RemoteEntityServiceProxy.GetEntityServerName(String dataSourceExtension, String compositionContextName)
at IdeaBlade.EntityModel.RemoteEntityServerProxyBase.Connect(ConnectAction action)
--- End of inner exception stack trace ---
at IdeaBlade.EntityModel.EntityManager.HandleEntityServerException(Exception ex, Boolean tryToHandle, PersistenceOperation operation, Boolean throwOnError)
at IdeaBlade.EntityModel.EntityManager.Connect()
at IdeaBlade.EntityModel.EntityManager.ConnectImplicit()
at IdeaBlade.EntityModel.EntityManager..ctor(EntityManagerContext context)
at IdeaBlade.EntityModel.EntityManager..ctor(Boolean shouldConnect, String dataSourceExtension, EntityServiceOption entityServiceOption, String compositionContextName)
at MyNameSpace.DomainModel.MyNameSpaceEntities..ctor(Boolean shouldConnect, String dataSourceExtension, EntityServiceOption entityServiceOption, String compositionContextName) in E:\MyNameSpace\Working\Projects\MyNameSpace.DomainModel\MyNameSpaceEntities.IB.Designer.cs:line 34
at MyNameSpace.DomainModel.Helper_Objects.ManagerSingleton.Nested..ctor(EventHandler`1 LookupInfoCompleted, Boolean loadsLookups) in E:\MyNameSpace\Working\Projects\MyNameSpace.DomainModel\Helper Objects\ManagerSingleton.cs:line 47
at MyNameSpace.Client.WPF.Module.ViewModels.DashboardViewModel.MakeSingleton() in E:\MyNameSpace\Working\Projects\MyNameSpace.Client.WPF.Module\ViewModels\DashboardVMLogic.cs:line 67
Thankyou in advance.