Creating a virtual directory failed with the error

后端 未结 16 2047
情歌与酒
情歌与酒 2020-12-24 04:23

I can\'t solve this problem

\"enter

I suggest I have to change c:\\Windo

相关标签:
16条回答
  • 2020-12-24 05:01

    Not the exact same error, but I was lead to this answer since the first half of the error matched. Your applicationhost.config file may simply be read-only. Taking that off solved the error for me. That error calls out the file specifically though, so you should be able to find it easily.

    0 讨论(0)
  • 2020-12-24 05:01

    So here are the steps to fix it:

    1. Go where your .csproj file is. This is usually one directory below the solution (.sln)
    2. Right click and open with a text editor (notepad)
    3. Find IISUrl tag and replace its content for http://localhost:(YourPortNumber)
    4. Save and reload your project!
    0 讨论(0)
  • 2020-12-24 05:03

    I just went to the directory named in the error and renamed the applicationhost.config and restarted and VS created a new file and ran fine.

    0 讨论(0)
  • 2020-12-24 05:06

    I was facing the same issue because of my network password changed.I changed my NetExtendor login password but I have to login in my laptop with old password.

    Try these steps to fix this issue:

    log into the Computer with whatever password works log into vpn with whatever password works ctl-alt-del to lock the pc then use the new password to unlock it

    It worked for me :-)

    Thanks!

    0 讨论(0)
提交回复
热议问题