简体   繁体   English

如何进入 IIS 管理器?

[英]How do I get to IIS Manager?

In trying to reconnect and reconfigure an existing project on a new machine, I find here ( The Web Application Project [...] is configured to use IIS. The Web server [...] could not be found. ), based on the err msg I got on opening the project, that I need to go to IIS Manager (I performed the tasks prior to that in Russ C's answer, installing IIS 7.5 Express and rebooting).在尝试在新机器上重新连接和重新配置现有项目时,我发现这里( Web 应用程序项目 [...] 配置为使用 IIS。Web 服务器 [...] 无法找到。 ),基于我打开项目时收到的错误消息,我需要转到 IIS 管理器(我在 Russ C 的回答中执行了之前的任务,安装了 IIS 7.5 Express 并重新启动)。 However, Russ goes on to write, " Next, go to your IIS Manager... " and that I haven't been able to do/find.但是,Russ 继续写道,“接下来,转到您的 IIS 管理器... ”,而我无法做到/找到。

So I found this: http://technet.microsoft.com/en-us/library/cc770472(v=WS.10).aspx , where these instructions are given:所以我找到了这个: http : //technet.microsoft.com/en-us/library/cc770472(v=WS.10).aspx ,其中给出了这些说明:

To open IIS Manager from the Start menu Click Start, and then click Control Panel.从“开始”菜单打开 IIS 管理器 单击“开始”,然后单击“控制面板”。 Do one of the following: If you are using Windows Vista® or Windows Server® 2008, click System and Maintenance, and then click Administrative Tools.执行以下操作之一: 如果您使用的是 Windows Vista® 或 Windows Server® 2008,请单击系统和维护,然后单击管理工具。 If you are using Windows® 7 or Windows Server® 2008 R2, click System and Security, and then click Administrative Tools.如果您使用的是 Windows® 7 或 Windows Server® 2008 R2,请单击系统和安全,然后单击管理工具。 In the Administrative Tools window, double-click Internet Information Services (IIS) Manager.在“管理工具”窗口中,双击 Internet 信息服务 (IIS) 管理器。 To open IIS Manager from the Search box Click Start.从“搜索”框中打开 IIS 管理器 单击“开始”。 In the Start Search box, type inetmgr and press ENTER.在“开始搜索”框中,键入 inetmgr 并按 Enter。

As this is Windows 7, I tried System and Security |由于这是 Windows 7,我尝试了系统和安全 | Administrative Tools, but there is no IIS Manager in the list.管理工具,但列表中没有 IIS 管理器。 So I then tried the "inetmgr" route and that, too, failed (it opens a "Search Results" dialog with "No results matched you search" or similar wording).所以我然后尝试了“inetmgr”路线,但也失败了(它打开一个“搜索结果”对话框,其中包含“没有与您搜索匹配的结果”或类似的措辞)。

So how can I locate the IIS Manager so that I can create anew or reattach the configurations the asp.net is failing to find?那么如何找到 IIS 管理器,以便我可以重新创建或重新附加 asp.net 未能找到的配置?

UPDATE更新

I had to manually add support for asp.net 4 in IIS Manager for my project to quit whining.我不得不在 IIS 管理器中手动添加对 asp.net 4 的支持,以便我的项目停止抱怨。 Why wouldn't this automatically be configured when installing asp.net 4?!?为什么在安装 asp.net 4 时不会自动配置?!? Anywho, for the benefit of future onreaders, here is what I had to add in its full color glory: Anywho,为了未来的读者的利益,这是我必须添加的全彩荣耀:

在此处输入图片说明

So here's how it looks at the end:所以这是最后的样子:

在此处输入图片说明

I don't know why v2 is needed and, if it is, why version 3 is not, but the important thing (for me, now) is having v4 support.我不知道为什么需要 v2,如果需要,为什么不需要第 3 版,但重要的是(对我来说,现在)有 v4 支持。

UPDATE 2更新 2

Right-click solution, there is a "Use IIS Express..." menu item.右键解决方案,有一个“Use IIS Express...”菜单项。 If you select that, you see:如果你选择它,你会看到:

在此处输入图片说明

...so maybe all that lying on my back, getting oil in my hair was unnecessary - just select this and all that behind-the-scenes stuff would have been taken care of automagically? ...所以也许所有躺在我背上的东西,在我的头发上沾油都是不必要的 - 只需选择这个,所有幕后的东西都会自动处理?

First of all, you need to check that the IIS is installed in your machine, for that you can go to:首先,您需要检查您的机器中是否安装了 IIS,为此您可以访问:

Control Panel --> Add or Remove Programs --> Windows Features --> And Check if Internet Information Services is installed with at least the 'Web Administration Tools' Enabled and The 'World Wide Web Service'控制面板 --> 添加或删除程序 --> Windows 功能 --> 并检查 Internet 信息服务是否至少启用了“Web 管理工具”和“万维网服务”

If not, check it, and Press Accept to install it.如果没有,请检查它,然后按“接受”进行安装。

Once that is done, you need to go to Administrative Tools in Control Panel and the IIS Will be there.完成后,您需要转到控制面板中的管理工具,IIS 将在那里。 Or simply run inetmgr (after Win+R).或者简单地运行 inetmgr(在 Win+R 之后)。

Edit: You should have something like this:编辑:你应该有这样的东西:在此处输入图片说明

您需要确保已安装 IIS 管理控制台。

To open IIS Manager, click Start, type inetmgr in the Search Programs and Files box, and then press ENTER.若要打开 IIS 管理器,请单击“开始”,在“搜索程序和文件”框中键入 inetmgr,然后按 Enter。

if the IIS Manager doesn't open that means you need to install it.如果 IIS 管理器未打开,则意味着您需要安装它。

So, Follow the instruction at this link: https://docs.microsoft.com/en-us/iis/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7因此,请按照此链接中的说明进行操作: https : //docs.microsoft.com/en-us/iis/install/installing-iis-7/installing-iis-on-windows-vista-and-windows-7

On a Windows Server 2016 I opened Server Manager from the start menu search.在 Windows Server 2016 上,我从开始菜单搜索中打开了Server Manager Then clicked Tools on the top right.然后点击右上角的Tools Then found Internet Information Services (IIS) Manager然后找到Internet Information Services (IIS) Manager

Or click win + r then type inetmgr then hit enter.或者点击win + r然后输入inetmgr然后回车。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM