error creating section handler

H

helpful sql

Hi all,
I am getting an exception from asp.net application that says error
creating section handler.
Here is my configuration section from web.config file:

<configSections>
<section name="ProposalTemplateNameSpaces"
type="System.Configuration.NameValueSectionHandler" />
</configSections>

<ProposalTemplateNameSpaces>
<add key="w" value="http://schemas.microsoft.com/office/word/2003/wordml"
/>
<add key="ns0" value="http://tempuri.org/datasetMPI.xsd" />
</ProposalTemplateNameSpaces>

The exception shows the second line - <section> tag in red. Any idea on what
I may be doing wrong here?

Thanks.
 
B

Brock Allen

the type attribute should be the fully qualified name of your type, including
namespace, class name and assembly name:

type="YourNamespace.YourClass, YourAssemblyNameWithoutTheFileExtension"
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,968
Messages
2,570,154
Members
46,702
Latest member
LukasConde

Latest Threads

Top