HTTP error 500.19 - Cannot read configuration file

前端 未结 13 2290
醉梦人生
醉梦人生 2021-02-02 09:37

In one of my ASP.NET apps, all of a sudden I am unable to run it in Visual Studio 2013 due to the error displayed below. It appears that it is trying to open the web.config from

13条回答
  •  长情又很酷
    2021-02-02 10:02

    I experienced the same issue and I resolve it quite simply. My issue was arose after when I perform a merge operation in git repository, after merge operation Visual Studio some how changed my default project URL to the default URL of my partner's computer from where he pushed the last time in to my repository. So here is how I resolved this error:

    1. Simply go to the properties of the project.
    2. From the left vertically aligned menu, select Web.
    3. After you will Project url and a text box containing the default port number, now just aside that textbox there is a button "Create Virtual Directory".
    4. Press that button and there you go. It will again point the default url the current working folder of your project.

    Hope it works for you all :)

提交回复
热议问题