Installation and deployment Questions on installation, system configuration and deployment to the live server.
Version 5.x > Installation and deployment > WCF Error with Web Farm View modes: 
User avatar
Certified Developer 8
Certified Developer 8
dthunder - 1/13/2011 10:21:54 AM
   
WCF Error with Web Farm
We have a client utilizing the web farm feature running version 5.5. Their system is running a WCF REST service which is working correctly however they are getting the following message in their error logs.

EventID: 7300
EventType: E
EventTime: 1/12/2011 7:48:58 PM
Source: Application_Error
EventCode: EXCEPTION
UserID: xx
UserName: public
IPAddress: xx.xx.xx.xx
EventDescription: Message: There was no channel actively listening at '<site url>/Services/MediaService.svc/GetAllFlashSlides'. This is often caused by an incorrect address URI. Ensure that the address to which the message is sent matches an address on which a service is listening.
Stack Trace:
at System.ServiceModel.Activation.HostedHttpTransportManager.HttpContextReceived(HostedHttpRequestAsyncResult result)
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.HandleRequest()
at System.ServiceModel.Activation.HostedHttpRequestAsyncResult.BeginRequest()

Site: Care Connection
EventUrl: /Services/MediaService.svc/GetAllFlashSlides
EventMachineName: XXXX
EventUserAgent: Mozilla/4.0 (compatible; MSIE 8.0; Windows NT 5.1; Trident/4.0; .NET CLR 1.1.4322; .NET CLR 2.0.50727; .NET CLR 3.0.04506.30; .NET CLR 3.0.4506.2152; .NET CLR 3.5.30729)
EventUrlReferrer: http://XXX.XXX.XXX.XXX/media/flash/Slideshow.swf


This thread leads me to believe that changing the security configuration in the web config may fix the problem:
http://stackoverflow.com/questions/1195508/wcf-rest-webhost-failed-to-process-request

I would like to know what the suggested webconfig settings are to have WCF running in the web farm environment without throwing exceptions.

Thank you for any help you can provide.

User avatar
Kentico Support
Kentico Support
kentico_jurajo - 1/20/2011 2:43:42 AM
   
RE:WCF Error with Web Farm
Hi,

I am not aware of any special WCF settings for web farms. I think that you can follow the article you found about the web.config settings.

Best regards,
Juraj Ondrus