Quantcast
Channel: SQL Server Integration Services forum
Viewing all 24688 articles
Browse latest View live

dtsConfig and DTS_E_CANNOTACQUIRECONNECTIONFROMCO.MANAGER

0
0

Hello,

I have an error on my SSIS package (.dtsx) since I enabled "Enable Package configuration" and then created a XML .dtsConfig.

In my SSIS package, there is in Connection Manager containing an SQL Connection authentication (with user & password -not a windows auth-), and it is what is failing:

ERROR: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection call to the connection manager "server\instance.databaseName.username" failed with error code 0xC0202(...)

Error: component "OLE DB Source" (1) failed validation and returned error code 0xC020801C.

When I do not check "Enable Package Configuration", I can run the package with 0 problem with this connection.

I am so lost :( Thank you VERY MUCH for your help in advance.

MORE INFO: My .dtsConfig is a XML file. I added the value in "Password" value like this:

<?xml version="1.0"?><DTSConfiguration><DTSConfigurationHeading><DTSConfigurationFileInfo GeneratedBy="domain\user" GeneratedFromPackageName="DATATransfert" GeneratedFromPackageID="{35196F1F-A1D1-4691-830B-3BE5D77DA2DB}" GeneratedDate="05/12/2012 16:57:12"/></DTSConfigurationHeading><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[ConnectionString]" ValueType="String"><ConfiguredValue>Data Source=server\instance;User ID=userName;Initial Catalog=databaseName;Provider=SQLNCLI10.1;Persist Security Info=True;Auto Translate=False;Application Name=SSIS-DATATransfert-{4F77124D-9880-4A1C-841D-433EC71E65BC}server\instance.databaseName.userName;</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[Description]" ValueType="String"><ConfiguredValue></ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[InitialCatalog]" ValueType="String"><ConfiguredValue>databaseName</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[Name]" ValueType="String"><ConfiguredValue>server\instance.databaseName.userName</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[Password]" ValueType="String"><ConfiguredValue>MYUSERPASSWORD</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[ProtectionLevel]" ValueType="Int32"><ConfiguredValue>1</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[RetainSameConnection]" ValueType="Boolean"><ConfiguredValue>0</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[ServerName]" ValueType="String"><ConfiguredValue>server\instance</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Connections[server\instance.databaseName.userName].Properties[UserName]" ValueType="String"><ConfiguredValue>userName</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Properties[PackagePassword]" ValueType="String"><ConfiguredValue>MYPACKAGEPASSWORD</ConfiguredValue></Configuration><Configuration ConfiguredType="Property" Path="\Package.Properties[ProtectionLevel]" ValueType="Int32"><ConfiguredValue>2</ConfiguredValue></Configuration></DTSConfiguration>



SSIS OLE DB Source editor does not load table names

0
0

Hi Everyone,

I work as a database support Engineer with not much knowledge about SSIS. Our offshore team who is working on SSIS are facing an issue from yesterday which I am not able to fix till now.

Our offshore team is trying to connect and fetch data from a Sybase ASE 12.5.2 database. The provider name they use is called "Sybase ASE OLE DB provider for sybase". They are able to successfully connect to the database but in the OLE DB source editor the table names are not populated in the drop down list. The OLE DB source editor has the following field values:

1. OLE DB connection manager is set to the OLE DB connection that we have created.

2. Data access mode drop down list is set to Table or view

3. Name of the table or view drop down list: The problem is with this drop down list which is not loading the table names.

We suspected that the issue is due to lack of privileges for Sybase user but we found that the user has all the required permissions on the database. After some googling we found that there is no 64 bit driver for Sybase ASE which may be causing this problem. But the development machine was 32 bit so the second possibility was also eliminated.

I am left with no options. I tried to replicate the same in my machine but I don't have the appropriate drivers and Java is not setup on my machine. To install these things we have undergo a long process of rising tickets which will take at least a week.

We are not sure whether the issue is from our side or if it is a configuration mistake done by the team working on SSIS.

Please shed some light and guide me through this.

Thanks and Regards,

Nanda


Regards Nanda


2k8R2: Checkpoints + sequence container. Container contents dont execute on rerun

0
0

2 sequence containers,

2nd one has a script task that does a messagebox popup and a sql task that fails

I set the FailPackageOnFailure to true on the 2nd sequence container.

My understanding of this situation is that if any task in the 2nd seq container fails then the seq container will be executed on retry. I'm not seeing that. The script task and sql task don't rerun....

First Run

Rerun

Is my understanding of checkpoints incorrect?

Reference to Microsoft.SQLServer.ManagedDTS.dll only works if Target Framework set to .Net 4.0

0
0

Hi all ,

I have a console application previously created in  .net version 2.0 and   has a refrence to Microsoft.SQLServer.ManagedDTS.

This refrence is from folder /ProgramFile (X86)/90/Assembles (do not remember exact path.)

My machine has SQL 2005 and SQL 2008 installed along with SSIS component . VS 2010 ultimate edition is installed for Dot net .

Following things happen when I open console application in 2010  keeping version as 2.0.

1) When classes in console application laoded for first time , class has proper refrence to Dts.Runtime.Package namespace and it is referring Microsoft.SQLServer.ManagedDTS dll in 90 folder.

