Errors in Web.config

Nov 21, 2011 at 3:20 PM

I added the configuration XML to Web.config of my project as listed in the Documentation section for configuring the server.  Also I had added the dll to my bin directory and as a reference to my project.

When I look at the Web.config in visual studio 2010 there are two warnings that appear.  None of these prevent me from running my code apparently, but I wonder if something may still be amiss or perhaps I should ignore it?

The problems are:

<amfExtensions /> - Warning 1 The element 'behavior' has invalid child element 'amfExtensions'. List of possible elements expected: 'clientVia, callbackDebug, callbackTimeouts, clear, clientCredentials, transactedBatching, dataContractSerializer, dispatcherSynchronization, remove, synchronousReceive, enableWebScript, webHttp, endpointDiscovery, soapProcessing'.

<amfMessageEncoding /> - Warning 2 The element 'binding' has invalid child element 'amfMessageEncoding'. List of possible elements expected: 'context, binaryMessageEncoding, compositeDuplex, oneWay, httpTransport, httpsTransport, msmqIntegration, msmqTransport, mtomMessageEncoding, namedPipeTransport, peerTransport, pnrpPeerResolver, privacyNoticeAt, reliableSession, security, sslStreamSecurity, tcpTransport, textMessageEncoding, windowsStreamSecurity, transactionFlow, unrecognizedPolicyAssertions, useManagedPresentation, webMessageEncoding, discoveryClient, byteStreamMessageEncoding'. c:\users\ddbooth\documents\visual studio 2010\Projects\WCFHello\Web.config 45 12 WCFHello