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

王朝c#·作者佚名  2006-12-17
窄屏简体版  字體: |||超大  

有的地方写System.EnterpriseServices可以在WinXPSP2和Win2003上使用,谁知道Win2000是否可以使用?

我在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 :)

或者参考:

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)

File Size

56k

128k

0.5Mb

Download

4.46 Mb

3.08 Mb

 
 
 
免责声明:本文为网络用户发布,其观点仅代表作者个人观点,与本站无关,本站仅提供信息存储服务。文中陈述内容未经本站证实,其真实性、完整性、及时性本站不作任何保证或承诺,请读者仅作参考,并请自行核实相关内容。
 
 
© 2005- 王朝網路 版權所有 導航