This discussion has been locked.
You can no longer post new replies to this discussion. If you have a question you can start a new discussion

how to resolve server-level access rights permission on building VAF Application

Hello,

I am trying to build a sample VAF application.
In my solution I have :

  • appdef.xml (always copy true)

  • MFVaultApplicationInstaller.exe (copy if newer)



in the Post Build I execute the following script :
start "Installing Vault Application" /D "$(TargetDir)" "MFVaultApplicationInstaller.exe" "Some Vault Name"


When I build the application, I get the following error :

You do not have the server-level access rights required by this operation

To compensate this :

  • The logged in user has Admin level permissions

  • I execute visual studio in Administrator mode

  • Also If executed in command prompt I make sure it runs in Administrator mode



Is there something I am missing?

Regards,
Shoeb

Parents
  • Hi Shoeb,

    Firstly: you seem to be using the VAF 1.0 template. This is quite old now and, assuming you aren't targeting old versions of M-Files, I would highly recommend that you use the VAF 2.0 or VAF 2.1 templates and runtimes.

    Secondly: this error is because your current Windows user (the one executing the installation) is not marked as a server administrator in M-Files. You need to create them a user, assign them a licence, and ensure that they have the "Server Administrator" role.

    Regards,

    Craig.
Reply
  • Hi Shoeb,

    Firstly: you seem to be using the VAF 1.0 template. This is quite old now and, assuming you aren't targeting old versions of M-Files, I would highly recommend that you use the VAF 2.0 or VAF 2.1 templates and runtimes.

    Secondly: this error is because your current Windows user (the one executing the installation) is not marked as a server administrator in M-Files. You need to create them a user, assign them a licence, and ensure that they have the "Server Administrator" role.

    Regards,

    Craig.
Children
No Data