V4MD: ERR_CONNECTION_BROKEN_RECEIVED_PACKET

Ivan Smahin ivan_smahin at valentina-db.com
Thu Nov 16 11:47:26 CST 2006


Hello Martin,

Thursday, November 16, 2006, 11:35:38 AM, you wrote:

> 1) ERR_CONNECTION_BROKEN_RECEIVED_PACKET:
> #################################################

So we need the data from table Herbs.
Particularly we need Herb and Nums fields.


> 2) Xtra does not report any Valentina Error when connecting with wrong
> username:
> ##############################################################

Code:
----------------------
  V2 = new (xtra "Valentina")
  V2.InitClient()
 -- Now, connect with wrong login or password:
 Vcon = new(xtra "VConnection", "localhost", "mauurtin", "xxdfsefs", 
15434, 20)
  Vcon.open()
  myDB = new(Xtra "VDatabase", #kClient, VCon)
  myDB.open("herbdb")   


!!!!!! It is too late to check the properly opened connection!
  VErrorSymbol = string(V2.lastErrorSymbol)


You need something like this:
  Vcon.open()
  VErrorSymbol = string(V2.lastErrorSymbol)

  myDB.open("herbdb")
  VErrorSymbol = string(V2.lastErrorSymbol)



-- 
Best regards,
 Ivan                            mailto:ivan_smahin ÎÁ valentina-db.com



More information about the Valentina mailing list