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

SSIS2012: RunId variable "Failed to lock" at runtime - BOMBS 0xC0010001

$
0
0

Searching the CODE for the entire stand-alone package revealed ZERO occurrences of the variable "RunID" cited in the following FAILURE message:

tsql BEGIN TRAN 3:Error: Failed to lock variable "RunId" for read access with error 0xC0010001 "The variable cannot be found. This occurs when an attempt is made to retrieve a variable from the Variables collection on a container during execution of the package, and the variable is not there. The variable name may have changed or the variable is not being created.".

I've found several posts citing "RunID", many of which are simply the name of a column returned from a user query, but there are some that contain the same message as above.  However, aside from one saying "did you change the package" that is marked as an answer (how?) there is no help for this problem.

Please help as this package runs every 15 minutes, is crucial to the business, and I cannot tell from this what to do or where the package logic was up to (a for-each loop on around 200 items).

Thanks in hopes...



transform error on flat file csv column after migration

$
0
0

Hi, we run std 2008.  Not sure of all the details yet but will post them here as they become available.

After migrating my pkg to a 64 bit SP1 production machine, and working thru all kinds of issues including pointing to the 32 bit dtexec directory because excel is also involved in other parts of this pkg, my pkg went down on a transform on a column in a csv file (flat file connector) with the following errors: 

Error: 2013-05-08 13:32:17.19

   Code: 0xC0049064

   Source: Load reports Today Derived Column 1 [62]

   Description: An error occurred while attempting to perform a type cast.

End Error

Error: 2013-05-08 13:32:17.22

   Code: 0xC0209029

   Source: Load reports Today Derived Column 1 [62]

   Description: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "component "Derived Column 1" (62)" failed because error code 0xC0049064 occurred, and the error row disposition on "output column "xxxxx_Derived" (76)" specifies failure on error. An error occurred on the specified object of the specified component.  There may be error messages posted before this with more information about the failure.

End Error

Error: 2013-05-08 13:32:17.24

   Code: 0xC0047022

   Source: Load reports Today SSIS.Pipeline

   Description: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Derived Column 1" (62) failed with error code 0xC0209029 while processing input "Derived Column Input" (63). The identified component returned an error from the ProcessInput method. The error is specific to the component, but the error is fatal and will cause the Data Flow task to stop running. There may be error messages posted before this with more information about the failure.

End Error

I'm thinking excel connectors (probably 2007 locally, accessDatabaseEngine on prod) are not involved in the problem because a flat file connector is used here.

I grabbed the csv file from production and ran successfully the same transform on the file locally (32 bit machine) under bids but got rid of expressions defining its path.

Does anybody know of documented flat file transform issues migrating to SP1 and perhaps pointing at the x86 directory?

The transform looks like this:

(DT_NUMERIC,10,2)(DT_STR,50,1252)(ISNULL(Score) ? "0" : xxxxx)

where xxxxx is the column name.

One other csv file was loaded successfully in production prior to this component but it's transforms dont have this kind of conditional if expression pattern.


db042188



SSIS 2008 SharePoint List source issue

$
0
0

I am working a SSIS conversion project from 2005 to 2010 for Sharepoint 2010. I have recreate the old 2005 SSIS package in BIDS 2008 but when I run the package i get this errorL:

____________________________________________________________________________________________________________

