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.
Member
1 Points
22 Posts
http error 500.19
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.
webconfig reportviewer
Member
1 Points
22 Posts
Re: http error 500.19
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.
webconfig reportviewer
Member
680 Points
279 Posts
Re: http error 500.19
Dec 11, 2013 08:07 PM|Tear09|LINK
Hi,
I think, you could modify the name for the copied web.config file.
Thanks
webconfig reportviewer