|I have an ASP.Net application which is working working fine if I have set up the Project URL as: http://localhost:58799/, but I want the project URL to be http://localhost:58799/IMS, it started throwing me error as in the below, how can I fix it? Any help please.
HTTP Error 500.19 - Internal Server Error
The requested page cannot be accessed because the related configuration data for the page is invalid.
Detailed Error Information:
Module IIS Web Core
Handler Not yet determined
Error Code 0x800700b7
Config Error Cannot add duplicate collection entry of type 'add' with unique key attribute 'name' set to 'Windows Login Handler'
Config File \\?\C:\GitSrsCodes\IMS\IMS.Web\web.config
Requested URL http:
Physical Path C:\GitSrsCodes\IMS\IMS.Web\
Logon Method Not yet determined
Logon User Not yet determined
Request Tracing Directory C:\Users\aaleem\Documents\IISExpress\TraceLogFiles\IMS.WEB
72: <!--register windows login managed handler.-->
73: <add name="Windows Login Handler" path="Login" verb="POST" type="IMS.Web.WindowsLoginHandler" preCondition="integratedMode" />
74: <!--these handlers resolve .woff not showing problem-->
This error occurs when there is a problem reading the configuration file for the Web server or Web application. In some cases, the event logs may contain more information about what caused this error.
If you see the text "There is a duplicate 'system.web.extensions/scripting/scriptResourceHandler' section defined", this error is because you are running a .NET Framework 3.5-based application in .NET Framework 4. If you are running WebMatrix, to resolve this problem, go to the Settings node to set the .NET Framework version to ".NET 2". You can also remove the extra sections from the web.config file.