等效的“aspnet_regiis -lk”是什么?在 Windows 7 上?
或者:如何在 Windows 7 中找到 IIS 元数据库路径?
我以前只运行 aspnet_regiis -lk
,但根据 aspnet_regiis
帮助,这是“Windows Vista 中不支持”...
Or: how do I find the IIS metabase paths in Windows 7?
I used to just run aspnet_regiis -lk
, but this is "Not supported in Windows Vista" according to aspnet_regiis
help...
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
这是因为从 Windows Vista 开始,发布了新版本的 IIS (IIS 7),它在很多方面与旧版 IIS 体系结构有很大不同。
要控制新的 IIS,您应该使用 IIS 管理器 (UI),或者如果您需要控制台工具,请查看 C:\Windows\System32\inetsrv\AppCmd.exe
如果您想列出应用程序池及其.NET 版本:
获取 IIS 中的应用程序列表:
获取站点列表:(
注意:这些是示例,并非我机器中的所有实际数据 :P )
当然,它可以做的事情比列出的要多得多..在某些方面它比 IIS 管理器更强大。
您正在寻找什么具体的东西吗?
UPD:
从这里退出: http ://mvolo.com/blogs/serverside/archive/2007/07/21/Anatomy-of-an-IIS7-configuration-path.aspx
一定要看看这篇文章,因为我认为这正是您在这种情况下寻找的东西
此外,请在此处查看有关它的更多信息:
http://learn.iis.net/page。 aspx/125/metabase-compatibility-with-iis-7/
基本上,您可以安装“IIS 6 Metabase Compatibility”服务器角色,并使用一些旧工具和脚本对其进行一些控制:)
This is because starting with Windows Vista, a new version of IIS is shipped (IIS 7) which is a LOT different in many ways than the older IIS architecture.
To control the new IIS, you should either be using the IIS manager (UI) or if you want a console tool take a look at C:\Windows\System32\inetsrv\AppCmd.exe
If you want to list the app pools and their .NET versions:
Get the list of applications in IIS:
Get the list of Sites:
(Note: these are examples, not all the actual data from my machine :P )
It can do a lot more then list, of course.. and in some ways it's a lot more powerful than than IIS manager.
Anything specific you're looking for?
UPD:
Quiting from here: http://mvolo.com/blogs/serverside/archive/2007/07/21/Anatomy-of-an-IIS7-configuration-path.aspx
Definitely check out this article, as I think it's exactly what you're looking for in this case
Also, see more info about it here:
http://learn.iis.net/page.aspx/125/metabase-compatibility-with-iis-7/
Basically you can install the "IIS 6 Metabase Compatibility" server role, and have some control over it with some old tools and scripts :)