[lnkForumImage]
TotalShareware - Download Free Software

Confronta i prezzi di migliaia di prodotti.
Asp Forum
 Home | Login | Register | Search 


 

Forums >

microsoft.public.dotnet.framework.sdk

OpenService does not work on Cluster for .NET RC1

Sui Tam

9/24/2002 8:04:00 PM

The following piece of code works on WIN2000 but it stops
working with .NET Server RC1

SC_HANDLE sch = NULL, h = NULL;
if ((sch = OpenSCManager(g_MachName=NULL, NULL,
GENERIC_READ))==NULL) {
goto errout;
}

if ((h = OpenService(sch, "ClusSvc",
GENERIC_READ)) == NULL) {
goto errout;
}

It returns with error:

Err997: Overlapped I/O operation in progress.

What is the workaround for this problem?
1 Answer

(Xin Tian)

10/22/2002 12:51:00 PM

0

Hi Sui Tam,

I have tested on .NET Server RC1 cluster with the same code, the only
changed code is the machine name, the test is ok, i.e., both API invocation
succeed.

Is it possible for you testing on another machine in order to rule out any
potential environment issues.
Best regards,
xintian
VS.NET, Visual C++
Microsoft

This posting is provided "AS IS" with no warranties, and confers no rights.
Got .Net? http://www.got...