Error 1005 V4MD
Florian Bogeschdorfer
fb at memedia.de
Mon Nov 10 17:49:19 CST 2003
Hi!
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?
Best regards, Florian
More information about the Valentina
mailing list