[VSRV] Binding database 'x' :Failed

Fred.Stephenson Fred.Stephenson at wanadoo.fr
Thu May 29 15:26:04 CDT 2003


Ruslan,

>Why?
>
>Because we remotely admin Vserver.
>We have some db on remote server and we want register it with Vserver.
>You need send from your Client the Full Path of that db on server.
>
>And note. For OS X Server this should be UNIX path,
>     i.e. It must looks as "/Users/rz/db/mydb.vdb
>
>     not as  "OS X:Users:rz:db:mydb.vdb"
>
>Check that you really send UNIX path.

I threw everything away, downloaded both servers and v4rb_client


The following hangs the App running in the IDE
dim server as vserver
dim i as integer
dim s as string
dim dbi as vdatabaseinfo

server = new vserver(editfield1.text,"sa","sa")

server.opensession
server.registerdatabase(editfield2.text,editfield3.text)
server.close session

editfield1="127.0.0.1"
aditfield2 ="dgidb"
editfield3 ="/users/fred/vserver_dbs/dgidb.vdb"
the above file exists in the folder
I also tried
editfield3 ="Mac OS X/users/fred/vserver_dbs/dgidb.vdb"

When force Quitting RealBasic I also have to Force quit VServer


the following works :

dim server as vserver
dim i as integer
dim s as string
dim dbi as vdatabaseinfo

server = new vserver(editfield1.text,"sa","sa")

server.opensession

for i = 1 to server.databasecount
s=s+server.databaseinfo(i).name +chr(13)
next
msgbox s

server.close session

this shows me "master".


More information about the Valentina mailing list