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

How can I handle errors with Transfer Database Task? Not all objects can be created on destination.

$
0
0

I am trying to make an archive copy of a database using Transfer Database Task in SSIS.

I created a blank SSIS project, added and configured the "Transfer Database Task".  My source is a network SQL Server and I am part of sysadmin server role. 

I am trying to move database A on Server A to database B on Server B, but database A reference database Z (on Server A).  database Z does not exist on Server B.  So I am getting an error when a procedure on database A references database Z.    Here is the Error...

Error: The Execute method on the task returned error code 0x80131500 (ERROR :
errorCode=-1073548784 description=Executing the query "CREATE VIEW dbo.sc_SpecificOffering_lov
AS
SELEC..." failed with the following error: "Invalid object name 'z.dbo.usm_rate_definition'.".
Possible failure reasons: Problems with the query, "ResultSet" property not set correctly,
parameters not set correctly, or connection not established correctly.
 The Execute method must succeed, and indicate the result using an "out" parameter.

Is there a setting that would allow this database and its objects to be created?  With out validateing every procedure and object? 

Is the Transfer Database Task All or nothing?

Thanks,

Mike


Delete Packages in MSDB Folder Store

$
0
0

I have a folder in MSDB for storing SSIS packages. There are about two hundred plus packages. I now want to delete that folder, but apparently I can't delete the folder until all packages/folders in that top folder are empty.

The real pain is that there is no way that I can see to select all packages and then delete them - it has to be done one by one!

Is there NO way to do a "mass" delete???

This is just basic functionality!

Thanks!


A. M. Robinson

Microsoft OLE DB Provider for SQL Server 2012 Analysis Services Error Code = 0x80040E05

$
0
0

I've been running a package for 6 months without any issues that pulls data from a cube via MDX and moves it to a database.

We've recently moved to a new server x64 and the connections all succeed but at runtime (in 64 = T&F) I get the following error:

[SRC AdExchange [87]] Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E05.
An OLE DB record is available.  Source: "Microsoft OLE DB Provider for SQL Server 2012 Analysis Services."  Hresult: 0x00000001  Description: "Error Code = 0x80040E05, External Code = 0x00000000:.".

[SSIS.Pipeline] Error: SRC AdExchange failed the pre-execute phase and returned error code 0xC0202009.

I've installed SQL_AS_OLEDB, SQL_AS_ADOMD from Microsoft® SQL Server® 2012 SP1 Feature Pack

Why is my connection failing?

dtutil deploy package gives 0x80040E2F "Violation of PRIMARY KEY contraint 'pk_sysdtspakages90' or 'bk_syssispackages'"

$
0
0

Re: dtutil deploy package gives 0x80040E2F "Violation of PRIMARY KEY contraint 'pk_sysdtspakages90' or 'bk_syssispackages'"

Using dtutil to deploy the same package multiple times the same server that can be either SQL 2005, 2008 and 2012. Periodically  the message above is returned. (The message is slightly different on the constraint name between the versions of SQL). Even with the error the package deploys successfully into the MSDB and when I rerun the exact same DTUTIL it displays "Package sucessfully deployed."  dtutil can be run multiple times in succession and a successfully message is returned. It seems that when the error message is displayed it is the first time that i have logged onto the server in awhile to deploy the package and when a new SSIS package name is used (same dtsx always, just a new MSDB name).

The installers run the dtutil and live with the error message, but i would like to correct it. anyone have any ideas?

SAP Idoc file as a source in SSIS

$
0
0

Hi,

How to connect to SAP Idoc file as a source in SSIS 2008/2008R2?

Regards,

Mayank

How to add the Microsoft.SqlServer.TableTransferGeneratorTask.dll to toolbox in ssis

$
0
0

How to add dll (Task) to Toolbox in ssis

Please find the details

Folder Name:"C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Tasks"

BIDS : 2008 Version

DLL Name:Microsoft.SqlServer.TableTransferGeneratorTask.dll These steps

I have adready did but no luck :)

1)I have deployed to GAC

2) The dll is already exist in folder  C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Tasks  C:\Program Files\Microsoft SQL Server\100\DTS\Tasks

3) But when ever I tried to add this task to TOOLBOX in BIDS, this dll is not visible in "SSIS Control Flow Items" Please help me

4) This task will load the for multiple tables without creating multiple source and target components

5)NO of tables loading depend on configured  XML  file(which contains how many tables you want to load)

Note: its not a 3rd party task,and this task is provided by MIcrosoft

SSIS Documenter

$
0
0
Is there a decent tool out there to document SSIS Package?

