`

[_NET]如何让Win2000和XP SP1支持System.EnterpriseServices(未验证)

 
阅读更多
<iframe align="center" marginwidth="0" marginheight="0" src="http://www.zealware.com/csdnblog336280.html" frameborder="0" width="336" scrolling="no" height="280"></iframe>

有的地方写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 won't see any single word about SWC mentioned there, but believe me, with this hotfix all things are good :)

或者参考:

或者:

Databases, MSMQ, [you name a resource manager] and Services Without Components

Hotfix的下载地址:

Download(http://www.rm.com/Support/GeneralDownload.asp?cref=DWN222592&nav=0)

Filename File Size Download at 56k Download at 128k Download at 0.5Mb Download
Windows2000-KB828741-x86-ENU.EXE 4.46 Mb 24 m 47 s 10 m 57 s 2 m 40 s Download
WindowsXP-KB828741-x86-ENU.EXE 3.08 Mb 17 m 7 s 7 m 34 s 110 s Download

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




分享到:
评论

相关推荐

Global site tag (gtag.js) - Google Analytics