[V4MD Client] no error on bad connect

Martin Wright martin at kinetix.co.uk
Wed Jul 7 12:19:00 CDT 2004


Hi Ruslan

There is no Vserver, and no computer with IP "2.2.2.2".
This is the problem, I need to trap it when there's no Vserver found.

When the Vserver is there, it works great.


-----Original Message-----
From: valentina-bounces at lists.macserve.net
[mailto:valentina-bounces at lists.macserve.net] On Behalf Of Ruslan Zasukhin
Sent: 07 July 2004 12:10
To: valentina at lists.macserve.net
Subject: Re: [V4MD Client] no error on bad connect

On 7/7/04 1:48 PM, "Martin Wright" <martin at kinetix.co.uk> wrote:

> Hi
> 
> When I try to connect to a Vserver with a wrong IP address I get no 
> error, so I can't trap it.
> 
> set gMyDB = new( xtra "VDataBase", "2.2.2.2", "sa", "sa", 15435, "",
> mySerialNumber)
> err = ValentinaError()
> errStr = ValentinaErrorString()
> OpenDatabase( gMyDB, dbPath )
> 
> 
> The 4 lines above give me:
> 
> * V4MD *: Create_VDataBase...* V4MD *: DB_New...done
> * V4MD *: ValentinaError...done
> * V4MD *: ValentinaErrorString...done
> * V4MD *: OpenDatabase...done
> 
> How can I trap this?

Hi Martin,

Igor say that must be error.
We need check this.

Have you check log of Vserver?
It not show connection?

I ask because from your above all looks as correct.

Try to restart also


--
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://lists.macserve.net/mailman/listinfo/valentina
-------------------------------------------------------------

_______________________________________________
Valentina mailing list
Valentina at lists.macserve.net
http://lists.macserve.net/mailman/listinfo/valentina




More information about the Valentina mailing list