In some cases, writing system. enterpriseservices can be used on winxpsp2 and win2003,
We can also use Win2000 and winsp1 SP1.
Introduction:
On WINXP pro and win2000, I cannot run the following statement:
SC = new system. enterpriseservices. serviceconfig ();
Always get
Ex. Message "" serviceconfig "is not supported on the current platform ". "String
.
Solution:
You can:
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
Refer:
Services without components works on XP without SP2
Or:
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