I am using IIS 7.5 on a Windows 7 developer machine. It is a .net 3.5 version (2.0.xxx in IIS). I am getting the dreaded 500.19 error. After much googling, the things that I have tried to resolve the problem have been: search for duplicate keys, make sure there isn't some other config file with the same keys, recycle app pool, restart IIS, reboot my machine. From within IIS, I cannot click on any icons that are configuration related. For example, from the virtual directory, if I click on Configuration Editor, a message comes up saying "Cannot create a file when that file already exists." Most of the other people having this problem are not still on 3.5, it looks like.
When I run my web page locally, I get the HTTP Error 500.19, "The requested page cannot be accessed because the related configuration data for the page is invalid." The config source has a "-1:" on the first line and "0:" in red italics on the second line. No other information.
On my team, this is only happening on my machine, which makes me suspicious of a patch of some sort. All the code is the same.
I also tried giving IUSR and IISUSR full control of the directory that is associated (it's only my machine; I will set this back).
Help is much appreciated.