获取 IIS 条目的配置数据库路径(安装已停止,因为指定的路径不是有效的 Web 应用程序)

发布于 2024-07-08 00:26:45 字数 108 浏览 4 评论 0原文

我绝不是系统管理员,所以如果我错了,请纠正我。

我想运行 aspnet_regiis.exe -s。 这需要我网站的元数据库路径。

如何找到此元数据库路径?

I'm by no means a sysadmin so please correct me if I'm wrong.

I want to run aspnet_regiis.exe -s.
This requires the metabase path of my website.

How do I find this metabase path?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

夏日落 2024-07-15 00:26:45

只需运行 aspnet_regiis.exe -lk 即可查看已注册应用程序的列表、其元数据库路径以及为此应用程序安装的 .NET 框架版本。

另外,您还可以使用以下几个链接来查找配置数据库路径:

HTH ,

大学教师

Just run aspnet_regiis.exe -lk to see a list of the registered applications, their metabase paths and the version of the .NET framework installed for this application.

Also, here are a couple of links that you can use to find the metabase path:

HTH,

Don

匿名。 2024-07-15 00:26:45

对于高于 Vista 的 Windows 版本,请尝试 appcmd,使用“列出站点”命令:

%WindowsDirectory%\system32\inetsrv\appcmd 列表站点

这将为您提供系统上所有站点的站点名称和 ID。

配置数据库路径的形式为

/W3SVC/<站点 ID>/Root

加上站点 ID。

For versions of Windows higher than Vista, try appcmd, with the "list site" commands:

%WindowsDirectory%\system32\inetsrv\appcmd list site

This should give you the site name and id for all the sites on the system.

The metabase path is of the form

/W3SVC/<site id>/Root

plus the site id.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文