I want to use iis 7 instead of iis express in visual web developer 2010

前端 未结 5 955
耶瑟儿~
耶瑟儿~ 2021-01-05 03:17

I am having some trouble setting up my vwd 2010 environment to run under my local iis 7.5 instead of iis express.

Whenever I go to the project properties and select

5条回答
  •  無奈伤痛
    2021-01-05 03:54

    I did try the suggestions where you remove the site from the applicationHost.config file, in these locations:

    IIS Express:

    %userprofile%\documents\iisexpress\config\applicationHost.config

    %userprofile%\my documents\iisexpress\config\applicationHost.config

    IIS:

    %WINDIR%\System32\inetsrv\config\applicationHost.config

    However, that did not work for me. I found that I also had to delete/rename the project's user file located within the Visual Studio project folder.

    Example C# project name is: MyProject

    The file to rename/delete: MyProject.csproj.user

    It's an xml file which does have some stored settings about the web project.

    I closed VS. Renamed the file. Opened VS, and the project loaded just fine.

提交回复
热议问题