本文介绍了IISExpress 8无法读取配置文件redirection.config的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我正在运行带有IISExpress8的Windows Server 2008 R2(x64),并且导航到

I'm running Windows Server 2008 R2 (x64) with IISExpress8 and when navigating to

c:\Program Files (x86)\IIS Express>iisexpress.exe

它说:

文件名:redirection.config

Filename: redirection.config

任何想法从哪里开始?我什么都找不到...

Any ideas where to start?I can't find anything...

推荐答案

我遇到了与@Myles J类似的问题,但重命名%userprofile%\Documents\IISExpress\config\applicationhost.config无效.我要做的是以下事情:

I had a similar issue to @Myles J but renaming %userprofile%\Documents\IISExpress\config\applicationhost.config didn't work. What I had to do was the following:

  1. 关闭Visual Studio.
  2. 重命名%userprofile%\Documents\IISExpress\config 目录.
  3. 再次启动Visual Studio. %userprofile%\Documents\IISExpress\config目录将使用默认配置文件重新创建.
  4. 将原始的applicationhost.config文件复制到自动生成的文件中.
  1. Close Visual Studio.
  2. Rename the %userprofile%\Documents\IISExpress\config directory.
  3. Start Visual Studio again. The %userprofile%\Documents\IISExpress\config directory will be recreated with the default config files.
  4. Copy the original applicationhost.config file over the autogenerated one.

在有人问:文件夹的权限是相同的之前,未在文件夹或其文件上设置只读标志,并且我没有以任何方式修改applicationhost.config.

Before anyone asks: the permissions on the folders were identical, the read-only flag was not set on the folder or its files, and I didn't modify applicationhost.config in any way.

这篇关于IISExpress 8无法读取配置文件redirection.config的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!

08-19 02:51