cancel
Showing results for 
Search instead for 
Did you mean: 

problem uploading .apk to Afaria

Former Member
0 Kudos

Hi,

I have a problem with uploading newer version of the .apk file to the distribution policy.

After uploading a file on the server, name and version information are displayed correctly, but selecting ok does not result in saving policy.

Server log after operation:

Msg1:

PKG1009: Error updating \"ecodagent.apk\" in database.  Exception: Permission denied: the setting of option allow_read_client_file does not permit you to initiate transfer of data from the client machine by using "read_client_file()"

Msg2:

PKG1009: Error updating \"ecodagent.apk\" in database.  Exception: File does not exist: 'C:\Program Files (x86)\AfariaApiService\Bin\UploadData\fb7e3c0b-230d-43b0-8e41-78e0746e2dcf.dat'

I have Administrator privileges

Version 7.00.6233.4

Any other apk file works correctly.

Accepted Solutions (0)

Answers (1)

Answers (1)

nick_mackerness
Participant
0 Kudos

Hi Konrad

Are you using a SQL Anywhere back end with Afaria?  If so, can you try the following steps to enable client-side loading please?

1) Use Sybase Central to change the value of the option allow_read_client_file:
• Connect to the database.
• Work with server <server name>
• Right-click and select Options.
• Select allow_read_client_file and change the value to On. Note: Its default value is Off.
• Set Permanent Now.

2) Use isql to run these two commands:
set option allow_read_client_file=on
grant readclientfile to <group | user>

3) Restart the database server.

Regards

Nick