The Origin Forum
File Exchange
Try Origin for Free
The Origin Forum
Home | Profile | Register | Active Topics | Members | Search | FAQ | Send File to Tech support
Username:
Password:
Save Password
Forgot your Password? | Admin Options

 All Forums
 Origin Forum
 Origin Forum
 Connectivity issues with the database with 2FA
 New Topic  Reply to Topic
 Printer Friendly
Author Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic

vladyslav_neshta

Belgium
1 Posts

Posted - 06/03/2024 :  11:28:38 AM  Show Profile  Edit Topic  Reply with Quote  View user's IP address  Delete Topic
Hello!

I have an issue accesing database data after establishing a connection. Our database has 2FA, so upon establishing a database connection we are required to login in the popup window, and I cannot pre-save the login and password. The issue in Origin in particular is that it requires me to login every time I run the query through labtalk script, even if the connection is saved to the worksheet and remains open.
My code is dbEdit iw:=[WKBname]sheetname! execute:=change sql:="new query"; so, i don't close/reopen the connection.
It also requires re-login every time i open SQl editor. This also doesn’t happen in other softwares, as long as we don’t time-out the connection, it will stay open throughout the day.
Can anyone please help me with how this could be addressed? i need to frequently access the database data, and the script i created would dramatically speed things up for me, if i don't have to log in every minute

Thanks in adnvace!

Origin Ver. and Service Release (Select Help-->About Origin): Origin 2023 (64-bit)
10.0.0.154
Operating System:Windows 10

aplotnikov

Germany
160 Posts

Posted - 06/03/2024 :  5:57:19 PM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
quote:
I cannot pre-save the login and password

Does it mean that the "User ID" and "Password" values from the connection string are ignored?

strConn$ = "Provider=SQLOLEDB.1;Password=mypassword;Persist Security Info=True;User ID=myUID;Initial Catalog=myInitCat;Data Source=myDataSrc;Packet Size=4096"
Go to Top of Page

snowli

USA
1379 Posts

Posted - 06/04/2024 :  09:08:38 AM  Show Profile  Edit Reply  Reply with Quote  View user's IP address  Delete Reply
Hello,

Thank you for your patience. We jiraed IT-604 to look into this.

Thanks, Snow
Go to Top of Page
  Previous Topic Topic Next Topic Lock Topic Edit Topic Delete Topic New Topic Reply to Topic
 New Topic  Reply to Topic
 Printer Friendly
Jump To:
The Origin Forum © 2020 Originlab Corporation Go To Top Of Page
Snitz Forums 2000