Mounting Network Drives

Hello

So I wrote a small script that will on start up mount several network drives that we use. When I run it from the script editor its fine, no issues. I created an app and it keeps giving me “The application serveratstart.app quit unexpectedly” Any reasons for this?

Here is part of the code:


mount volume BlueArc as user name loginName with password loginPassword

mount volume ftpDDG as user name loginName with password loginPassword

mount volume Raid05 as user name loginName with password loginPassword

mount volume Raid2A as user name loginName with password loginPassword

mount volume Raid2B as user name loginName with password loginPassword

mount volume Raid04 as user name loginName with password loginPassword

all the paths are in this format “nfs://[ip address]/etc/etc/”