简体   繁体   English

无法获得在 VS2010 中使用 IISOle 对象的引用

[英]Can't get a reference to use IISOle object in VS2010

I am trying to get a reference to the Active DS IIS Namespace Provider in Visual Studio .NET.我正在尝试在 Visual Studio .NET 中获取对 Active DS IIS 命名空间提供程序的引用。 This reference will enable me to use the IISOle namespace....此参考将使我能够使用 IISOle 命名空间....

I have tried adding the reference by doing the following steps in Visual Studio 2010:我尝试通过在 Visual Studio 2010 中执行以下步骤来添加引用:

  1. Add References添加引用
  2. COM通讯

In my list of references I can only see the "Active DS Type Library", this does not give me the reference I need to use IISOle.在我的参考列表中,我只能看到“Active DS 类型库”,这并没有给我使用 IISOle 所需的参考。 I have read that you need to "Active DS IIS Namespace Provider" but it does not appear in my list.我已经读到您需要“Active DS IIS Namespace Provider”,但它没有出现在我的列表中。

In Windows 7 you must add IIS6 extensions:在 Windows 7 中,您必须添加 IIS6 扩展:

  1. In "Control Panel", go to "Programs and Features", "Turn Windows features on or off" and scope out everything under IIS, including the IIS 6 stuff.在“控制面板”中,转到“程序和功能”、“打开或关闭 Windows 功能”并确定 IIS 下的所有内容,包括 IIS 6 内容。

  2. Make sure that the feature "IIS Metabase and IIS 6 configuration compatibility" is checked, found under "Internet Information Services" > "Web Management Tools" > "IIS 6 Management Compatibility".确保选中“IIS Metabase 和 IIS 6 配置兼容性”功能,位于“Internet 信息服务”>“Web 管理工具”>“IIS 6 管理兼容性”下。

Windows 功能 来自 Windows 10 的 IIS 6 管理兼容性选项

  1. Then you can add these COM references to your VS2010 project:然后你可以将这些 COM 引用添加到你的 VS2010 项目中:
    • Active DS IIS Extension Dll活动 DS IIS 扩展 Dll
    • Active DS IIS Namespace Provider活动 DS IIS 命名空间提供程序

And you are done!你已经完成了! :-) :-)

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

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