Skip to main content
Nintex Community Menu Bar

Execute SQL Connection String

  • Feb 27, 2017 5:54 PM UTC
  • 5 replies
  • 36 views
  • Translate All

Forum|alt.badge.img+6

When using the Execute SQL control, I'm getting the following error

199987_pastedImage_1.png

this is the connection string

Data Source=STL-VSQL2012T01;Initial Catalog=INITIATIVE_BENEFITS_TEST;UserId="jupd_rw";Password="X?2xY";

5 replies

Forum|alt.badge.img+2
  • Jun 13, 2017 4:11 PM UTC

Perhaps too late, but for sake of completeness: Try it with

User=jupd_rw;Password=X?2xY;

and it should work.

Tobias

Translate

Forum|alt.badge.img+1

I am getting an error : Login failed to server . Even though using the credentials I am able to login to SQL Server.

Connection string :

Data Source=localhost;Initial Catalog=DBNAME;User ID=USERNAME;Password=PWD

Userid and password is SQL authentication account

Translate

Forum|alt.badge.img+9
  • Jun 20, 2017 7:27 AM UTC

Here You will find a reference how to build the connection string for database access: ConnectionStrings.com - Forgot that connection string? Get it here! 

Translate

Forum|alt.badge.img+2
  • Jun 20, 2017 3:37 PM UTC

Just write

User=USERNAME;Password=PWD

as stated above. "User ID" or "UserID" do not work!

Tobias

Edit: Correct that ConnectionStrings.com - Forgot that connection string? Get it here!  writes it has to be "User ID". Just tried it again myself, it works with both "User" and "User ID". Blimey.

Translate

Forum|alt.badge.img+1

I tried that as well but does not work .

I even tested the connection string using a tester from 

http://www.vadimtabakman.com/connection-string-tester.aspx . It is successfull there but on Nintex it is not working. I am using provider as MsSQL in Nintex.

Translate