1 Reply Latest reply on Apr 11, 2013 2:58 PM by hjgunn@mmedia.is

    XML query not working - Error 4 Command is unknown

    hjgunn@mmedia.is

      I started out with an 104 error but then discovered that I was pointing the browser to the wrong version of my database.

      But now it has changed into an error 4

       

      ===

       

      FM 12 server - not advanced.

      I receive the error when running the following query:

       

      http://myhost.com/fmi/xml/FMPXMLRESULT.xml?-db=vefjabrandur&-lay=base_svar&-script=QueryScript01&-script.param=996&numer_beidnar=996&-find

       

      The script, that is named in the query, does actually exist in the database and runs normally.

      Also I'm using GetAsNumber ( Get (ScriptParameter)) to read the variable I'm sending along

      ===

       

      The following query, that only performs a find, works OK.

       

      http://myhost.com/fmi/xml/FMPXMLRESULT.xml?-db=vefjabrandur&-lay=base_svar&numer_beidnar=996&-find

       

      Can any of you see what it is I'm doing wrong or is missing?

       

      TIA

      Hans

       

      Message was edited by: hjgunn@mmedia.is