Q:

appsettings node in web.config WCF file gives an error when trying to debug

i have a WCf project,
when i add the following code to the configuration file (Web.config):
<configuration> <appsettings> <add key="Hello" value="5"/> </appsettings>....

i get this erro whentrying to debug:
"Unable to start debugging on the web server.  The web server is not configured correctly.  See help for common configuration errors.  Running the web page outside of the debugger may provide further information." 
when i drop the appsettings, the WCFTestClient opens. 
how do i define constants in the web.config if not in that way ? 

A:

Solved this problem by putting the AppSettings node as the last node in the  section and it works! 
<appSettings><add key="hello" value="Monday" /></appSettings></configuration>

funny......

