help.axcms.netAxinom Logo
Save Save Chapter Send Feedback

KB10015: System.ServiceModel.CommunicationException (multiple host headers in the IIS Site)

Indicates a problem with communication between Silverlight and its Service (WCF) in case of multiple host headers for the same IIS Web Site. This bug was fixed in 9.1.

SYMPTOMS

This exception is thrown after several host are applied to a management system site:

System.ServiceModel.CommunicationException: Der Remoteserver hat einen Fehler zurückgegeben: NotFound. ---> System.Net.WebException: Der Remoteserver hat einen Fehler zurückgegeben: NotFound. ---> System.Net.WebException: Der Remoteserver hat einen Fehler zurückgegeben: NotFound.
bei System.Net.Browser.BrowserHttpWebRequest.InternalEndGetResponse(IAsyncResult asyncResult)
bei System.Net.Browser.BrowserHttpWebRequest.<>c__DisplayClass5.<EndGetResponse>b__4(Object sendState)
bei System.Net.Browser.AsyncHelper.<>c__DisplayClass2.<BeginOnUI>b__0(Object sendState)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.Net.Browser.AsyncHelper.BeginOnUI(SendOrPostCallback beginMethod, Object state)
bei System.Net.Browser.BrowserHttpWebRequest.EndGetResponse(IAsyncResult asyncResult)
bei System.ServiceModel.Channels.HttpChannelFactory.HttpRequestChannel.HttpChannelAsyncRequest.CompleteGetResponse(IAsyncResult result)
--- Ende der internen Ausnahmestapelüberwachung ---
bei System.ServiceModel.AsyncResult.End[TAsyncResult](IAsyncResult result)
bei System.ServiceModel.Channels.ServiceChannel.SendAsyncResult.End(SendAsyncResult result)
bei System.ServiceModel.Channels.ServiceChannel.EndCall(String action, Object[] outs, IAsyncResult result)
bei System.ServiceModel.ClientBase`1.ChannelBase`1.EndInvoke(String methodName, Object[] args, IAsyncResult result)
bei Concept.ConceptClient.ConceptClientChannel.EndGetSiteDefinition(IAsyncResult result)
bei Concept.ConceptClient.Concept.IConcept.EndGetSiteDefinition(IAsyncResult result)
bei Concept.ConceptClient.OnEndGetSiteDefinition(IAsyncResult result)
bei System.ServiceModel.ClientBase`1.OnAsyncCallCompleted(IAsyncResult result

CAUSE

WCF has a problem to keep an end point on a site that has several hosts mappings defined. That does not allow communication between client (Silverlight ribbon) and server (Concept service).

SOLUTION

This problem in this case (several hosts for one site) is solved in AxCMS.net version 9.1, upgrading will help. There is also a patch for AxCMS.net version 9.0 available, in case of interest contact support@axinom.com.

As a workaround you can also remove all the mappings, e.g. move live system hosts to another site,  if possible.

APPLIES TO

AxCMS.net versions: 9.0

MORE INFORMATION