locked
http error 500.19 RRS feed

  • Question

  • User1800988919 posted

    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.

     

    Wednesday, December 11, 2013 3:25 PM

Answers

  • User1800988919 posted

    I removed the web.config in that directory and everything worked fine.  it must have got copied in there on accident.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 11, 2013 3:34 PM

All replies

  • User1800988919 posted

    I removed the web.config in that directory and everything worked fine.  it must have got copied in there on accident.

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, December 11, 2013 3:34 PM
  • User-1426144113 posted

    Hi,

    I think, you could modify the name for the copied web.config file.

    Thanks

    Wednesday, December 11, 2013 8:07 PM