in reply to Win32::TieRegistry and Connect Method Errors
Sorry that I don't have time right now for a more thorough answer.
Unfortunately, I don't think I ever found a clear-cut explanation for when you might get "Overlapped I/O operation is in progress". But I strongly suspect that the problem is one of authentication.
Before trying to connect to the remote registry, authenticate with the remote server either with something hackish like:
or using Win32::NetResource's AddConnection().system("net use \\\\$Machine\\\$IPC"); #or, to be more eplicit (and get prompted for your password): system("net use \\\\$Machine\\\$IPC /user:domain\\you *");
There are also cases where SMB authentication will fail when using a computer name. So you might try using an IP address in $Machine instead.
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: Win32::TieRegistry and Connect Method Errors (authenticate)
by Anonymous Monk on Nov 12, 2003 at 21:53 UTC | |
|
Re: Re: Win32::TieRegistry and Connect Method Errors (authenticate)
by kakaze (Sexton) on Nov 13, 2003 at 09:51 UTC | |
by tye (Sage) on Nov 13, 2003 at 17:10 UTC |