#1 2012-02-29 22:35:55

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Problem with last build

I have download    [6ffde66930] but when try to open the adtabase and set the user I get an error about RetrieveBlobFields method. With [facbe4e611] I don't have this problem.

Another thing how I can change the defualt password "synopse" of default user. When I try to change it I get an error about TSQLRestClientURI.Update.

Offline

#2 2012-03-01 13:39:57

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Problem with last build

Can you more specific about the error?

TSQLRestClientURI.Update needs to have the rights to modify the TSQLAuthUser table, which are not available by default for obvious security reasons (if any user is able to modify the password of other users, the password is pointless).
You'll need either to create a service and make the change on the server side, either change the authenticated user rights.

Offline

#3 2012-03-01 14:43:10

array81
Member
From: Italy
Registered: 2010-07-23
Posts: 411

Re: Problem with last build

OK, I think I did a bit of confuzione:

1) With the last version of framework [6ffde66930] when I try to open my database I have an exception, I don't understand the problem but my Delphi indicates TSQLRestClientURI.Update. If I replace the framework with [facbe4e611] and try to open my database I don't have this problem.

2) The passeord change is another question (independent from framework version but I did not want open another post on your forum). I need chenge only default password create with a new database and only from server application (user = admin). I thought that this was easily possible. Should I create a service? Why?

Offline

#4 2012-03-01 15:23:15

ab
Administrator
From: France
Registered: 2010-06-21
Posts: 14,660
Website

Re: Problem with last build

1) Which exception? Where?

2) There is no simple way of doing it.
The default password is to be updated after creation.
What you can do e.g. is:
- To first check if the file DB name is not existing;
- Call CreateMissingTables() method on the server side, just as usual;
- If the DB was just created (see step 1), update the password field on the server side.

Offline

Board footer

Powered by FluxBB