WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.

TechHome

Pipes

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

PipeServerCreate problem


Question:

I am having some trouble getting pipes running on two machines that I had to reinstall. I can send to pipes but I can NOT create local pipes. Is there any Windows process that must run in order to make thinks work?? First I thought it was something related to the firewall but after switching all off nothing changed. Would be glad if someone could give me a hint

I am running on Windows is WinXP SP1. The PipeCreate returns (*TIMER*) if I remember correctly.

Note: pipeinfo(0,0) returns 997 (whatever that means)

Funny is that the communication works in one direction. Only the creation of pipes on the clients is somewhat impossible - any suggestions?

Answer:

Error 997 indicates
-------------
//
// MessageId: ERROR_IO_PENDING
//
// MessageText:
//
// Overlapped I/O operation is in progress.
//
#define ERROR_IO_PENDING 997L // dderror
-------------------------------------------
It means the pipe was created, but no client connected to it within the time period specified by the "timeout" parameter.

It might be related to some security issue. Maybe the event logs cand shed some light on the issue.

User Reply:

I think you saved my day. You were right saying that this might be related to some security issue. I tried the same on some different computers and it worked. Seems I have to check the security on my server.....

Okay, for all who might have the same problem. It seems that piping is kind of working on directories. As my computer was secured by a password the client could not connect to the server. I then opened a servers directory, entered the password and saved it! After that all worked fine ;-)


Article ID:   W17205
File Created: 2007:07:03:14:28:42
Last Updated: 2007:07:03:14:28:42