This error is really starting to bug me. I started to get the error a week ago where I started to receive "The requested page cannot be accessed because the related configuration data for the page is invalid." errors.
Here is what I have done so far.
1. Fresh Installation of Windows 7 Ultimate 32 bit.
2. I have two directories for web applications (c:\webapplications and c:\webDNNapplications). The security on the directories is set to allow NetworkServices Full Control.
3. In IIS, C:\webapplications is set for the location for the web site. I added Dev as a web application and pointed it to c:\webDNNApplications\LocalDNN512.
4. I changed the permissions on the ApplicationPools to be NetworkService vice default ApplicationPoolIdentity.
5. I downloaded a copy of DNN 5.1.2 Install file and moved contents to c:\webDNNApplications\LocalDNN512
6. When I attempt to load DNN (http://localhost/dev) I receive the following error information.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information
Module IIS Web Core
Notification BeginRequest
Handler Not yet determined
Error Code 0x800700b7
- Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptModule'
- Config File \\?\C:\WebDNNApplications\LocalDNN512\web.config
- Requested URL http://192.168.11.110:80/dev
- Physical Path C:\WebDNNApplications\LocalDNN512
- Logon Method Not yet determined
- Logon User Not yet determined
Config Source
58: <modules>
59: <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=1.0.61025.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35" preCondition="managedHandler" />
60: <add name="Compression" type="DotNetNuke.HttpModules.Compression.CompressionModule, DotNetNuke.HttpModules" preCondition="managedHandler" />
This error is a real pain and I have the feeling that it is something really simple that I am overlooking. Of course, I have lost some serious time.
Any help or insight will be greatly appreciated and a great incentive for a good nights sleep.
Thanks
Ray