Valentina.GetDatabaseVersion() and remote database

Stan Busk maxprog at mac.com
Thu Mar 15 04:33:53 CDT 2007


Hi,

Well. I have more info. My file was corrupt because the server  
crashed at some time. Today after a night of sleep I decided to  
replace the file with a fresh one. Now I can pass the Open() command  
however the server still crashes a while later when loading data. It  
is fully reproducible. It always crash and sometimes corrupts the  
file I guess when the crash happen when writing to the file. After  
the crash I get a '#394504 Stream EOF reached' exception and right  
after a '#394506: Stream read error.' The crash log is available  
here: http://www.maxprog.com/misc/crashlog.txt

stan

> On 15/3/07 12:11 AM, "Stan Busk" <maxprog at mac.com> wrote:
>
>> Function Database_UpdateSchema( f As FolderItem )
>>      db.Open f <------------------------------------------ 
>> Exception here
>> End Function
>>
>>
>> Always fail, at least in my live application.
>
> Hi Stan,
>
> Please note:
>
> * when you OPEN or CREATE db using VSERVER you specify only
>     its NAME. not a full path.
>
> * when you work with LOCAL db you specify FolderItem that contains  
> full path
> in fact.
>
> I have see that you try get DatabaseInfo then use its path to make new
> FolderItem(). You should understand that in fact this is path of  
> REMOTE
> computer, may be even different OS.
>
>
> -- 
> Best regards,
>
> Ruslan Zasukhin
> VP Engineering and New Technology
> Paradigma Software, Inc
>
> Valentina - Joining Worlds of Information
> http://www.paradigmasoft.com
>
> [I feel the need: the need for speed]
>
>
> _______________________________________________
> Valentina mailing list
> Valentina at lists.macserve.net
> http://lists.macserve.net/mailman/listinfo/valentina



More information about the Valentina mailing list