[OLE DB Source [28]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "Source" failed with error code 0xC0202009.

$
0
0

I have several SSIS Packages I have created in BIDS which I have been running manually just fine for the past few months. These packages connect to an Oracle database.

However, this week when I try to run them, I get the following error message: [OLE DB Source [28]] Error: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Source" failed with error code 0xC0202009.

I have tried creating a new package to test the configuration of the connection in the Connection Manager. When I create a new Data Task Flow and add an OLE DB Source, I am able to Parse Query and Preview just fine.

However when I try to Exicute Task or Start Debugging, I get the same error message as above.

I dont have any problems with my SQL Tasks.


DTExec: Could not import the configuration file

$
0
0

I have checked with the previously posted threads on this but not helped.

Issue with pacakge developed in SQL 2012

When executed using batch file from cmd the following error is thrown and not able to fix it.

"DTExec: Could not import the configuration file C:\Cycle\RIM_Config.config."

any help ?

Thanks !


--------------------------- Radhai Krish | Golden Age is no more far | --------------------------

Script task and missing references

$
0
0

Hi Friends,

SQL 2008 , VS 2008

I have a C# script task where I'm trying to add reference Like

using Microsoft.SqlServer.Dts.Tasks.ExecuteSQLTask

using Microsoft.SqlServer.ManagedDTS

 

and the task is not able to verify these references.

 

What am I missing ?

Any help is really appreciated.

 

Thanks,

Patrick


Patrick Alexander

SSIS - Use query results in a DB Source's query

$
0
0

I'm trying to use the result list of values from one table in the query for a Data Source from another table (on another DB). I thought it would go fromDB Source --> Lookup --> DB Source but this doesn't seem to be correct. When I try to connect the Lookup to the second source, I get an error thatThe destination component doesn't have any available inputs.

I want to use a list of values from one database to limit the data that I'm pulling from the another DB on another server in another state. If they were in the same DB I would use ...WHERE Split in (Select Split from ...) but can't in this case.

How would I make this work?

SSIS Assembly causing System.IO.FileNotFoundException

$
0
0

Hello,

Scenario:

1) I'm moving SSIS from a Windows 2008 r2 server with SQL 2012 (@ Amazon) to a Windows 2012 server with SQL 2012 (@ Azure)

Windows 2008 Config (production server)

1) A strongly typed dll was compiled with vs2012.  It has been  in use on the 2008 server for about 14 months. The dll is called from Script Tasks and from Script Components. (both vb not c#) The dll is called from 5 dtsx's.

2) \v8.0A\bin\NETFX 4.0 Tools\x64\gacutil.exe was used to configure the dll into the gac.

3) For some reason, I configured both a x64 and msil version of the dll. I'm not certain why I did this but it is a production server so I'm not inclined to uninstall / reinstall to test.

4) The msil version is in C:\Program Files (x86)\Microsoft SQL Server\110\SDK\Assemblies

Windows 2012 Config (future production server)

1) I installed the dll exactly the way the dll is installed on the Windows 2008 box

2) The dll works fine from Script Tasks

3) The dll does not work from Script Components, the same error message is produced which is:

System.Reflection.TargetInvocationException: Exception has been thrown by the target of an invocation. ---> System.IO.FileNotFoundException: Could not load file or assembly 'NSWebService, Version=2.2012.1.0, Culture=neutral, PublicKeyToken=2e561c72c5209961' or one of its dependencies. The system cannot find the file specified.

Any thoughts or suggestions would be greatly appreciated!


Thank you, Bill


Missing DLLs for DTS

$
0
0

Hi Freinds,

SQL 2008 , VS 2008

I'm missing these dlls, where can I found them to install ?

C:\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.DTSPipelineWrap.dll

C:\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.DTSRuntimeWrap.dll

C:\Program Files (x86)\Microsoft SQL Server\100\SDK\Assemblies\Microsoft.SqlServer.PipelineHost.dll

Thanks in advance,

Patrick


Patrick Alexander

Importing Access 2013 to SQL Server 2008 (Simple Question - Please Help)

$
0
0

 Hi.

 First of all, I'd like to say thank you so much for having an interest in my question. : )

 Honestly, I am almost dying with this problem. (This simple problem is really killing me...)

 I just started reading a book, which I bought about 6 months ago, titled Practical Database Programming with Visual Basic.Net by Ying Bai.

I am trying to move all the data in an access file to SQL Server 2008.

I followed all the steps as shown in here - fmsinc.com/MicrosoftAccess/SQLServerUpsizing/importing/Import_Access_DB.asp

I got an error like this:

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

 • Error 0xc0202009: Source - Course [1]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E37.
 (SQL Server Import and Export Wizard)
 
• Error 0xc02020e8: Source - Course [1]: Opening a rowset for "`Course`" failed. Check that the object exists in the database.
 (SQL Server Import and Export Wizard)
 
