如何让Win2000和XP SP1支持System.EnterpriseServices(XP已验证)
有的地方写System.EnterpriseServices可以在WinXPSP2和Win2003上使用,
我们可以让Win2000和WinXPSP1上也可以使用。
引子:
我在WinXP Pro上和Win2000上都无法运行下面语句:
sc = new System.EnterpriseServices.ServiceConfig();
总是得到
ex.Message "当前平台上不支持“ServiceConfig”。" string
的错误。
解决办法:
对于想在XPSp1上使用System.EnterpriseServices.ServiceConfig,可以:
This feature works with Windows Server 2003 and Windows XP SP2, officially.
But, there is a tweak to get it working before XP SP2: Hotfix 828741.
You wont see any single word about SWC mentioned there, but believe me,
with this hotfix all things are good :)
参考:
Services without Components works on XP without SP2
或者:
Databases, MSMQ, [you name a resource manager] and Services Without Components
Hotfix的下载地址:
Download(
http://www.rm.com/Support/GeneralDownload.asp?cref=DWN222592 nav=0)
URL:
http://cert.swjtu.edu.cn/soft/windows_2000/Windows2000-KB828741-x86-CHS.EXE
http://cert.swjtu.edu.cn/soft/windows_xp/WindowsXP-KB828741-x86-CHS.EXE
Infecting-The-Enterprise-Abusing-Office365-Powershell-For-Covert-C2 立即下载
相关文章
- IDEA打jar包在服务器运行出现Error:Invalid or corrupt jarfile xxx.jar 报错+如何使用IDEA打jar包
- 如何修改 SAP ABAP OData 模型,使其支持 $expand 操作试读版
- 还不知道如何在java中终止一个线程?快来,一文给你揭秘
- 【机器学习】如何向5岁小孩解释什么是支持向量机(SVM)?
- 如何用iPad游玩SDVX
- 一步步教你安装MySQL数据库(如何安装mysql数据库)
- 字符集Linux如何支持GBK字符集(linux支持gbk)
- 如何在MQ中实现支持任意延迟的消息?
- “Linux小于”是什么意思?若指Linux系统系统内存小于需求,如何改善?(linux小于)
- Linux操作系统如何支持触摸屏?(linux触摸屏)
- MongoDB如何支持中文字符?(mongodb中文字符)
- MySQL中如何支持iPad的使用(mysql中ipad)
- 如何正确识别Redis主从(怎么区分redis主从)
- 点赞风云Redis如何支持在线设计(点赞redis如何设计)
- 利用Redis实现快速的数据删除(如何将redis挂载删除)
- MySQL递归不支持,如何解决(mysql不能递归)
- MySQL不支持集合查询,应如何处理(mysql不支持集合查询)
- MySQL数据库不支持多核处理器,如何提高其性能(mysql不支持多核)
- MySQL不支持中文输入,如何解决(mysql不支持中文输入)
- 原神机器人如何开启Redis服务(原神机器人redis怎么开启)
- 如何在mysql中处理没有外键约束的问题(mysql 不支持外键)
- 如何实施Oracle 10的升级方案(oracle10升级方案)
- 李开复的书告诉你,如何给非专业人士讲解什么是深度学习
- php中如何防止表单的重复提交