views:

118

answers:

1

I tried to run my WebApp on my local machine today (nothing has changed on it) and I had the above error. I know my machine had a windows update recently (not sure if that has anything to do with it).

The error produces a big print out of css styles and html markup.

In the markup it also says "The requested page cannot be accecssed because the related configuration data for the page is invalid".

+1  A: 

Maybe you accidentally changed the web.config and now contains a malformed section. I'd recommend you take a close look to your configuration file.

I'd say that the error page should tell you the necessary information to solve the problem but I assume that if you're asking if because it's not the case :)

Claudio Redi
yes, one slight problem is the output is in a popup window which consumes my whole screen and I can't scroll down to read the bottom as there is no scroller.
Dkong
@Dkong: Do you have this same limitation on all browsers?
Claudio Redi
Claudio, thanks for your suggestion. I tried it in FireFox and was able to read the message. Now that I can see the error I still can't fix it. It says:"Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ScriptModule' " and references <add name="ScriptModule" type="System.Web.Handlers.ScriptModule, System.Web.Extensions, Version=3.5.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" preCondition="managedHandler"/>
Dkong
@Dkong: if you search for that entry on the web.config is only present 1 time?
Claudio Redi