Error 1005 V4MD

Ruslan Zasukhin sunshine at public.kherson.ua
Mon Nov 10 19:52:50 CST 2003


on 11/10/03 6:49 PM, Florian Bogeschdorfer at fb at memedia.de wrote:

Hi Florian,
 
> I am using the Vserver Xtra to connect and count databases. Since the user
> may change the password, I check if ValentinaError() is 1005 (unknown
> user/password) and in such a case I promt him to enter the password. This
> works fine in authoring:
> 
> vs=new(xtra
> "Vserver",lPrefs[#serverIP],lPrefs[#dbUser],lPrefs[#dbPW],lPrefs[#serverPort
> ],0,"myEmbeddedLicense")
> x=vs.openSession()
> if NOT voidP(x) then
>   --Fehler
>   progressClose
>   case valentinaError() of
>     1005:--passwort falsch
>       x=VALenterNewPassword()
> .
> .
> .
>     otherwise
>       alert "Beim Anmelden an der Datenbank ist Fehler"&&x&&"aufgetreten.
> Dieses Problem kann nur\
> vom Support gelöst werden!"
>       halt
>   end case
> end if
> 
> 
> But in runtime I don't get the 1005 error (though it is in the log of
> Vserver) but a -21xxxxxxx. Bug?

What you mean -21xxx ?
You see not 1005 code but -21xxx ?

I do not see reason why it fails in runtime...


-- 
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
-------------------------------------------------------------



More information about the Valentina mailing list