|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Friday, June 29, 2012 1:18 AM
Points: 71,
Visits: 548
|
|
Hi All,
I have setup the package configurations(for both source database and the SSIS database) from SQL Server table, as they dnt have access to create Environment variable in the prod server. I'm using OLE DB connection --> Native OLEDB\SQL Native Client as the connection manager. I have the connection strings stored as
Data Source=server1;User ID=abc;Initial Catalog=MyDB;Provider=SQLNCLI.1;Persist Security Info=True;Auto Translate=False;
I updated the password manually as follows
Data Source=server1;User ID=abc;Password=123;Initial Catalog=MyDB;Provider=SQLNCLI.1;Persist Security Info=True;Auto Translate=False;
The package protection level is ENCRYPTSENSITIVEWITHUSERKEY.
The package gets the following error once it is reopened for the second time
Error loading Package.dtsx: The connection "server1.MyDB.abc" is not found. This error is thrown by Connections collection when the specific connection element is not found. E:\Package.dtsx
Please help me in resolving this issue as i m struggling for more than a day.
Thanks in advance
Regards Nithya
Regards Priya
|
|
|
|
|
SSC-Enthusiastic
      
Group: General Forum Members
Last Login: Yesterday @ 1:10 PM
Points: 182,
Visits: 359
|
|
Check out a similar post: http://www.sqlservercentral.com/Forums/Topic600005-148-1.aspx#bm613484
I haven't done the deployment into SQL Server (using filesystem instead) but sounds like you could benefit from using a Proxy Account & Credentials. See the link in the above post regarding a how-to video by Brian Knight at www.JumpStartTV.com - lots of SQL videos there, not just SSIS.
Here's a link to a video about creating a Proxy Account: http://jumpstarttv.com/creating-a-proxy-account_147.aspx?searchid=8597
Hope this helps..
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Friday, June 29, 2012 1:18 AM
Points: 71,
Visits: 548
|
|
Hi,
Let me give a brief description of my error. The scenario in ur post explained the package error when deployed from SQL Server agent. My scenario is that
The package configurations are from SQL Server.(Both SSIS and the SourceDatabase). When i run the package for the first time after creating it in BIDS, it runs successfuly.
When i close the package and reopen it for the second time in BIDS, i get the package loading error as mentioned in the previous post. My doubts are .......
1. Can we have both the SSIS and the source database connection strings in to the same table (SSIS Configurations) in SQL Server? 2. Does the package protection level has impact on SQL Server connection strings....? 3. Should i want to change connection managers?
Please help
Nithya
Regards Priya
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 11:47 AM
Points: 380,
Visits: 1,014
|
|
I might be misunderstanding this, but have you configured your package configurations in SSIS to connect to SSIS directly?
To use package configurations successfully, you will need to set a connection to the SQL server via: - an environment variable - an xml file or a registry entry.
I think it's pretty common to use an XML configuration file.
Once you have this configured, you can setup you other package configurations using a configuration table in your SQL server db that you defined in the XML file.
_____________________________________________________________________________ MCITP: Business Intelligence Developer (2005)
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Friday, June 29, 2012 1:18 AM
Points: 71,
Visits: 548
|
|
Hi,
Thanks for ur reply. The problem exists still. I changed a package configuration for SSIS to XML file. it worked fine for the first time. I closed and reopen in BIDS... I got the following package loading error
"Error loading Package.dtsx: The connection string format is not valid. It must consist of one or more components of the form X=Y, separated by semicolons. This error occurs when a connection string with zero components is set on database connection manager. E:\TestPackConfFromXML\Package.dtsx 1 1 "
The connection string is stored in SQL Server as
Data Source=LocalServer;Initial Catalog=MyDB;Provider=SQLNCLI.1;Integrated Security=SSPI;Auto Translate=False;
I have the default package protection level as EncryptSensitiveWithUserKey
Please suggest me a way to solve this issue.Im struggling for the past 2 days....
Thnaks in advance
Nithya
Regards Priya
|
|
|
|
|
Old Hand
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 11:47 AM
Points: 380,
Visits: 1,014
|
|
what does the rest of the configuration table look like?
as an example, this is the value for each column in my config table for a connection:
ConfigurationFilter: Connections
ConfigureValue: Data Source=localhost;Initial Catalog=ssct_dw;Provider=SQLNCLI.1;Integrated Security=SSPI;Auto Translate=False;
PackagePath: \Package.Connections[ssct_dw].Properties[ConnectionString]
ConfigureValueType: String
also, just checking your connection string, i'm not sure if LocalServer for the datasource is valid. Try localhost
_____________________________________________________________________________ MCITP: Business Intelligence Developer (2005)
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Friday, June 29, 2012 1:18 AM
Points: 71,
Visits: 548
|
|
Hi,
Thanks for ur reply again... My values are as follows
Configuration Filter: MyDBSrcConn ConfiguredValue : Data Source=LocalServer;Initial Catalog=MyDB;Provider=SQLOLEDB.1;Integrated Security=SSPI;Auto Translate=False; Package Path : \Package.Connections[OLEDBProviderSQLServerMyDB].Properties[ConnectionString] Configured Value Type: String
Nithya
Regards Priya
|
|
|
|
|
Valued Member
      
Group: General Forum Members
Last Login: Friday, June 29, 2012 1:18 AM
Points: 71,
Visits: 548
|
|
Sorry.... These are my values stored into SQL Server tables
Configuration Filter: MyDBSrcConn ConfiguredValue : Data Source=ARC_NITHYA;Initial Catalog=MyDB;Provider=SQLOLEDB.1;Integrated Security=SSPI;Auto Translate=False; Package Path : \Package.Connections[OLEDBProviderSQLServerMyDB].Properties[ConnectionString] Configured Value Type: String
Regards Priya
|
|
|
|
|
SSC Rookie
      
Group: General Forum Members
Last Login: Monday, May 20, 2013 11:04 AM
Points: 29,
Visits: 112
|
|
| Hey I have the exact same problem .. Did anyone find a solution yet for the problem.
|
|
|
|