Error: 0xC0047062 at Import and Upates Issues and Deleted Issues, SharePoint List Source [1]: Microsoft.SqlServer.Dts.Pipeline.DoesNotFitBufferException: The value is too large to fit in the column data area of the buffer.
   at Microsoft.SqlServer.Dts.Pipeline.PipelineBuffer.SetString(Int32 columnIndex, String value)
   at Microsoft.Samples.SqlServer.SSIS.SharePointListAdapters.SharePointListSource.PrimeOutput(Int32 outputs, Int32[] outputIDs, PipelineBuffer[] buffers)
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostPrimeOutput(IDTSManagedComponentWrapper100 wrapper, Int32 outputs, Int32[] outputIDs, IDTSBuffer100[] buffers, IntPtr ppBufferWirePacket)
Error: 0xC0047038 at Import and Upates Issues and Deleted Issues, SSIS.Pipeline: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "SharePoint List Source" (1) returned error code 0x80131600.  The component returned a failure code when the pipeline engine called PrimeOutput(). The meaning of the failure code is defined by the component, but the error is fatal and the pipeline stopped executing.  There may be error messages posted before this with more information about the failure.
Information: 0x40043008 at Import and Upates Issues and Deleted Issues, SSIS.Pipeline: Post Execute phase is beginning.
Information: 0x402090DF at Import and Upates Issues and Deleted Issues, OLE DB Destination [1003]: The final commit for the data insertion in "component "OLE DB Destination" (1003)" has started.
Information: 0x402090E0 at Import and Upates Issues and Deleted Issues, OLE DB Destination [1003]: The final commit for the data insertion  in "component "OLE DB Destination" (1003)" has ended.
Information: 0x402090DF at Import and Upates Issues and Deleted Issues, OLE DB Destination 1 [1021]: The final commit for the data insertion in "component "OLE DB Destination 1" (1021)" has started.
Information: 0x402090E0 at Import and Upates Issues and Deleted Issues, OLE DB Destination 1 [1021]: The final commit for the data insertion  in "component "OLE DB Destination 1" (1021)" has ended.
Information: 0x4004300B at Import and Upates Issues and Deleted Issues, SSIS.Pipeline: "component "OLE DB Destination" (1003)" wrote 0 rows.
Information: 0x4004300B at Import and Upates Issues and Deleted Issues, SSIS.Pipeline: "component "OLE DB Destination 1" (1021)" wrote 1341 rows.
Information: 0x40043009 at Import and Upates Issues and Deleted Issues, SSIS.Pipeline: Cleanup phase is beginning.
Task failed: Import and Upates Issues and Deleted Issues
Warning: 0x80019002 at Loop Through All the Sharepoint Web Apps: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
Warning: 0x80019002 at BIWaySPListImport2008: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (2) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.
SSIS package "BIWaySPListImport2008.dtsx" finished: Failure.

__________________________________________________________________________________________________________

I have tried increasing the value size in the data conversion objects and in the database itself. I have also increased the DefaultMaxRowsBuffer and DefaultMemoryBuffer properties but it does not seem to work. I have tried to run an insert on individual column but it continues to error out. I have been working on this for a while and other forums entries like this are not helping me ion resolving the issue. Help please.

SSIS ForEach loop - change connection inside a for loop

$
0
0

Task - There are 7 SQL servers, each of which have the same database. Consider a table Table_1 of the database. I want to take data from Table_1 of all the 7 servers and put it into Table_1 of Main server (called DataWarehouse in photo below). I created a data flow task to move data from one of these servers to main server.

Now, I want to put this data flow task inside a for loop and do the data flow from each of the 7 servers to the main server. How do I do it ?

Please see the attached photos below. I want my foreach loop to change the connection defined inside the data flow task "Data Mart - One Server" and then do the data transfer. Is this even possible ? If yes, then how ? I am hoping for something simple like we have in programming - 

//pseudocode

foreach (String serverIP){

1 - connect to server using serverIP

2 - move data from server called serverIP to destination

}



Move files from one folder to another

$
0
0

I have 3 files in ABC folder... Source Path is c:\ABC

I have to move this files into this path C:\ABC\Archive....

I am using FileSystem task specified source and destination variables... but i am getting this error

[File System Task] Error: An error occurred with the following error message: "Could not find file 'C:\ABC'.".

Can I know the reason..


Thanks, Anji

open folder and ageeting unable to case obeject error

$
0
0

hi

when I open SSIS package solution it gives me error;

please help me what is this Error ? and what is the reson of this error.?

Thanks & Regards

BI_Group

SAP BW/BI or Microsoft BI Career?

$
0
0

Hi,

Can you please suggest which is having demand in near future and now in the below list

SAP BW/BI or Microsoft BI?

Please suggest. 

Regards,

Rajendra


Thanks, Rajendra

SSIS package failed in sql server agent.

$
0
0

My package is running fine in the package store and MSDB independently. However, when I add the package as a step in the SQL server agent job ( only step in the job), it has following error:

An invalid reporting
option was specified. Only E, W, I, C, D, P, V, and N are allowed.
The command line parameters are invalid. The step failed.

The Commend line for the package in the step  is /SQL "\PDSQL01\CS_Versadex" /SERVER PDSQL01  /CHECKPOINTING OFF /REPORTING E

Not sure why the job failed.

PS I am in SQLSERVER 2008R2


passing connection string dynamically to ssis package

$
0
0

hi,

i have create packages which loads the data from flat file to sql server table ,

now i want to make my destination table connection dynamic what is format of connection string 

i also need to pass user name and password for sql server dynamically

in this case, what is the format for the connection string

also  in package i used ADO.net  as source for  *.mdb files how i can set the commection to .mdb files dynamically which is used as source in my package

