Configuration(s)

  • Thread starter Thread starter mehdi_mousavi
  • Start date Start date
M

mehdi_mousavi

Hi,
I've just developed a new ConfigurationSection that is supposed to
handle the following configuration:

<TipOfTheDay>
<Contents>
<add name="whatever"><![CDATA[This is an <b>html</b>.]]></add>
</Contents>
</TipOfTheDay>

However, an exception is thrown and the following message is indicated:
The configuration section cannot contain a CDATA or text element.

How am I supposed to solve this problem?

Configurations:
- ASP.NET 2.0
- VS2005

Any help would be highly appreciated,
Cheers,
Mehdi
 
Mehdi,
Create a tip folder in asp.net app_data folder.
mappath("~/app_data/tip/monday.txt")

Good Luck
DWS
 

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

Back
Top