Click here to Skip to main content
15,883,709 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
See more:
I am using VS2013. When I try run my project I am getting an error message as

"unable to start debugging on the web server. IIS does not list a web site that matches the launch URL in VS2013".

Later I even tried running the VS as 'Administrator'. When I try to do so and run my project I am getting an error as


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

Notification
BeginRequest

Handler
Not yet determined

Error Code
0x8007000d

Config Error


Config File
\\?\C:\Users\vasur\Desktop\NRE\CDS.NationalRail.Web.UI\web.config



Requested URL
http://localhost:80/Cds.NationalRail.Web.UI/

Physical Path
C:\Users\vasur\Desktop\NRE\CDS.NationalRail.Web.UI\

Logon Method
Not yet determined

Logon User
Not yet determined


in the browser.

Can anyone please help to fix the problem so that I can run my project.
Posted

1 solution

Look at the project properties for your web project and in the "Web" tab there is a setting for the project url, and a drop down that will let you choose from different servers. This has to be correct. We don't know what "correct" is as we don't have access to your system and don't know how you have configured IIS\Visual Studio etc.

For the error RE the web.config it looks like you're trying to run a website from a folder that is not the root of an IIS configured site. To run a site from a folder you need a web site to be created in IIS that point to that folder as its root.

Read some articles on setting up and deploying websites in IIS and that should explain the various things you need to do.
 
Share this answer
 

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900