SSIS - For each loop, ServerName vs ConnectionString ?

$
0
0

I am trying to use a for loop to connect to different servers and then do some job for each server. In the "expressions" of the connection manager for my loop, i see ServerName and ConnectionString. What is the difference between the two. If i put an ip address inside my servername variable,will i be able to connect to a data base ? if i use connectionstring, will i have to put username and password in that ? How do i know which one to use ?


SSIS Transformations Pushdown To Teradata Urgent help required!

$
0
0

Hello,

I have a Teradata Source and Teradata Destination database. I am using Attunity Connector as Teradata Source and destination.

Please tell me is there any way to Pushdown SSIS Transformations to Teradata. It is required to perform the transformations using Teradata Parallelism. It is critical for my project, please guide urgent.

It will be highly appreciated if anyone can share any help about SSIS with Teradata.

Thank you very much!


SSIS - how to make a connection string for your database server ?

$
0
0

How do i make a connection string for my database server ? I want to know this so that i can save connection strings in a table and then use them later. Note - All my database servers don't need password and username. I login to a remote "mother" server and access the other  remote servers in management studio using 'windows authentication'. So, i don't think my connection string needs to have a user name and password.

Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.

$
0
0

I have date column in source table name as Date and datatype is datetime;

but when i try to pull its value at destincation then it return me error;

[ADO NET Source [1]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. 
The "component "ADO NET Source" (1)" failed because error code 0x80131500 occurred,
and the error row disposition on "output column "Date" (163)" specifies failure on error.
 An error occurred on the specified object of the specified component.
 There may be error messages posted before this with more information about the failure.

both source and destination are datetime.

Source is :MYSQL

Destination :SQLSERVER

Kindly help

Thanks & Regards

BI_Group

In the subscription of report I want to render only the Xls file format

$
0
0

Hi Guys

In  SSRS Devlopment ,Subscriptions are there,So using that subscription to render a report ,That only render the xls format only,In the Standard driven scription level , render format dropdown list i want display only xls format only ,without other formats like(pdf,csv like) so hw can it make it as in the rendering of a report in the subscriptions

Date functions

$
0
0

 i have two date columns in my sql query editor

those are 

12/3/2012 12.23.11.00 (date 1) ,,,3/6/2013 10.3.0.12 (date 2) with their time stamps

So here i required the O/P is  (I want to get the date from first date 1 and timestamp from second date 2)

The O/P is like 12/3/2012 10.3.0.12

And one more thing is I want also reqired the differnce b/w those 2 dates ............o/p like 1 yerar 3 months 9 days

can some one pls wright these quries and help me.........


Adventure databse link

$
0
0
Can some one share the exact link for the Adventure Work sample database earlier..........

Adventure databse link

$
0
0
Can some one share the exact link for the Adventure Work sample database earlier..........

Hw to create a Complex Complex package

$
0
0

Hi Guys

I have a Huge Task is Implementation is Existing in my development envinorment.  i e, I have a 200 packages  and every package should contain 30 to 40 tasks in those packages ,So hw should i go to create those packages And  with in the short period of time,Can any one Pls find my question and answer my question earlier

Importing flat file csv with variable column widths

$
0
0

Hi, 

I need to find a way to load csv files with variable column widths as right now, I'm tearing my hair out (and I don't have much left!)

Here's what happens: 

I run the SQL Server Import and Export Wizard; I point it to a csv file; I ask it to suggest column types, I go all the way to finish & then it complains that it can't load the file without truncating a field - but IT suggested the length of the field in the first place! 

So, I drop the table, go back to the beginning, fix the offending row, and try again. Sometimes I can go through this loop a dozen times trying to get the right sizes. 

Is there an option I'm missing - like read the WHOLE file before suggesting a size?  Or perhaps even an external program or script which could scan the data & tell me which sizes to set?

Less optimal would be some way to give me some whacking great size (like 5000) as the size of the field & then I can work out something better once I get the data into SQL.

I know I could turn off the error messages & just let the truncation happen... but I *need* the data in SQL. 

Any suggestions would be appreciated.

Thanks in advance, 

(Nearly Bald) Robert

I have a String value in my source level i want to load that string value into destination

$
0
0

Hi Guys

I have a string value like ANU,SSB,SRI,GNF this is string value in the source column level ,So I want to move these string value  into a table in the destination

o/P like : 1   ANU

                2  SSB

                3 SRI 

this way i want to Store or display in the destination table level ,Hw can we accomplish this task

 

Viewing all 24688 articles
Browse latest View live


<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>