2) But once solution is compiled , appliaction gives an error saying "Dts.Runtime.Package" does not exist .

3) If I change solution version to 4.0 , it compiles properely .

I am trying to resolve this issue . Strange thing is DLL is properely in place .

Any help will be really appreciated .

Thanks

Siddhesh


Siddhesh Sawant

ssis, roll back date

0
0

How do I roll back date using ssis expression?

This is the condition:

If the time hits 00:00, the date should roll back one day.

The date format is : mm/dd/yyyy

Time format is in military.

Thanks in advance.

Copying indexes from ODBC Source To OLE DB destination (Sql DB)

0
0

Hi,

I am somewhat new to SSIS but have managed to create packages , data flows and copy tables and data from ODBC source to a sql database. I am at a point where i need all the indexes defined which are in the source in my sql database. Given the number of tables i would hate to manually recreate all the indexes in Sql database which exists in the source ODBC database.

What would be the best way to copy all the indexes over to the sql database ??

updation through DTs packages didnt update record but insert updated values ?

0
0

I need updation through Data transformation Packages.

I  trying to update database with DTs packages and right know source and destination databases both are developed using  sql serevr 2000  but on two different machines.

Package execute successfully and when i check the database table at destination it shows :

previous un-updated data with new updated rows as an new record....which i don't know how  :(

previously it has 3 rows with status =0 and after execution it has 6 rows 3  with status = 0 and 3 with status =1

Transform Data Task's Query:

UPDATE    employeeTb
SET              status = 1
WHERE
 status = 0

Source table script:

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[employeeTb]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[employeeTb]
GO

CREATE TABLE [dbo].[employeeTb] (
        [employId] [int] IDENTITY (1, 1) NOT NULL ,
        [name] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
        [pass] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
        [status] [int] NULL
) ON [PRIMARY]
GO

Destination table script:

if exists (select * from dbo.sysobjects where id = object_id(N'[dbo].[employeeTb]') and OBJECTPROPERTY(id, N'IsUserTable') = 1)
drop table [dbo].[employeeTb]
GO

CREATE TABLE [dbo].[employeeTb] (
        [employId] [int] IDENTITY (1, 1) NOT NULL ,
        [name] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
        [pass] [nvarchar] (50) COLLATE SQL_Latin1_General_CP1_CI_AS NULL ,
        [status] [int] NULL
) ON [PRIMARY]
GO

I have NO idea way this in happening

matching interval values in ssis

0
0

Hi ,

   i want to know the interval values in the data that search same pattern matching for multiple rows.

here is my data



i want to get the 1,2,4,5 records in one table  because it contains same interval how i can do this by ssis??????

Is there any seperate pattern matching tools for ths please do reply.

Thanks in advance






Transaction in SSIS

0
0

Hi Friends,

I am trying to implement transaction in SSIS for the first time. We are going to migrate few records from source to destination tables using DFT. We are planning to have multiple threads inside the DFT. So if one of the thread fails, the data migration happened thru other threads too should roll back.

I am putting the DFT in a sequence container and setting the transactionoption to required and setting the trasactionoption property of DFTs inside the seq container to supported.

I am getting an error while executing the package. I have started the DTC using Administrative tools. I am still getting the error "The partner transaction manager has disabled its support for remote/network transactions". I saw in few threads that we have to enable remote access thru Component Services.

I am accessing the DB through VPN.

Please help me in resolving the issue.


Murali Krishnan

xml import SSIS

0
0

Hi All,

I am trying to import the xml file data using SSIS...the is as per below format

<root>

<ale tm=10>

<member ts=1 rex =2 />

<member ts=2 rex=3 />

</ale>

</root>

My reuirement is I need to capture the data in the sql table with the below columsn

tm     ts     rex

10      1       2

10       2      3

I am using in 2008 R2 version, please let me know how we can achieve this. I am able to retreive the ts and rex columns in one table and tm column in one table but not sure how we can combine them.


Thanks, Gaurav
http://gauravsqlserver.blogspot.com

Import CSV into SQL Table

0
0

Hi,

I have a csv file like the below:

RecordNumber StateName
1                    BlackTown
2                    BanksTown
3                    Hills

When I use SSIS Flat File source to load into OLE DB Destination (SQL table ), what kind of sorting for the data in SQL table.

