afp mounting issue

I’m writting a simple script that mounts a server volume before launching a program that needs the mounted volume to run.

I have it working correctly on one server but at another school with a different server it will not work. Oddly if I manually connect to server and put in the same address it will connect but when run in the script it kicks out as if the server does not exist.

The mount volume portion of the script that works on one server is below for what it’s worth. The key thing to me is the same exact cut and pasted address will work fine through the connect to server gui but will not work at all in applescript.

I’d appreciate any hints or anything else that might point me in the right direction.

mount volume afp://school-students.county.state.us/

Is there any difference in the OS/updates installed on the servers or clients, or are they the exact same versions?