URL 重写在 IIS10 中不可见 [英] URL Rewrite not visible in IIS10

查看:51
本文介绍了URL 重写在 IIS10 中不可见的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我使用 rewrite_amd64_en-US.msi 安装了 URL Rewrite 2.1.安装顺利,但我在 IIS 中看不到 URL 重写图标.我的系统是 Windows Server 2016 中的 IIS 10.

I installed URL Rewrite 2.1 by using rewrite_amd64_en-US.msi. Installation went smooth, but I am not able see the URL rewrite icon in IIS. My system is IIS 10 in Windows Server 2016.

我正在管理命令提示符下使用命令 msiexec/a rewrite_amd64_en-US.msi/qf/L*V re.log 进行安装

I am installing using command msiexec /a rewrite_amd64_en-US.msi /qf /L*V re.log in admin command prompt

控制面板中也没有 URL Rewrite 条目,C:\Windows\System32\inetsrv 中也没有 rewrite.dll 文件.

Also there is no entry for URL Rewrite in Control Panel, nor rewrite.dll file in C:\Windows\System32\inetsrv.

安装日志的最后几行是

MSI (c) (C8:90) [15:38:38:027]: Note: 1: 1707 
MSI (c) (C8:90) [15:38:38:027]: Product: IIS URL Rewrite Module 2 -- Installation completed successfully.

MSI (c) (C8:90) [15:38:38:027]: Windows Installer installed the product. Product Name: IIS URL Rewrite Module 2. Product Version: 7.2.1993. Product Language: 1033. Manufacturer: Microsoft Corporation. Installation success or error status: 0.

MSI (c) (C8:90) [15:38:38:027]: Grabbed execution mutex.
MSI (c) (C8:90) [15:38:38:027]: Cleaning up uninstalled install packages, if any exist
MSI (c) (C8:90) [15:38:38:027]: MainEngineThread is returning 0
=== Verbose logging stopped: 8/20/2020  15:38:38 ===

另一点需要注意的是我的服务器没有 Web 平台安装程序.当我尝试安装它时,我遇到了类似的问题 - 安装时没有错误,但图标在 IIS 中不可见.

Another point to note is my server doesn't have Web Platform Installer. When I try to install that, I am facing similar issue - no errors while installing, but icon not visible in IIS.

请指导我解决此问题.谢谢.

Please guide me in troubleshooting this issue. Thanks.

推荐答案

确保您正在使用 Elevated Privileges 调用 msiexec.exe 命令.

Make sure you are invoking msiexec.exe command using Elevated Privileges.

为此,您需要:

  1. 点击开始或按Windows键

在搜索框中输入CMD

右键单击CMD,然后选择以管理员身份运行.有关更多详细信息,请查看 https://www.computerhope.com/jargon/e/elevated.htmhttps://winaero.com/how-to-open-elevated-command-prompt-in-windows-10/;

Right-click CMD and select Run as Administrator. For further details, check https://www.computerhope.com/jargon/e/elevated.htm or https://winaero.com/how-to-open-elevated-command-prompt-in-windows-10/;

在新的命令控制台上,运行 MSI 包安装命令

On the new Command Console, run MSI package installation command

msiexec.exe/i rewrite_amd64_en-US.msi/l*v C:\msilog.txt/qf

msiexec.exe/i rewrite_amd64_en-US.msi"/L*V "C:\package.log"

这篇关于URL 重写在 IIS10 中不可见的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