on 5/22/01 6:13 PM, Joe Sonne wrote:
> This is really making my head hurt. I am unable to figure out why the mount
> volume script can not find a volume using the following script on OS 9.1
>
> tell application "Finder"
> mount volume "Mac HD" on server "My Computer"
> end tell
>
> I get error -5016 (afpNoServer) when running this script, even when I have
> that drive mounted on the desktop by going through the chooser. How is it
> possible that the computer can't be found on the network? Is there any way
> that this is a hardware problem? I have that computer daisychain linked to a
> hub from an Assante FriendlyNet hub. Everything else seems to be working
> fine except I can not mount that computer using AppleScript from a PowerBook
> on the network which runs OS9.1.
>
> I can run a mount volume script from the computer in question and mount a
> computer on its desktop that is right next to the PowerBook on the network
> but can not mount the PowerBook on its desktop the same way.
>
> Any help would be sincerely appreciated.
I can't reproduce this on my network. If the box is available in the
Chooser then you script results in a login dialog.
However, if I use the form...
mount volume ("afp://" & userName & ":" & userPassword &
"@" & ipAddress & "/" & volumeName & "/")
...then I receive a -5016 error.
So mounting using AppleTalk is OK, but not TCP IP. If I enable TCP IP
connections in the file sharing CP then I get the volume mounted and it's
name as the result of the mount volume command. Very nice.
Hope that this helps.
--
Paul Skinner
------------------------------
This archive was generated by hypermail 2b29 : Sun May 27 2001 - 12:00:29 AEST