|
| HPPT Error 500.19 - Internal Server Error when redefine an equivalent section in web.config |
 |
Wed, 2 Apr 2008 00:32:24 +0000 |
I am getting HTTP Error 500.19 - Internal Server Error The requested page
cannot be accessed because the related configuration data for the page is
invalid.
when I have redefined a secion in web.config like
<!-- redefine an equivalent section -->
6: <section name="compilation"
type="System.Web.Configuration.CompilationSection, System.Web,
Version=2.0.3500.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
/>
7: </sectionGroup>
Config error: There is a duplicate system.web/compilation section defined.
Anybody ran this kind of error before? (Vista and IIS7)
|
| Post Reply
|
| Re: HPPT Error 500.19 - Internal Server Error when redefine an equivalent section in web.config |
 |
Wed, 2 Apr 2008 07:29:06 +0000 |
The solution is probably to 'remove' it first so that there isn't a duplicate.
Just before your line six, add the following line:
< remove name="compilation" />
|
| Post Reply
|
|
|
|
|
|
|
|
|
|