Exception from HRESULT: 0xC02020E8 (Microsoft.SqlServer.DTSPipelineWrap)

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

 I tried to find an answer to my problem but I couldn't. I spent a good 3 days for this.... : (

 I am a just beginner, which means I don't know anything about both SQL Server and VB.

 Any help will be greatly appreciated!

 Please explain in detail, if possible.

 I use Windows 2008 R2 X64, SQL Server 2008 X86, and Access 2013.

 Hope to get an answer ASAP.

 Thanks in advance!

Is it possible to make SSIS a component of an application just to transform files from one format to another?

$
0
0

Gurus!

In my application, I have a need to take input files coming in through a file feed, read data contained in them and output them to a predefined text format. Ido not need to push any of that data into a database. The input files may be in any format, text, excel, csv, pdf, rtf, anything, and may vary in size between 100 MB and 2.5 GB.

For the sake of file transformation to the target format alone, is it possible to incorporate SSIS into my architecture? Can I invoke it using some dll? Please advise me Gurus!

Novice Kid


Multi-row variable error

$
0
0

I am trying to create a variable for use in an IN statement but keep getting an error in theExecute task that populates it. I'm using Full Row Set. I have another date variable from the same db that I am able to populate - the problem seems to be the multiple rows.

The type of the value being assigned to variable "User::Split" differs from the current variable type. Variables may not change type during execution. Variable types are strict, except for variables of type Object.

I have tried using numeric and string types for both the variable and the Parameter Mapping Data Type but haven't figured out how to get this to work. I want to have a list of numbers to use in a variable for the WHERE clause of the datasource for a data flow task.

...WHERE Split IN ( ? )

Any idea what I'm doing wrong?

Which would be the best way to transform a 2 GB file to a text format?

$
0
0

Gurus!

In my project, I need to transform data contained in a 2 GB file to a target text file. I need to take the data in the input file row by row, perform certain operations/transformations on them, and output them to the target file.

I just wanted to know which mechanism would be best fit for this. Would it be faster if I transform the input file (which may be in excel, csv, text or pdf format) to the target text format using SSIS, or using task parallel library? Which one would offer me better performance?

Seeking your expertise Gurus!

Novice Kid

using sql task to make two counts and store in seperate variables

$
0
0

I have a table which contains the column "Function"- this columns value is either  "D" or "A"

I want to use one sql task, if this is possible, to run the code"

select count(*) from table where function='D'

select count(*) from table where functiob ='A' 

each of these counts needs to be stored in separate variables. is this possible in one SQL Task  or do I need to create them seperatly?

Creating Script Task programatically from C# code in SQL Server 2012

$
0
0
Hello Everyone,

General question is: How can I add a script to Script Task from C# code in SQL Server 2012?

We are using C# to dynamically create SSIS packages. Right now we are working on generating them for SQL Server 2012. Our previous implementation (for SQL Server 2008 R2) was calling VSTATaskScriptingEngine methods: InitNewScript, AddProjectReference, AddCodeFile, SaveScriptToStorage, CloseIDE, Build and ShowDesigner. Sadly it seems these methods had been removed in SQL Server 2012 libraries.

Can anybody point me to a solution to this problem (any reference or direct solution will do)? I've searched for an answer for a while, but so far without any success.

Thanks in advance.

Problem pulling character/string values from an Informix database using SSIS 2008

$
0
0
I am using SSIS 2008 and having a problem with pulling character data values from an Informix source. The etl runs fine, it pulls records from the source database and poulates them in the target, but all the fields that are char/varchar data type comes out blank in the target (no prob loading numerical values). I have tried loading data in a SQL Server table and also in a text file, the result is the same.

Here is info on diff software ver etc.:
The etl is running on a Windows Server 2008 R2 standard (64 bit OS). SSIS ver is 2008, 64 bit run time for the project is disabled (etl is running in 32 bit mode). Informix ODBC is ver 3.70.TC3 it's a 32 bit driver, and DSN has been setup under 32 bit ODBC (C:\Windows\SysWOW64\odbcad32.exe).

I am using ADO NET component to connect to the ODBC dsn. After writing my query in the ADO Net, when clicked on the "preview" button I can see all the correct data. Also, I am able to run a query against this ODBC dsn using the "Server Explorer" tool in BIDS -- query result shows all the correct values, I can copy the result and paste it in a notepad. But when the etl is run, values for all the fields that are char/varchar comes out blank in the target.

Please let me know if any additional info is required.

Any help/insight into it will be greatly appreciated.

Thanks,
Manish
Viewing all 24688 articles
Browse latest View live


Latest Images

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