Error parsing web.config file

D

Dana

When I specify an end tag for the clear element of namespaces in my
web.config file, the parser error "Unrecognized element 'add'" is reported.

....
<pages>
<namespaces>
<clear></clear>
<add namespace="System"/>
....

When the same element is specified using the empty element tag syntax, it
works.

....
<pages>
<namespaces>
<clear/>
<add namespace="System"/>
....

InstallSheidl/MSI is creating the XML file, and I therefore have no control
over the format details. Is this a known problem? How can I work around it,
short of generating the XML file myself?

Thanks
 

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

No members online now.

Forum statistics

Threads
474,169
Messages
2,570,919
Members
47,459
Latest member
Vida00R129

Latest Threads

Top