Saturday, March 31, 2012

web.config error

Dear all,

When I tried to enter <httpRuntime>executionTimeout="1200" </httpRuntime> in my web.config, it prompts me the error that "The configuration section cannot contain a CData or text element. May I know how to resolve it?

Thanks

When you want to set values in web.config for an section you need to use attributes, the section don't have plain text as values.

Change your line to the following:

<httpRuntimeexecutionTimeout="1200" />

I hope this helps

Richard

0 comments:

Post a Comment