无法读取WMICompatibility值Registry.GetValue

编程入门 行业动态 更新时间:2024-10-25 05:17:20
本文介绍了无法读取WMICompatibility值Registry.GetValue的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我有一个IIS7(Windows 2008的服务器),并要检查通过C#,如果启用了IIS6兼容性模式。 我做这个检查值

I have an IIS7 (Windows 2008 Server) and wants to check via C#, if the IIS6 Compatibility mode is enabled. I do this checking the value

HKEY_LOCAL_MACHINE\\Software\\Microsoft\\InetStp\\Components","WMICompatibility"

在一台服务器工作原理。在另一台服务器上,这并不正常工作(在两台服务器上安装了兼容模式。有什么能成为第二个服务器上的问题的原因。看来第二个服务器上,这Registry.GetValue找不到WMICompatibility。

On one server this works. On another server this doesn't work (. On both servers the Compatibility mode is installed. What could be the reason of the problem on the second server. It seems on the second server, that Registry.GetValue cannot find WMICompatibility.

推荐答案

我发现在IIS上的主题论坛

和它的反应之一提到这$ C $的CProject文章。

如果希望提供你所需要的。

Should hopefully provide what you need.

更多推荐

无法读取WMICompatibility值Registry.GetValue

本文发布于:2023-11-09 10:05:49,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1572088.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:WMICompatibility   Registry   GetValue

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!