[VSRV/V4RB] error 22 on connect.
Ruslan Zasukhin
sunshine at public.kherson.ua
Mon Apr 28 10:57:53 CDT 2003
on 4/28/03 12:42 AM, Nichole Pinkard at pinkard at umich.edu wrote:
> When I run the example I get error 22
> Here is a snapshot so that you can see that I have the systemcatalog
> correct
>
> What example? V4RB's 'SingleTable' ?
> example = V4RB's 'SingleTable' ?
>
> Please check output of server into console app.
> (and send me copy of it).
> We need define what exactly operation cause problem.
>
> Here is the readout from the console App
>
> Sun Apr 27 2003 16:35:06.336699 Valentina Server (1.0a, Protocol 1.0, Kernel
> 1.9.8b4)
> WARNING: VSDK serial number for MAC was not found. Blank will be used...
>
> 16:35:06.656858 (2684358124) Server started at 5432 port
> 16:35:06.657331 (2684358124) Thread pool activated (5)
> 16:35:06.658692 (2684358124) Thread pool activated (15)
> 16:35:06.661560 (16213648) Accepting thread started
> error 22
>
> error 22
>
>
>
> What exactly step produce error for you ?
>
> STEP to create Bug
> Run program
> Select New from File
> The system open the BaseObject "Person" window with nothing in it.
> Then the program hangs for about 25 seconds
> Then presents the msgbox "can't create database. Error 22"
-----------------------------------------------
> Here is my code for the" FileNew" menu handler inside of TestApplication
> dim f as folderitem
> dim w as window1
> dim res as boolean
>
> //f=getsaveFolderItem("DB", "DataBase1" )
> f = GetFolderItem("Database1")
>
> //if f <> nil then
> w = new window1
>
> w.mDataBase = new MyDataBase( "127.0.0.0", "sa", "sa" )
^^^^^^^^^^^^^^^^
you have take this from Vserver.pdf ?
this was typo.
must be 127.0.0.1
or you can use "localhost"
or simply empty string ""
> 'w.mDataBase = new MyDataBase( "192.168.2.3", "sa", "sa" )
> w.mDataBase.Creator = "VALA" // optional
>
> windows.append w
>
> // We will keep db in the one disk file
> res = w.mDataBase.Create( f, 1, 32 * 1024 )
>
> if(res = false) then
> MsgBox "Can't create database. Error: " + Str(w.mDataBase.ErrNumber)
> return false
> end if
>
> //end if
>
> return true
--
Best regards,
Ruslan Zasukhin [ I feel the need...the need for speed ]
-------------------------------------------------------------
e-mail: ruslan at paradigmasoft.com
web: http://www.paradigmasoft.com
To subscribe to the Valentina mail list go to:
http://listserv.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------
More information about the Valentina
mailing list