1

I have setup a SSIS package, and within one of my connections to the same server that the package is on it fails when I use SQL server Auth for login and it does not matter which user I put in.

I can put in my user name which works fine when logging in from SQL Management studio and which works fine when I run the package manually and the connection is set to Windows Auth.

The error I get is Test connection failed because of an error in initializing provider. Login failed for user.

I even tried using our SA account and it fails as well.

Connection string: Data Source=SQL004;Initial Catalog=SAP_TO_E1;Provider=SQLNCLI10.1;Integrated Security=SSPI;Application Name=SSIS-Package-{1AE2C7B9-91AC-34B3FB255590}SQL004.SAP_TO_E1;Auto Translate=False;

It's an OLEDB connection.

asked Sep 7, 2016 at 14:45
5
  • What is your ssis package trying to do? Commented Sep 7, 2016 at 14:52
  • Could you post the connection strings that are being used? You can strip out any sensitive information, but it would be helpful to see what each connection string is set to. Commented Sep 7, 2016 at 16:02
  • @SQLDataInTraining The SSIS is copying data from one SQL server to another nothing else. Commented Sep 7, 2016 at 17:41
  • @JonathanFite connection string added to the main body. Commented Sep 7, 2016 at 17:42
  • The connection string you have provided isn't using SQL authentication. It has no username and password and has Integrated Security=SSPI Commented Sep 8, 2016 at 7:01

1 Answer 1

1

I believe your connection string is off based on what you added, I would try looking at the following website. It looks like your string is designed for a CE device...

https://www.connectionstrings.com/sql-server-2008/

answered Sep 7, 2016 at 17:56
2
  • The connection string is generated by the SSIS when I setup the connection. I'll check your link out to see if I can figure it out. Commented Sep 7, 2016 at 19:39
  • 1
    Looks like a bog standard SQL Server connection string to me. Commented Sep 8, 2016 at 6:59

Your Answer

Draft saved
Draft discarded

Sign up or log in

Sign up using Google
Sign up using Email and Password

Post as a guest

Required, but never shown

Post as a guest

Required, but never shown

By clicking "Post Your Answer", you agree to our terms of service and acknowledge you have read our privacy policy.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.