I created and deployed classic ASP site, when I test in IE, I get this:
HTTP Error 500.19 - Internal Server Error
Description: The requested page cannot be accessed because the related configuration
data for the page is invalid.Error Code: 0x8007000b7
Notification: ExecuteRequestHandler
Module: DefaultDocumentModule
Requested URL: localhost:80/bikes/
Physical Path: D:\BIKES\
Logon User: AnonymousLogon Method: Anonymous
Handler: StaticFile
Config Error: Cannot add duplicate collection entry of type 'add' with unique key attribute 'value' set to 'index.asp'
Config File: \?\D:\BIKES\web.config
Config Source:
6:<files>
7:<add value="index.asp" />
8:</files>
and this is my web.config:
<?xml version="1.0" encoding="UTF-8"?>
<configuration>
<system.webServer>
<directoryBrowse enabled="false" />
<defaultDocument>
<files>
<add value="index.asp" />
</files>
</defaultDocument>
<security>
<authorization>
<remove users="*" roles="" verbs="" />
<add accessType="Allow" users="*" roles="" />
</authorization>
</security>
</system.webServer>
<connectionStrings>
<remove name="LocalSqlServer" />
</connectionStrings>
</configuration>
I've tried to delete tag files add value in web.config in D:\bikes and in system/inetpub/wwwroot/web.config but it's still same error. Please anyone help me.