Author: mpaterson | Posted on: 7/17/2008 11:18:32 AM | Views : 558

I'm creating a custom configuration section and when trying to use WebConfigurationManager.GetSection() it is telling me that there is an unrecognized attribute "key" even though I have declared the property: [ConfigurationProperty( "key", IsRequired = true )]
public string Key
{
get
{
return this[ "key" ] as string;
}
} 
 <variables>
<add key="First" value="gclid"/>
</variables>

Go to the complete details ...