Creating a virtual directory failed with the error

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

I can\'t solve this problem

\"enter

I suggest I have to change c:\\Windo

16条回答
  •  萌比男神i
    2020-12-24 04:43

    The problem would be your project setup to be executed in the local IIS and the URL specified not exist.

    There are options you can do to fix the problem.

    Option 1 : (Use IIS Express)

    1.) Open you web project .csproj file as XAML or in notepad.

    2.) Find these properties and set according to your preferences.

    UseIIS = false

    UseIISExpress = true

    and that's it.

    Option 2 : (Use local IIS)

    Follow the option 1 steps but change the following properties.

    UseIIS = true

    IISUrl = https://localhost

    UseIISExpress = false

提交回复
热议问题