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.
1 Answer 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...
-
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.Stephen Archbold– Stephen Archbold2016年09月07日 19:39:42 +00:00Commented Sep 7, 2016 at 19:39
-
1Looks like a bog standard SQL Server connection string to me.Martin Smith– Martin Smith2016年09月08日 06:59:40 +00:00Commented Sep 8, 2016 at 6:59
Integrated Security=SSPI