Print Thread
Exception on changing password
#4822 04/11/03 06:05 PM
Joined: Jun 2002
Posts: 4
SPb
N
Nastya Offline OP
Member
OP Offline
Member
N
Joined: Jun 2002
Posts: 4
SPb
Hi, All!
I've got problem while changing user password. The Oracle procedure works OK and and the password really changes, but when I want to quit the programm the TOracleEvent object raises an exception "invalid user name or password". Also it raises an exception if the Stop() method is called.
The ordinary session (TOracleSession) hasn't such problems.
Could you help me ?
Thank you.

Re: Exception on changing password
#4823 04/11/03 07:29 PM
Joined: Aug 1999
Posts: 22,220
Member
Offline
Member
Joined: Aug 1999
Posts: 22,220
The TOracleEvent will use a secondary session when Stop is called. This procedure does indeed not handle password changes. We'll fix this.

To work around the problem, set TOracleEvent.InternalSession.LogonPassword to the new password after a change.

------------------
Marco Kalter
Allround Automations


Marco Kalter
Allround Automations
Re: Exception on changing password
#4824 04/11/03 08:12 PM
Joined: Jun 2002
Posts: 4
SPb
N
Nastya Offline OP
Member
OP Offline
Member
N
Joined: Jun 2002
Posts: 4
SPb
It works.
Thank you [Linked Image]


Moderated by  support 

Link Copied to Clipboard
Powered by UBB.threads™ PHP Forum Software 7.7.4
(Release build 20200307)
Responsive Width:

PHP: 7.1.33 Page Time: 0.053s Queries: 13 (0.012s) Memory: 2.5032 MB (Peak: 3.0427 MB) Data Comp: Off Server Time: 2024-05-19 03:17:42 UTC
Valid HTML 5 and Valid CSS