View Complete Thread
  • Re: deploy asp net web app on win 2016 server

    Oct 31, 2019 02:44 AM|lextm|LINK


    I created the site with pool application 2.0 integrated mode.
    Typing http: // localhost: [number port] I have the error:

    Error code 0x800700b7
    Configuration error Unable to add a duplicate collection entry of type 'add' with the unique key attribute 'value' set to 'Default.aspx'

    if instead I type directly http: // localhost: [number port] /default.aspx I get the error:

    Unrecognized 'targetFramework' attribute. Attribute names are case-sensitive. (compilation target framework 4.51)

    Line 27: <forms loginUrl = "/ default.aspx"> </forms>
    Line 28: </authentication>
    Line 29: <compilation targetFramework = "4.5.1" />
    Line 30: <httpRuntime targetFramework = "4.5.1" />
    Line 31: </system.web>

    Check the file path of that web.config in the error page. If it is not the one from your ASP.NET 3.5 web app, you should check if you created the right site.

    Lex Li
    This posting is provided "AS IS" with no warranties, and confers no rights.