SQL table definition

RowID identity(1,1) int, RecordNumber, StateName

I assume data result should be like

RowID  RecordNumber StateName
   1             1                    BlackTown
   2             2                    BanksTown
   3             3                    Hills

NOT like
RowID  RecordNumber StateName
   1             2                    BlackTown
   2             3                    BanksTown
   3             1                    Hills

My comment is:

Flat file can not load in particular sorting on a column, it always load data as physical sorting and user cannot specify any sorting against any column as you cannot do sorting on flat file.

Please confirm my comment whether it is correct.


Sea Cloud

SQL Server Integration Services 2012 architecture diagram

0
0

I binged for SQL Server Integration Services 2012 architecture diagram but could not find. Can you please let me know the link where i can find one.

Thank you.


Rency

SSIS ideal for transfer from Oracle?

0
0

Hi,

I would like to get data across from Oracle 8i (8.7.1.3) to SQL Server 2008 R2 on a daily basis... can SSIS be used successfully for this transfer and are there any issues that I need to look out for?

Thank you in advance,

How to handle different environments?

0
0

I am using SSIS 2012 to develop an SSIS package which will be deployed to DEV, UAT and Production environments.  Could someone walk me through how to handle the different connection strings needed for each environment?  My connection string is localhost in my package - but how can I easily change this for each environment?

Should I add a config file somehow and deploy a different config to each environment?  Note that the SSIS package will be on the file system and will most likely be copied over during a build.

I have been reading a lot about environment variables but can't seem to find them in SSIS 2012.

Looking for a simple guide.

Thanks

Using Conditional Split

0
0

I want to redirect data in two destination files for same condition e.g isnull(field1) then redirect data to file1 and file2 and for not(isnull(field1) this data is suppose to redirected to file3.

I am facing issue with first query, I am using two output names with same condition,but it is redirecting data in only one of file1 or file2 depending on order.

Can anyone tell me how to achieve this or any other alternative.


AllLoginsFromSelectedDatabases from "Transfer Logins Task"

0
0

Hi All,

"AllLoginsFromSelectedDatabases" from "Transfer Logins Task" is not working on user databases. If i m selecting master databases, It is transfering "ALL the Logins" from server A to server B.

For the case I m selecting "user database", it is not transfering the logins which are assciated to that "user database".

Is their any option to transfer the logins that are associated to one particular database. I dont want use "sp_help_revlogin" here becuase it will create a login script for all the existed logins on the server A.

I want to move only one "user database" and their associated "user database" logins from Server A to Server B.

Any ideas would be appreciated.

Thanks,

Satish Kumar.

SSIS package is performing tasks, but always returns a failed result saying step did not generate any output, even though it is working.

0
0

I have a SSIS package that I run on SQL 2008, the DTS package is connecting via oracle 11g driver to download information and update some local tables.  

Every time this job runs the local tables are updated, but says the job fails with the following message.  "Executed as user: sqlservice. The step did not generate any output.  The return value was unknown.  The process exit code was -1073741819. The step failed."

Even though the job worked, this makes it very difficult when we need monitoring to see if this job is failing.

Importing Constantly Updating CSV file into OLE DB

0
0

Good afternoon,

I'm new to SSIS so bare with me if I've missed something totally obvious here....

My objective use for SSIS is to import data from one CSV file into my MSSQL 2008r2 database. Thus far I have managed to create a csv, map the columns to an existing table in the database and import the data into my table successfully. Rather pleased with myself I then created a job in SQL server to run this package every 15 seconds which also appeared to work well. However my issue is the csv file I'm importing is being updated constantly every 4 seconds (the same row is updated, not a new row appended) with new data but my package is only importing the very first value it reads when I start the job. I figured what I needed to do was a foreach loop no the csv folder which I have now also managed to get working but again my issue is back to the initial flat file connection not refreshing.

Hope that all makes sense and someone can point me in the right direction.

Regards

Gary

validating sequence container freeze

0
0
I am attempting to open up my ssis integration project but when I try to open up packages it says @ the bottom "Validating Sequence Container" and it just stays there.  I cannot click on anything and nothing is responsive.  Does anyone know why this is happening?

Converting to SSIS catalog and Project Deployment Model

0
0

Hi,

I'm attempting to convert a large SSIS project which makes heavy use of Package Configurations over to the 2012 SSIS Catalog, and the Project Deployment model.

It seems that there is no real documentation from MS on how to do this.  The wizard only gets me about half-way - it doesn't convert any of my configurations over to parameters and I'm having to do some fairly heavy lifting to map my existing configurations in my package configuration database over to the new Catalog environments and parameters.

Can anyone suggest any resources to help with this?

Viewing all 24688 articles
Browse latest View live




Latest Images