Windows XP上的Microsoft.Web.Administration [英] Microsoft.Web.Administration on Windows XP

查看:152
本文介绍了Windows XP上的Microsoft.Web.Administration的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

Windows XP 上的Visual Studio中使用/引用 Microsoft.Web.Administration 是否可行?我知道,在XP上安装IIS 7是不可能的,但我(必须)使用Windows XP作为开发机器。

Is it possobile to use / reference Microsoft.Web.Administration in Visual Studio on Windows XP ? I know, that is not possible to install IIS 7 on XP, but I (must) use Windows XP as a development machine.

推荐答案

从技术上讲,你将无法使用Microsoft.Web.Administration只附带操作系统(即Windows Vista / 2008) ,或Windows 7 / 2008R2)。如果复制DLL并且能够编译,您可以在概念上引用它,但是即使管理远程服务器也无法运行应用程序,因为MWA需要其他对象可在本地工作,即COM实际实现IIS配置系统的库。

Well technically you will not be able to, Microsoft.Web.Administration only ships with the OS (ie Windows Vista/2008, or Windows 7/2008R2). You can conceptually be able to reference it if you copy the DLL and will be able to compile, however you will NOT be able to run your application even for managing remote servers since MWA requires other objects to be locally available to work, namely a COM library that actually implements the IIS configuration system.

你需要破解一下才能使它工作,因为你需要DCOM类型库(ahadmin),但是即使你使其工作,仍然会认为该解决方案不受支持。

You will need to hack a bit to try to make it work since you will need the DCOM type libraries (ahadmin), but even if you make it work, the solution will still be considered not supported.

这篇关于Windows XP上的Microsoft.Web.Administration的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
相关文章
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