3 Replies Latest reply on May 15, 2016 3:23 PM by electon

    Filemaker Server script error code 152; aborted by user

    raman.saini

      Hi everyone,

       

      We have been running a scheduled script on FMS 14 that connects to remote files(hosted on cloud sever) and does sync the data. We have running this scheduled script from several different locations across US. Now, it works fine on all the locations except two of them, where it throws the error 152 aborted by user.

       

      The scripts run fine when run from FMP and also runs sometimes on the schedule script like only around 30% of the time it completes. Checking the server logs, it just breaks out of the script randomly. Sometimes it breaks after a perform find, sometime doing a GTRR, or Go to Record Request. We are assuming is this because of the internet connection or some file permission errors? The internet at one the location(among the two) is very good, so that should not be the cause of issue. Also, can this be related to files permissions, or is it something else.

      We have been trying to find solution to this, but are not very successful. Is there anyone have had this problem and any solutions available? Any comments will be helpful. Thanks!

        • 1. Re: Filemaker Server script error code 152; aborted by user
          bigtom

          It is tough to say why if it completes only 30% of the time. That would lead me to believe that it is a valid script. The fact that it runs from FM Pro without fail seems to say it might not be a connection issue. Are you accessing the file structure on the server?

           

          Have you tried running the script with PSOS through FMP? Any different results?

           

          There might be something in those particular data sets from that location that are causing a problem or the connection is so bad that it is causing an issue in the transferred data itself.

          • 2. Re: Filemaker Server script error code 152; aborted by user
            raman.saini

            hi,

             

            yes, we are accessing the files structure on the server, going to central server file layouts and doing finds there(and that's where the script is breaking).

             

            I haven't tried running the script with PSOS, probably because we want it running on a schedule, but i can try that.

             

            Does the error code 152 says anything else, like "aborted by user" is not so helpful, it should give more info where the error is happening, is it on the server files, the local files, or any info that might help troubleshooting such issues.

            • 3. Re: Filemaker Server script error code 152; aborted by user
              electon

              It might be related to a permissions issue.

              Is it Windows or OS X or mixed environments?

               

              Are you running any system level code alongside filemaker script steps in that script?

               

              Two other machines might have different setups than the rest.