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

Cannot see drive in SQL server agent

$
0
0

I want to use config files for a package. I stored them on my C drive. However, the C drive I see in the config options tab is totally different from my C. Also, there is a new drive F there which is not even present on my computer. I cannot access any of the drives in config options/tab of agent. So, I am not able to even configure my job for running. How do I fix this ?

Thanks.



How to see old ssis logs ?

$
0
0

Hi ! I don't know where or how SSIS (the SSIS tool, not sql server agent) stores logs for old jobs. Is there a way to see the log of SSIS jobs from past day, week, month etc . ?

Thanks.

Package Validation Error - SSIS Error Code DTS_E_OLEDBERROR - Error code: 0x80040E4D

$
0
0

I sometimes get the following error randomly - 

Package Validation Error

------------------------------
ADDITIONAL INFORMATION:

Error at MY_PACKAGE_PLUS[Connection manager "MY_DATABASE"]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E4D.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E4D  Description: "Login failed for user 'USERNAMEZ'.".

Error at MY_PACKAGE_PLUS [Log provider "SSIS log provider for SQL Server"]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "MY_DATABASE" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.

 (Microsoft.DataTransformationServices.VsIntegration)

My package name in SSIS/BIDS is MY_PACKAGE, but in the error I see MY_PACKAGE_PLUS, which was the name of an older version of the package. This error goes away when I close SSIS and then restart it. I wonder why this happens and how do I fix it ? Is this some bug in SSIS ? The same package runs without errors in SQL server agent.

Thanks.


Fuzzy Lookup SQLDUMP when run in 32 bit

$
0
0

I'm running a SSIS package on a 64 bit machine that has to run in 32 bit runtime as several data sources are from excel.

After I've loaded the source data into SQLServer EE [64 bit] I run a fuzzy lookup to match & append some columns. The data flow runs fine independently when I set Run64BitRuntime to True but fails when I run the whole package in 32 bit.

There are no telling error messages in BIDS and I enabled full logging to sysssislog. The data flow reads all of the oledb source records but the fuzzy lookup remains yellow before SQLDUMPER_ERRORLOG.log runs and the package fails.

The Log reads:

(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, AdjustTokenPrivileges () completed with status (00000514)
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Input parameters: 4 supplied
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,  Parameter 1: 4772
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,  Parameter 2: 0
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,  Parameter 3: 0:0
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,  Parameter 4: 008CD608
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Parsed parameters:
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     ProcessID = 4772
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     ThreadId = 0
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     Flags = 0x0
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     MiniDumpFlags = 0x0
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     SqlInfoPtr = 0x008CD608
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     DumpDir = <NULL>
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     ExceptionRecordPtr = 0x00000000
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     ContextPtr = 0x00000000
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     ExtraFile = <NULL>
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     InstanceName = <NULL>
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE,     ServiceName = <NULL>
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 11 not used
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 15 not used
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Callback type 7 not used
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, MiniDump completed: C:\Program Files (x86)\Microsoft SQL Server\100\Shared\ErrorDumps\SQLDmpr0021.mdmp
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'dbghelp.dll' : 'C:\Program Files (x86)\Microsoft SQL Server\100\Shared\dbghelp.dll'
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\100\Shared\dbghelp.dll' : '6.8:4.0'
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\100\Shared\dbghelp.dll' : '6.8:4.0'
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Location of module 'sqldumper.exe' : 'C:\Program Files (x86)\Microsoft SQL Server\100\Shared\SQLDUMPER.EXE'
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, File version of module 'C:\Program Files (x86)\Microsoft SQL Server\100\Shared\SQLDUMPER.EXE' : '2007.100:1600.22'
(F7C:16C0) 07/21/10 11:24:37, ACTION, SQLDUMPER_UNKNOWN_APP.EXE, Product version of module 'C:\Program Files (x86)\Microsoft SQL Server\100\Shared\SQLDUMPER.EXE' : '10.0:1600.22'
(F7C:16C0) 07/21/10 11:24:37, ACTION,          DtsDebugHost.exe, Watson Invoke: No

Is there anyway fix the above error and to run my package with this fuzzy lookup within a 32 bit runtime on a 64 bit machine?

Thanks in advance!

 

64 bit provider loading .xlsx

$
0
0

Hi !

I have Installed excel 12.0 in the server to load .xlsx files. But still i couldn't see the driver in the Connection Strings w.

Please see the below screen shot.

Please help me what shall i do to see the provider to load .xlsx files.

Thank you !


Regards,

SSIS - how to insert data into table in as400

$
0
0

i would like to drag a"SQL task Execute" object to the control flow panel in order to execute sql to insert data into table in AS400. however, when i write sql command in expression.

i got the following error.

------------------------------

the data type "DT_WSTR" and "DT_I4" are incompatible for binary operator "+". the operand types could not be implicily cast into compatible type of the operation. to perform this operation, one or both operands need to be explicity cast with a cast operator.

insert into xxx

('abc','01012012','"+ @[user:: var1] + " failed with error code 0xC0047080.

+++++++++++++++++++++++++++

how to write a command in expression for AS400 with belows sql.

insert into as400.table ([name],[id],[updatedate],[updatetime]) values ("hardcode_A","111",getdate(),HHMMSS);



ssis expression

$
0
0

i would like to execute a insert command to insert data into table in AS400.

how can i get the following result in expression.

1. ddmmyyyy (current date)

2. hhmmss (current time)

and how to convert to string in sql for expression.

my sql as belows and how to convert to expression:

insert into as400.table (updatedate, updatetime, id) values (ddmmyyyy,hhmmyyyy,'001')

Where is ssis dataflow items in Tools>Choose toolbox items

$
0
0

Hi. Im trying to install Attunity Oracle & Teradata components v.2 to BIDS 2012 like it written there

http://technet.microsoft.com/en-us/library/ee470675%28v=sql.100%29.aspx

But I stucked on adding them in Choose toolbox items. The problem is that I don't haveSSIS Data Flow Items (see the screen).

The question: how to find SSIS Data Flow items tab?


Cannot convert DT_NTEXT to DT_STR

$
0
0

Hello, everyone,

I have a simple packages that loads Excel data into a SQL Server table.

One of the Excel Comlums is assigned a data type of DT_NTEXT and it's corresponding database column is varchar(1000). I tried changing the data type to DT_STR in the Advanced editior but it wouldn't let me (reverts back afterwards).

Regards.


Only partial data from Excel file is loaded

$
0
0

I have a simple packages that loads Excel data into a SQL Server table.

It runs successfully, but the last few rows, which are part of the newly added ones, didn't get loaded in. I don't visually see any obvious problems with these rows in the Excel spreadsheet (no gaps between the lines). What could be the possible causes of this?

Any pointers or solutions will be much appreciated!

Regards.

Exporting data from SQL SERVER tables to a new CSV file daily

$
0
0

Hi Experts,

Need help..how to pull data from Sql server table to CSV file on a daily basis.

I am using DFT, Source as OLEDB source and destination as Flat file.

now this flat file I have to create new everyday with date append to the fileName. so, to achieve this what should I need to do.

I searched but could not found complete answer at one place.

Thanks in advance

Is there any way to activate the keep identity setting when using a Transfer SQL Server Object Task?

$
0
0

Is there any way to add the "Keep Identity" option to the tables selected for transfer in a Transfer SQL Server Object Task?  It seems that would be very useful, yet I can't find an easily available setting for it.  I would prefer to accomplish this within the Transfer SQL Server Object Task since it can copy any new fields added to the source tables, as opposed to having to rebuild a custom Data Flow Task any time a table structure is altered.  I thought setting "CopyPrimaryKeys" to True would do the trick, but I found that only ensures that the column settings are transferred; when the transfer happens, the destination id column is populated based on the specified seed and increment value, not what's actually in the source table.  I'd like to point out that replication isn't really an option here. This is a package that runs a few times a day to keep some data on our website up to date with data in our protected corporate environment.

ssis - how to insert data from sql server to AS400

$
0
0

i have no idea on how to insert data to AS400 interface file using sql server object as a data source in SSIS.

i already created a stored procedure, when i execute the stored pro., it will return a result set.

how can i use this result set and then insert to AS400 file via SSIS.

i don't know which object i should use in SSIS in data flow.

anyone knows? any example for my reference.

row count destination record and pass to variable (SSIS)

$
0
0
 i wanna ask how can i get the total no of record inserted into table in destination in data flow control panel and then pass the total count into user define variable in SSIS? can i use "row count" object?

Cannot extract DATE from SSIS 2008 OLEDB Source

$
0
0

I am trying to simply extract data from sql server which supports DATE and dump it (without changes) into a SQL server which does not support DATE, but supports DATETIME. Now, my SSIS package uses only one data flow task with oledb source and destination. The source task executes SQL to fetch data. The source SQL task fails all the time with a a error given below. Can someone please help me to find out the reason and fix this ? 

Thanks.

Error - 

[GET MY DATA [1]] Error: There was an error with output column "A_DATE_COLUMN" (62) on output "OLE DB Source Output" (11). The column status returned was: "Text was truncated or one or more characters had no match in the target code page.".

[GET MY DATA [1]] Error: The "output column "A_DATE_COLUMN" (62)" failed because truncation occurred, and the truncation row disposition on "output column "A_DATE_COLUMN" (62)" specifies failure on truncation. A truncation error occurred on the specified object of the specified component.

[SSIS.Pipeline] Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED.  The PrimeOutput method on component "GET MY DATA" (1) returned error code 0xC020902A.  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.



Design Problem When SSIS Get String From Web to Do Fuzzy Lookup

$
0
0

Hi!

In my previous post Search Data by Fuzzy Lookup in Real Time Scenario, I've tested required functions to build a sample website and SSIS, now it's time to polish my design. Since user will query a name from Web, SSIS is supposed to get a string to doFuzzy Lookup.  I wonder how I can design to let fuzzy lookup consume String as input instead of a structure (like OLE DB, EXCEL, Flat File, etc ) . 

Now I use table as datasource to do a fake input. The SQL_CMD variable will dynamically be replaced from Web input. It seems Fuzzy Lookup component needs a structure to be an input.

Do you have any design idea for my scenario ?  Thank you!

 

SSIS Transaction problem

$
0
0

Hi all

I have one issue in SSIS transaction .I have created the transaction in the same way suggested by the link http://microsoft-ssis.blogspot.com/2011/09/ssis-transactions-with-tsql.html ,I have one execute task which will create a begin transaction a sequence container , inside the sequence container I have 4 execute sql task which will delete the data from the destination database then I have 4 Data flow task which will copy data from the source table to destination database. I have 3 dimension table eg Dim1,Dim2 & Dim3 and 1 fact table . The RetainSameConnection property of the database connection is true .The insertion in to this 3 dimension tables are based on some condition

eg (SELECT Dim_Code, Dim_ValueFROM  dbo.Table1WHERE  (1=CASE WHENcharindex('ABC','')> 0 THEN 1 ELSE 0 END)) and we are inserting this value to Dim1 table

Insertion in to fact table  we have to check the value whether it is there in the dimension tables . This selection is taking time. Since I cannot copy the entire fact value to the destination fact table I am copying the data to a temporary table in the destination database and finally copying to the actual destination table

Fact query is

select WF.Dim1_code,WF.Dim2_code,WF.Dim3_code,WF.Fact_value

from dbo.[##Temp] WF

innerjoin dbo.Dim1 WT

on WF.Dim1_code=WT.Dim1_code

innerjoin dbo.Dim2 WC

on WF.Dim2_code=WC.Dim2_code

innerjoin dbo.Dim3 WS

on WF.Dim3_code=WS.Dim3_code

Thanks in advance

Roshan

XML Node Selection in Foreach Loop

$
0
0

Good Morning,

I am just building up my first SSIS-package which uses a web service as data source. Now, that I managed the data to be processed using a Foreach Loop, I am wondering how the loop reacts when the sequence of teh nodes changes, or a certain node is not present. In the "Foreach Loop Editor - Variable Mappings" I have mapped the variables (as they are at the moment) to the certain index (as they appear at the moment), but again: what if an additional nodes comes in? Isn't there a way to explicitly tell the system to set variable ABC with node ABC, DEF with node DEF and so on... 

Error when SSIS package is exceuted as scheduled job in SQL server.

$
0
0

I am receiving the below error, when the SSIS package is executed through the scheduled SQL server Job. 

OnError,DEVDSQL03,PDC\devsqlsrvc,Data Flow Task,{AF6398C5-232F-4D33-8FD6-DE1479E17449},{8F885F81-1190-4CE0-BA97-4146EF420B03},3/1/2014 12:00:01 AM,3/1/2014 12:00:01 AM,-1073450910,0x,System.Data.Odbc.OdbcException: ERROR [IM002] [Microsoft][ODBC Driver Manager] Data source name not found and no default driver specified
   at System.Data.Odbc.OdbcConnection.HandleError(OdbcHandle hrHandle, RetCode retcode)
   at System.Data.Odbc.OdbcConnectionHandle..ctor(OdbcConnection connection, OdbcConnectionString constr, OdbcEnvironmentHandle environmentHandle)
   at System.Data.Odbc.OdbcConnectionOpen..ctor(OdbcConnection outerConnection, OdbcConnectionString connectionOptions)
   at System.Data.Odbc.OdbcConnectionFactory.CreateConnection(DbConnectionOptions options, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)
   at System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup)
   at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection)
   at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)
   at System.Data.Odbc.OdbcConnection.Open()
   at Microsoft.SqlServer.Dts.Runtime.ManagedHelper.GetManagedConnection(String assemblyQualifiedName, String connStr, Object transaction)
   at Microsoft.SqlServer.Dts.Runtime.Wrapper.IDTSConnectionManager100.AcquireConnection(Object pTransaction)
   at Microsoft.SqlServer.Dts.Pipeline.DataReaderSourceAdapter.AcquireConnections(Object transaction)
   at Microsoft.SqlServer.Dts.Pipeline.ManagedComponentHost.HostAcquireConnections(IDTSManagedComponentWrapper100 wrapper, Object transaction)
OnError,DEVDSQL03,PDC\devsqlsrvc,Data Flow Task,{AF6398C5-232F-4D33-8FD6-DE1479E17449},{8F885F81-1190-4CE0-BA97-4146EF420B03},3/1/2014 12:00:01 AM,3/1/2014 12:00:01 AM,-1073450985,0x,component "ADO NET Source" (1) failed validation and returned error code 0x80131937.

I am using ODBC to connect AS400 DB. If i run the job manually, then it is executing without any error. 

Kindly let me know, what I am missing.

Update flag in SSIS

$
0
0

Hi,

I am inserting data into staging table from the flat file. My flat file contain 50 columns. Every timing when I load flat file I am directly loading all the records from flat file to table. After loading flat file I need to check which records are duplicate in the in table and base on that I need to update the Flag to true/false in table. My primary is compose of three columns.

I have developed the logic which find out the duplicate record with the help of SP but it is taking long time to execute as I am comparing 50 columns.

Can anyone help me to do this.

In my case duplicate record is record which will have all the columns identical.

Viewing all 24688 articles
Browse latest View live


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