13

我已经安装了 IIS Express 7.5 Beta 3 并在多台计算机(Windows 7、Windows Server 2008 R2 和 Windows XP)上进行了尝试,并且在每台计算机上运行时都出现以下错误

iisexpress /path:e:\onlineinvoices\

这是错误。似乎找不到 applicationhost.config 文件。我自己也搜索过这个文件,在 IISExpress 安装文件夹的 AppServer 文件夹中找到它。

Copied template config file 'C:\Program Files (x86)\IIS Express\AppServer\applicationhost.config' to 'C:\Users\marko\AppData\Local\Temp\iisexpress\applicationhost201115151422496.config' 
 Temp configuration file settings error.

The system cannot find the file specified.

这里的说明非常奇怪,尤其是那些处理配置文件的说明。事实上,它说 applicationhost.config 应该存在于用户文档文件夹中,但那里没有它的踪迹。

4

2 回答 2

14

我有同样的问题。

它在我通过双击运行 IIS Express 后开始工作C:\Program Files\IIS Express\iisexpress.exe

之后,当我从命令行运行它时它就起作用了。

于 2011-01-05T19:59:26.690 回答
8

是的,启动 iisexpress.exe 一次应该可以解决问题。这是一个错误,我们将尽快修复。使用 /path 选项使用临时目录下的临时配置文件,该文件设置为包含指定的应用程序。如果没有/path,iisexpress.exe 使用documents 下的默认applicationhost.config,如果不存在则创建一个。

希望这可以帮助。

于 2011-01-07T01:42:39.910 回答