The problem we have is:
Migrated from Hosted to in-house CRM 2011, received the live backup (migration) DB and installed and setup the local install as advised.
We had previously done a test migration using the a backup sent from MS and went fine and worked as should.
CRM is up and running however we now have some issues in relation to Email Router and Marketing Tool – But it looks like both of these applications are failing due to the same issue.
Would anyone be able to advise on the below? Thanks (Please note that this install is actually using the same server and config whith just a new DB restored and Organisation created)
I've checked the bindings.. Dynamics CRM is set to MMCRM01 (have also tried with MMCRM01:80) And there is only one entry in IIS HTTP: MMCRM01: All Unassigned: 80
Email Router issue, When trying to connect to the in-house CRM:
Error messages at the same/similar times on the CRM Server:
WebHost failed to process a request.
Sender Information: System.ServiceModel.ServiceHostingEnvironment+HostingManager/58366981
Exception: System.ServiceModel.ServiceActivationException: The service '/XrmServices/2011/Discovery.svc' cannot be activated due to an exception during compilation. The exception message is: The value could not be added to the collection, as the collection already contains an item of the same type: 'System.ServiceModel.Description.UseRequestHeadersForMetadataAddressBehavior'. This collection only supports one instance of each type.
Parameter name: item. ---> System.ArgumentException: The value could not be added to the collection, as the collection already contains an item of the same type: 'System.ServiceModel.Description.UseRequestHeadersForMetadataAddressBehavior'. This collection only supports one instance of each type.
Parameter name: item
at System.Collections.Generic.KeyedByTypeCollection`1.InsertItem(Int32 index, TItem item)
at Microsoft.Crm.Extensibility.SdkServiceEndpointBuilder.AddDefaultPorts(ServiceHost serviceHost, PortSchemeDictionary portSchemes)
at Microsoft.Crm.Extensibility.SdkServiceEndpointBuilder.AddDefaultEndpoint(ServiceHost serviceHost, Type implementedContract)
at Microsoft.Crm.Extensibility.SdkServiceEndpointBuilder.BuildEndpoints(ServiceHost serviceHost, Type implementedContract)
at Microsoft.Crm.Sdk.V5.DiscoveryServiceHost.InitializeRuntime()
at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout)
at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
--- End of inner exception stack trace ---
at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath)
at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
Process Name: w3wp
Process ID: 2328
|
|
|
|
|
[ Name]
|
System.ServiceModel 4.0.0.0
|
|
|
|
|
Keywords
|
0x80000000000000
|
|
|
|
|
|
|
[ SystemTime]
|
2012-04-23T14:15:56.000000000Z
|
|
|
|
|
Computer
|
MMCRM01.manandmachine.co.uk
|
|
|
|
|
|
|
|
|
[ UserID]
|
S-1-5-21-2052111302-299502267-682003330-5196
|
|
|
-
|
EventData
|
|
|
|
|
|
|
|
System.ServiceModel.ServiceHostingEnvironment+HostingManager/58366981
|
|
|
|
System.ServiceModel.ServiceActivationException: The service '/ManandMachine/XRMServices/2011/Organization.svc' cannot be activated due to an exception during compilation. The exception message is: The value could not be added to the collection, as the collection already contains an item of the same type: 'System.ServiceModel.Description.UseRequestHeadersForMetadataAddressBehavior'. This collection only supports one instance of each type. Parameter name: item. ---> System.ArgumentException: The value could not be added to the collection, as the collection already contains an item of the same type: 'System.ServiceModel.Description.UseRequestHeadersForMetadataAddressBehavior'. This collection only supports one instance of each type. Parameter name: item at System.Collections.Generic.KeyedByTypeCollection`1.InsertItem(Int32 index, TItem item) at Microsoft.Crm.Extensibility.SdkServiceEndpointBuilder.AddDefaultPorts(ServiceHost serviceHost, PortSchemeDictionary portSchemes) at Microsoft.Crm.Extensibility.SdkServiceEndpointBuilder.AddDefaultEndpoint(ServiceHost serviceHost, Type implementedContract) at Microsoft.Crm.Extensibility.SdkServiceEndpointBuilder.BuildEndpoints(ServiceHost serviceHost, Type implementedContract) at Microsoft.Crm.Extensibility.SdkServiceHost.InitializeRuntime() at System.ServiceModel.ServiceHostBase.OnOpen(TimeSpan timeout) at System.ServiceModel.Channels.CommunicationObject.Open(TimeSpan timeout) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.ActivateService(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) --- End of inner exception stack trace --- at System.ServiceModel.ServiceHostingEnvironment.HostingManager.EnsureServiceAvailable(String normalizedVirtualPath) at System.ServiceModel.ServiceHostingEnvironment.EnsureServiceAvailableFast(String relativeVirtualPath)
|