IIS Express 8 - Cannot write configuration file

后端 未结 12 1345
心在旅途
心在旅途 2021-01-01 09:16

I am trying to use IIS Express 8 for a MVC site in VS2012. I am getting the following error whenever I attempt to create the site:

Filename: \\?\\C:

12条回答
  •  走了就别回头了
    2021-01-01 10:07

    I received the same error but in a different context. Opening a project (.csproj file) provided by another developer returned this error and failed to do anything:

    Creating of the virtual directory http://localhost:58753/
    failed with the error: Filename: \?\C:\Users\xxxxx\Documents\Clients\xxx\Gen II\xxx\,vs\config\applicationhost.config Error: Cannot write configuration file

    I removed both Encryption and the R/O attribute from the directory containing the project files and applied to all subfolders and files. Visual Studio can now read the project.

提交回复
热议问题