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

trying to build setup project

$
0
0

when i trying to build my setup file I got these two message box..which are shown in  Images.. and I really dont knw Why these message box comes... please help me....thanks...........


Help with a Flat File Source in a ForEach Loop!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!

$
0
0

I am trying to use a for each loop container to loop through a folder location and each file will have a different name.  Depending on the filename I will insert each file into a different table.  Do I need to have different Flat File sources? How do I get SSIS to grab the files that I am trying to get in the folder location?  It only grab the specified file in the connection Manager instead of looping through the folder's entire contents.  Also in the Conditional Split, is FINDSTRING() the proper expression to search the [@User::FileName] and decide which Table to insert the Data?



ACE OLEDB 12.0 Driver with Openrowset in excel

$
0
0

Hi All,

When I am using excel sheet as open Rowset using the ACE OLEDB 12.0 driver(I have installed 32 bit of ACE OLEDB Provier), It is throwing me the error

DB Provider Microsoft.ACE.OLEDB.12.0 cannot be used for distributed queries because the provider is configured to run in single thread apartment mode.

Query is something like :

SELECT * FROM OPENDATASOURCE( 'Microsoft.ACE.OLEDB.12.0', 'Data Source="E:\Sample.xls";
Extended properties=Excel 8.0')...Sheet1$

Usually it works fine for a fixed dataset for a particular excel with fixed metadata.

I did the google and found that I have to install 64 bit version of that driver.

I want to know what is the difference between using excel source(with fixed metadata) and with open rowset ? Why we need 64 bit of driver version for that ? Is there any other way to achieve this without installing 64 bit driver..?

Please help!!

Thanks

Sumit


Errors causing SSIS package to fail

$
0
0

[Stock Code Lookup [5473]] Error: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "component "Stock Code Lookup" (5473)" failed because error code 0xC020901E occurred, and the error row disposition on "output "Lookup Output" (5475)" 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. Error: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "Stock Code Lookup" (5473) failed with error code 0xC0209029. 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. Error: SSIS Error Code DTS_E_THREADFAILED. Thread "WorkThread0" has exited with error code 0xC0209029. There may be error messages posted before this with more information on why the thread has exited. [AGL_TradeAgreements [1]] Error: The attempt to add a row to the Data Flow task buffer failed with error code 0xC0047020. Error: SSIS Error Code DTS_E_PRIMEOUTPUTFAILED. The PrimeOutput method on component "AGL_TradeAgreements" (1) returned error code 0xC02020C4. 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. Error: SSIS Error Code DTS_E_THREADFAILED. Thread "SourceThread0" has exited with error code 0xC0047038. There may be error messages posted before this with more information on why the thread has exited.

Hey,

When I run an SSIS package I get the above errors. I haven't a clue whats wrong though. Can anybody advise where to start or what to look for?

Cheers

Paul

ssis package-manifest not found

$
0
0

hello .

 i have deployed ssis package after setup all initial adjustment..like bin setup and deployment utility was true. but i did not find the manifest file where i could set the bin\deployment..what can i do..

Data Migration from Excel to SQL Server using SSIS

$
0
0

I am new i SSIS. I have imported the data from Excel to SQL Server table by creating data flow components.

Next time i run this package, i need to update the rows in the table where there is either changes or new row additions. Please help me with the steps or training material links to carry out this operation.

How to pop up the "New Connection" dialog box programmatically in SSIS package

$
0
0

We have a requirement to pop up the "New Connection" dialog box programmatically which lauches when a user right-clicks in connection managers . If its possible does it return a ConnectionManager and if not what are the workarounds.

Thanks in advance!

Text was truncated or one or more characters had no match in the target code page

$
0
0

[Excel Source [1]] Error: There was an error with output column "Closing Note" (90) on output "Excel Source Output" (9). The column status returned was: "Text was truncated or one or more characters had no match in the target code page.".

Thanks&Regards Srinivas.M


Please need help with a package not loading data

$
0
0

Hi,

I have a package that runs every month and the source is a flat file from the mainframes. My Package looks at a particular location and if there is a new file it loads it. In the flat file there is a column "DeptID". Till last month there were 48 departments and recently they added a new department, the 49th. The department id is DKD453 and i can see it in the incoming flat file but it doesnt show in the destination table, the rest of the data gets loaded as well without any error messages, can some one please point me what might be going wrong?

Thanks


SV

SSIS package developed using VS 2012 does not open on VS 2008 and also can't be deployed on sql server 2008

$
0
0

I have Visual Studio 2012 installed on my local machine, along with database tools (BIDS). I developed an SSIS package which works fine on my local. I tried deploying to the production server which sql server 2008 standard edition, but got this error:  

"The package failed to load due to error 0xC0010014 "One or more error occured, There should be specific errors proceeding this one that explains the details of errors. This message is used as a return value from functions that encounter errors.". This occurs when CPackage::LoadFromXML fails.

"

Is there a way to develop VS2008 style SSIS packages using VS2010.

My old machine had VS 2008 and I succesfully deployed several SSIS packages to SQL server 2008, but am in a fix the this new version Visual Studio 2010.

Thanks.

SSIS script vb.net code

$
0
0

Hi there

I am new to SSIS  but I have an EXE written in Vb.net  I could have written it in C# but this is a vb shop anyway is there an Easy way to copy and paste my vb code into an SSIS package?

summary of what exe does .... it calls a stored procedure, puts data in a dataset and then writes the data to a file but because the file is for an old main frame with everything being positional or has to be padded left or padded right with certain characters it is much much easier to do this in vb than SQL

Thanks

cannot see integration service node in SSMS 2012

$
0
0

I installed all the services of SQL server 2012 (database engine, ssis, ssas, ssrs) on  a sandbox with another existing version sql 2008 (db engine, ssis, ...)

The 2012 instances are named instances, and 2008 are default instances.

I read from this article: http://technet.microsoft.com/en-us/library/ms143731.aspx

it says after the second heading: You can install SQL Server 2012 Integration Services (SSIS) side-by-side with an existing instance of SQL Server 2005 Integration Services (SSIS) and SQL Server 2008 Integration Services (SSIS).

But in the table below: it says: You can only install one instance of the Integration Services service on a computer

This is confusing,

And when I connect to SSIS using SSMS, if default computer name, I connected to SSIS 10.50 which is 2008 version, there I cannot see the integration service catalog folder, but if I connet to the .\instance name, it will say doesn't support multi instances

Thanks


SQLFriend



SSIS DFT Task not transferring data thourgh SQL Server Agent

$
0
0

Hi,

We are using Sql Server 2008, all my packages were running through job agent but all of sudden job agent showing the error below and not transferring the data. Server is used by other teams as well but no one claim about any other change done recently on server.
Please advice me, how I can resolve this issue, I have checked the DLL file is present in bin folder and quite few keys in server registry!

Description: Data Flow objects cannot be loaded. Check if Microsoft.SqlServer.PipelineXml.dll is properly registered.  End Error  Error: 2011-07-11 12:08:46.43     Code: 0xC0010018     Source: DFT T_EMPLOYEE (Expression)      Description: Failed to load task "

Many Thanks,

Export Tables to Excel with Skript - Error in new Setup

$
0
0
Hi to everybody

I used to use an application, which creates an SQL Query that exports all Tables of a Database to an Excelsheet. It worked very good for a long time. I worked with
- MS SQL Server 2005 and MS SQL Server 2008 R2
- MS Office 2003
- Windows XP.


Now, I work on a new computer with
- MS SQL Server 2008 R2 and
- MS Office 2007
- Windows 7


And the skript does not work anymore. I am not able to find the root cause of the problem (I am not the developer person but the user and therefore I only have basic know how in SQL and T-SQL).

Can anybody help me?

This is the SQL-Code:
-------Excel erzeugen

DECLARE @pfad varchar(255)
SET @pfad = 'F:\\08-02-2013_22-31\'
DECLARE @hr int -- Returncode der sp_OA... Aufrufe
DECLARE @katalog int -- Objektvariable für ADOX.Catalog
DECLARE @verbindung int -- Objektvariable für ADO.Connection
DECLARE @dbname varchar(255) -- Name der temporären Access-Datenbank
DECLARE @conString varchar(512) -- Verbindungszeichenfolge für Access-Datenbank
DECLARE @quelle varchar(255) -- Hilfsfeld für Fehlerbehandlung
DECLARE @beschreibung varchar(255) -- Hilfsfeld für Fehlerbehandlung
DECLARE @dummy int -- Dummy Output Parameter
DECLARE @Excel_Mappe varchar(255) -- Vollständiger Name der Ziel Excelmappe
DECLARE @tabelle varchar(255) -- Name der zu exportierenden Tabelle
DECLARE @besitzer varchar(255) -- Besitzer der zu exportierenden Tabelle
DECLARE @exec varchar(4000) -- Hilfsvariable für dynamische Ausführungen

-- Cursor zum Ermitteln aller Tabellen ohne Text- und Image-Spalten
DECLARE curTabellen CURSOR FAST_FORWARD FOR
SELECT t.TABLE_SCHEMA, t.TABLE_NAME FROM INFORMATION_SCHEMA.TABLES t
WHERE TABLE_TYPE = 'BASE TABLE'
AND NOT EXISTS (SELECT * FROM INFORMATION_SCHEMA.COLUMNS
WHERE DATA_TYPE IN ('text', 'ntext', 'image')
AND TABLE_CATALOG = t.TABLE_CATALOG AND
TABLE_SCHEMA = t.TABLE_SCHEMA AND
TABLE_NAME = t.TABLE_NAME)
ORDER BY TABLE_NAME

-- Erzeugen eines ADOX-Katalog Objekts
EXEC @hr = master.dbo.sp_OACreate 'ADOX.Catalog', @katalog OUTPUT
IF @hr <> 0 -- Fehlerbehandlung
BEGIN
EXEC sp_OAGetErrorInfo @katalog, @quelle OUTPUT, @beschreibung OUTPUT
RAISERROR ( 'Fehler beim Erstellen des ADOX.Catalog Objekts: %s', 10 , -1, @beschreibung)
END

-- Zufälliges Erzeugen eines Datenbank-Namens
SET @dbname = @pfad + CAST(newid() AS varchar(100)) + '.MDB'
-- Erstellen der Verbindungszeichenfolge
SET @conString = 'Provider=Microsoft.Jet.OLEDB.4.0;Data Source=' + @dbname

-- Erstellen einer neuen (leeren) Access-Datenbank
-- Dieser Schritt ist notwendig, da nur über eine Verbindung zu einer Access-Datenbank
-- die benötigte Jet-Funktionalität zur Verfügung steht
EXEC @hr = master.dbo.sp_OAMethod @katalog, 'Create',
@dummy output,
@conString
IF @hr <> 0 -- Fehlerbehandlung
BEGIN
EXEC sp_OAGetErrorInfo @katalog, @quelle OUTPUT, @beschreibung OUTPUT
RAISERROR ( 'Fehler beim Erstellen der Access-Datenbank %s: %s', 10 , -1, @dbname, @beschreibung)
END

-- Variable @verbindung auf die Eigenschaft "ActiveConnection" des Katalog-Objekts setzen
EXEC @hr = master.dbo.sp_OAGetProperty @katalog, 'ActiveConnection', @verbindung OUTPUT
IF @hr <> 0 -- Fehlerbehandlung
BEGIN
EXEC sp_OAGetErrorInfo @verbindung, @quelle OUTPUT, @beschreibung OUTPUT
RAISERROR ( 'Fehler beim Zugriff auf Access-Datenbank %s: %s', 10 , -1, @dbname, @beschreibung)
END

-- Öffnen des Cursors und Export für alle gefundenen Tabellen durchlaufen
OPEN curTabellen
FETCH NEXT FROM curTabellen INTO @besitzer, @tabelle
WHILE @@FETCH_STATUS = 0
BEGIN
-- Dynamisches Erzeugen der SELECT INTO Anweisung
SET @exec = 'SELECT TOP 65535 * INTO [Excel 8.0;Database=' + @pfad + db_name() + '.xls].[' + @besitzer + '_' + @tabelle + '] FROM [ODBC;Driver=SQL Server;Database=' + DB_NAME() + ';Server=' + @@SERVERNAME + ';Trusted_Connection=Yes;].['+ @besitzer + '.' + @tabelle + ']'
EXEC @hr = master.dbo.sp_OAMethod @verbindung, 'Execute', @dummy output, @exec
IF @hr <> 0 -- Fehlerbehandlung
BEGIN
EXEC sp_OAGetErrorInfo @verbindung, @quelle OUTPUT, @beschreibung OUTPUT
RAISERROR ( 'Fehler beim Export: (%s): %s', 10 , -1, @exec, @beschreibung)
END
FETCH NEXT FROM curTabellen INTO @besitzer, @tabelle
END

-- "Aufräumarbeiten"
CLOSE curTabellen
DEALLOCATE curTabellen

EXEC @hr = master.dbo.sp_OAMethod @verbindung, 'Close'
IF @hr <> 0 -- Fehlerbehandlung
BEGIN
EXEC sp_OAGetErrorInfo @verbindung, @quelle OUTPUT, @beschreibung OUTPUT
RAISERROR ( 'Fehler beim Schliessen der Verbindung zur Access-Datenbank: %s', 10 , -1, @beschreibung)
END
EXEC @hr = master.dbo.sp_OADestroy @verbindung
IF @hr <> 0 -- Fehlerbehandlung
BEGIN
EXEC sp_OAGetErrorInfo @verbindung, @quelle OUTPUT, @beschreibung OUTPUT
RAISERROR ( 'Fehler beim Zerstören des ADO-Connection Objekts: %s', 10 , -1, @beschreibung)
END
EXEC @hr = master.dbo.sp_OADestroy @katalog
IF @hr <> 0 -- Fehlerbehandlung
BEGIN
EXEC sp_OAGetErrorInfo @verbindung, @quelle OUTPUT, @beschreibung OUTPUT
RAISERROR ( 'Fehler beim Zerstören des ADO-Connection Objekts: %s', 10 , -1, @beschreibung)
END
-- Temporäre Access-Datenbank löschen
SET @exec = 'DEL "' + @dbname + '"'
EXEC master.dbo.xp_cmdshell @exec ,NO_OUTPUT
GO

And this is the error message:

Fehler beim Erstellen der Access-Datenbank F:\\08-02-2013_22-31\863D2122-986A-4D8D-A401-B9EE78DF7EEF.MDB: Klasse nicht registriert
Fehler beim Zugriff auf Access-Datenbank F:\\08-02-2013_22-31\863D2122-986A-4D8D-A401-B9EE78DF7EEF.MDB: Typkonflikt.
Fehler beim Export: (SELECT TOP 65535 * INTO [Excel 8.0;Database=F:\\08-02-2013_22-31\Total.xls].[dbo_Test] FROM [ODBC;Driver=SQL Server;Database=Total;Server=NB;Trusted_Connection=Yes;].[dbo.Buch]): Syntax für sp_OAMethod: ObjPointer int IN, MethodName varchar IN [, @returnval <any> OUT [, zusätzliche IN-, OUT- oder BOTH-Parameter]].
Fehler beim Schliessen der Verbindung zur Access-Datenbank: Syntax für sp_OAMethod: ObjPointer int IN, MethodName varchar IN [, @returnval <any> OUT [, zusätzliche IN-, OUT- oder BOTH-Parameter]].
Fehler beim Zerstören des ADO-Connection Objekts: Syntax für sp_OADestroy: ObjPointerToBeDestroyed int IN.


Any Ideas how to fix it?

Thanks a lot
Angeline

SQL Server Agent issue: Data Flow objects cannot be loaded. Check if Microsoft.SqlServer.PipelineXml.dll is properly registered.

$
0
0

Hi,

I have a SSIS package transferring data from MYSQL to MSSQL. I run it in BIDS, DTEXEC command prompt utility, Execute Package utility and SSIS -MSDB - Run Package successfully. But when I created credential and proxy account to schedule a job to run the ssis package. The job display succeeded, but nothing was transfered. 

I got the message as follows:

Code: 0xC0040019     Source: Data Flow Task Data Flow Task (SSIS.Pipeline)     Description: Data Flow objects cannot be loaded. Check if Microsoft.SqlServer.PipelineXml.dll is properly registered. 

Code: 0xC0010018     Source: Data Flow Task      Description: Failed to load task "Data Flow Task"<c/> type "SSIS.Pipeline.2". The contact information for this task is "Performs high-performance data extraction<c/> transformation and loading;Microsoft Corporation; Microsoft SQL Server v10; (C) 2007 Microsoft Corporation; All Rights Reserved;http://www.microsoft.com/sql/support/default.asp;1".  End Error  DTExec: The package execution returned DTSER_SUCCESS (0). 

Please help! Thanks 


On fly Table Creation

$
0
0
Hi Folks,

         i am genarating a new destination table on fly.. with same source table column names with related datatypes. 

i have source table like this,

SId   Sname  Firstnam  Lastname Middlename
101   XX       -         -       -
102   YY       -         -       -

i need the Destination Table like this,

StudentID   Sname  Firstnam  Lastname Middlename
101       XX       -         -       -
102          YY       -         -       -

Finally My Agenda Is SId Becomes Studentid when the creation of new table in destination not manually i need dyanamically..

please help me ASAP.....

Regads,
Siva

Row level logging inside Data Flow Transform

$
0
0

hi there:

   The SSIS built-in logging function is not giving me the detailed info inside the DFT.  Inside the DFT, there is the OLE DB Source , some transformation tasks

and the OLE DB destination. What I'd like to achieve is logging every single row that comes from the DB Source and output to a flatfile daily.

I'd like to record the following info from DB Source

Column Name

Column Type

Column Value

ErrorCode

ErrorColumn

Anyone here had the similiar request before? any ideas or links to Share?

thanks a lot!

Hui


--Currently using Reporting Service 2000; Visual Studio .NET 2003; Visual Source Safe SSIS 2008 SSAS 2008, SVN --


Visual Studio 2010 SSIS Toolbox Missing Execute SQL Task

$
0
0

The Execute SQL Task is not visible in the SSIS toolbox for the Control Flow tab. I have seen the thread at http://social.msdn.microsoft.com/Forums/en-US/sqlintegrationservices/thread/149ba699-ee7b-4a49-8a7f-b2092d0cec2a which advised running devenv/resetuserdata, but that did not resolve the issue.

I have also seen references to running devenv/resetsettings and deleting toolbox*.tbd files from the users AppData. These have not resolved the issue, either.

I would appreciate any other ideas, as my project is dead in the water.


Echo Train Nashville TN

What are null funtions in the ssis expression

$
0
0

Hi,

              What are null funtions in the ssis expression(conditional split)?How can we use that?

Execute Out Of Process or In Process

$
0
0

HI,

I have a parent ssis package that invokes several child packages. One child package executes several times for one execution of parent package. If I execute child package in process ( Execute Out of process = false) it will give error "File is used by another process".  I can avoid this by set Execute Out of process to true. But after that it takes so much time to execute child packages. What's the best thing to do in this case?

Thanks.

Viewing all 24688 articles
Browse latest View live


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