Last post Dec 11, 2013 08:07 PM by Tear09
Dec 11, 2013 03:25 PM|jwhitf4770|LINK
I'm installing a website that has some ASP pages with reports in them in their own folder. Everything runs fine on my machine from visual studios; However when I install it on the server, I get a duplicate key name. It is in the main web.config and the
web.config that is under the subfolder. I'm a noob to building this stuff so i don't understand how all the web.configs work.
Config Error "Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'ReportViewerWebControlHandler'".
If I change the name in the web.config under the reports name I then get an authorization error ="forms" error. How do I fix this so i don't have to change the web.config on every install.
Dec 11, 2013 03:34 PM|jwhitf4770|LINK
I removed the web.config in that directory and everything worked fine. it must have got copied in there on accident.
Dec 11, 2013 08:07 PM|Tear09|LINK
I think, you could modify the name for the copied web.config file.