Re: Problem with adding a connection with Win32::NetResource
- From: chas.owens@xxxxxxxxx (Chas. Owens)
- Date: Thu, 27 Dec 2007 23:55:09 -0500
On Dec 27, 2007 3:15 PM, Nash <lontche@xxxxxxxxx> wrote:
snip
The program actually works if I omit the 'LocalName' definition in
line 4, i.e. it makes the connection. However, since I don't have a
local name I can't subseqently cancel the connection, and I'd like to
be able to do that.
With the local name definition, the program doesn't make the
connection, reporting an error code of 1200.
So:
1. What am I doing wrong?
You are not using the strict pragma (this doesn't effect your current
problem, but it is still a bad idea).
It also looks (based on the answer to your second question) like X: is
not a valid name. Is it possible that you have already mapped a drive
to X:?
2. Where can I find the error codes and their meanings?
I would suggest consulting the oracle:
http://www.google.com/search?q=smb+error+code+1200
From that search I learned the 1200 means "The specified device nameis invalid."
.
- Follow-Ups:
- References:
- Prev by Date: Re: beginners-help@perl.org
- Next by Date: Env variables readable by an application
- Previous by thread: Problem with adding a connection with Win32::NetResource
- Next by thread: Re: Problem with adding a connection with Win32::NetResource
- Index(es):
Relevant Pages
|
|