问题描述
我正在尝试使用 ASP.NET
创建本地IIS网站
。
当我点击 New ----->网站并选择类型为HTTP
,如果我选择选项为 LOCAL IIS WEBSITE
,则从对话框中选择我收到的消息为IIS not not安装在这台电脑上
When I click on New -----> Website and select the type as HTTP
and from the dialog box if I select the option as LOCAL IIS WEBSITE
I am getting a message as "IIS not installed on this computer"
当我在控制面板中检查---->添加或删除程序---->添加或删除Windows组件
。选项互联网信息服务
已经过选中标记。
When I checked in the Control Panel---->Add or remove programs ---->Add or remove windows components
. The Option Internet Information Service
is already checked marked.
但是当我点击控制面板--->管理工具
,我找不到选项互联网信息服务
。
But when I click on the Control Panel ---> Administrative Tools
, I dont find the option as Internet Information Service
.
我也是将根目录设为 C:\Inetpub \WWWRoot
。
I also have the root directory as C:\Inetpub\WWWRoot
.
当我在VS命令中提供以下命令时提示
And when I give the following command in the VS command Prompt
aspnet_regiis.exe -i
它将消息显示为已完成安装ASP.NET
It is giving the message as finished installing ASP.NET
任何人都可以帮我确定我的系统中是否安装了 IIS
?
Can any one help me in identifying whether IIS
is installed in my system or not?
请帮帮我!
推荐答案
转到开始 - >运行
输入inetmgr并按OK。如果您获得 IIS
配置屏幕。它是安装的,否则不是。
go to Start->Run
type inetmgr and press OK. If you get an IIS
configuration screen. It is installed, otherwise it isn't.
您还可以检查 ControlPanel->添加删除程序
,单击添加删除Windows组件
并在已安装组件列表中查找IIS。
You can also check ControlPanel->Add Remove Programs
, Click Add Remove Windows Components
and look for IIS in the list of installed components.
编辑
重新安装IIS。
Control Panel -> Add Remove Programs -> Click Add Remove Windows Components
Uncheck IIS box
单击下一步并按照提示 UnInstall IIS
。
将Windows光盘插入相应的驱动器。
Click next and follow prompts to UnInstall IIS
.Insert your windows disc into the appropriate drive.
Control Panel -> Add Remove Programs -> Click Add Remove Windows Components
Check IIS box
单击下一步并按照提示安装 IIS
。
Click next and follow prompts to Install IIS
.
这篇关于检查是否安装了IIS?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!