Error -1 on Licence verification

Eric Schmidt's Avatar

Eric Schmidt

28 May, 2015 01:55 PM

Hello all

I need to be able to verify if the plug-in is registered or not.
When I call the "configure" Function it returns "-1" error even if the plug-in is registered ( In FileMaker Prefs I can See it )
What does "-1" error means ?

Here is the code I use.
Definir
(
[
reg_name ="CIS" // Enter your registration name
;
reg_code = "xxxxxxxxxxxx" // My code instead
;
reg_userCount = "25"// Enter the number of users for your license
;
reg_licenseType = "Developer"// Enter your license type
;
register = PrSw_Configure ( "register|" & reg_name & "|" & reg_code & "|" & reg_userCount & "|" & reg_licenseType )
;
save = PrSw_Configure ( "save_reg" )
]
;
save
)

Thanks for any input

Eric

  1. Support Staff 1 Posted by koen on 26 Jun, 2015 08:44 AM

    koen's Avatar

    Hi Eric,

    The error happens when you try to save it in the preferences. In the previous step, he was able to register it.

    If you restart FileMaker (without opening the file), and you go to the FileMaker prefs, can you still see the license info?

    A the meantime I have a couple of other questions:
    - What version of FileMaker do you use? - Which operating system do you use? - What are the privileges of the user? Are there special policies?

    Best regards,

    Koen Van Hulle

Reply to this discussion

Internal reply

Formatting help / Preview (switch to plain text) No formatting (switch to Markdown)

Attaching KB article:

»

Attached Files

You can attach files up to 10MB

If you don't have an account yet, we need to confirm you're human and not a machine trying to post spam.

Keyboard shortcuts

Generic

? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac