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

Error:Package migration from version 8 to version 6 failed with error 0xC001700A

$
0
0

I was about to post a similar question where the package runs fine on VS2013 but errors when I run DTEXEC from the command prompt. 

Error:

 Code: 0xC0016020
 Source: Package
 Description: Package migration from version 8 to version 6 failed with error 0xC001700A


Migrate data from Access 2003 database to Azure

$
0
0

Hello,

I have to migrate data from an old Access 2003 database to another existing database with different table and columns. For example, I have Customers table in both databases, but in the local database I have Name, Surname1 and Surname2 columns and in azure I have only FullName column (Azure.FullName = Local.Name + " " + Local.Surname1 + " " + Local.Surname2). Another difference is that in local DB I have PhoneNumber and MobilePhoneNumber columns and in Azure only PhoneNumber column. Sometimes PhoneNumber is home phone number, other times mobile phone number or maybe empty, so I have to check if both columns and get only one phone number. Other thing that I have to do is the following: for each row that migrates in Customers table I have to create another row in another table named Services with the ID generated automatically in the Customers table.

These are very complicated things for me because I have never used Integration Services. I'm doing some test and using SQL Server Import and Export Wizard 32-bit (running from Apps screen of Windows 8.1) I have created a simple package (don't know if it is a package). In this case I have migrate only direct columns. Then I can see my test element in MS SQL Server Management Studio in MyLocalServerName->Stored Packages->MSDB->MyTest. But now I don't know what I have to do with this...

In some sites I can see things like that:

But I don't know how to get this design view...

I'm working with Windows 8.1 Pro (x64) machine with SQL Server 2012 Enterprise (on the intallation time I check all components).

Can you help me explaining the steps? Any useful tutorial?

Thanks in advance,

Jon.

Import row based complex csv or excel to DB using SSIS

$
0
0

What is the best approach to deal with complex row based object hierarchy in CSV or Excel file in importing into DB?

eg. We have the following CSV or Excel data (Pipe delimited and \r\n separate a new row):

START|\r\n

MEMBER|Mr|John|Lee|\r\n

INSURANCE|2015-1-15|LIFE|\r\n

END|\r\n

START|\r\n

MEMBER|Ms|Mary|Scott|\r\n

INSURANCE|2015-1-10|LIFE|\r\n

END|\r\n

....

....

Here each START/END marks one record. The final goal is to transform it into an XML like this:

<Members>

   <Member>

     <Title>Mr<\Title>

     <FN>John<\FN>

     <LN>Lee<\LN>

     <Insurance>

         <Join_Date>2015-1-10<\Join_Date>

         <Category>Life<\Category>

     <\Insurance>

   <\Member>

...  

   <Member>

...

   <\Member>

<\Members>

 Thanks for any input.

how to? regarding adding parent tag in generated xml script using C# scripting

$
0
0

Hi All,

I have a set of transformations, which will generate xml data by reading rows from database

here is my data flow https://social.msdn.microsoft.com/Forums/getfile/606619

<Customer> 
<CustomerId>1</CustomerId> 
<Name></Name> 
<Title></Title> 
<Phone>1 (11) 500 555-0162</Phone> 
<Gender>F</Gender> 
<MaritalStatus>S</MaritalStatus> 
<YearlyIncome>70000</YearlyIncome> 
<BirthDate>15-02-1968 12:00:00</BirthDate> 
<EmailAddress>christy12@adventure-works.com</EmailAddress> 
<CustomerKey>11003</CustomerKey> 
</Customer> 


<Customer> 
<CustomerId>2</CustomerId> 
<Name></Name> 
<Title></Title> 
<Phone>1 (11) 500 555-0131</Phone> 
<Gender>F</Gender> 
<MaritalStatus>S</MaritalStatus> 
<YearlyIncome>80000</YearlyIncome> 
<BirthDate>08-08-1968 12:00:00</BirthDate> 
<EmailAddress>elizabeth5@adventure-works.com</EmailAddress> 
<CustomerKey>11004</CustomerKey> 
</Customer> 

my problem is I am not able to add <?xml version="1.0" encoding="UTF-8"?> (xml tag) to output folder, which should be just at the beginning of xml file. 

I am a beginner in SSIS, any help/hints will be appreciated.

Regards,

Mateen


ssis 2012 configuration package wizard is hanging

$
0
0

Hi,

I am trying to edit the dtsconfig package xml file in SSIS 2012 VS envoirnemnt and the wizard is hanging up for minutes until I need to close VS.

Has anyone experienced this problem and what can be done to solve other than editing the XML file directly.


SSIS Server Maintenance Job not getting completed even in 12 hours

$
0
0
 I have following Sql Server

Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64)
Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )


Problem - SSIS Server Maintenance Job not getting completed even in 12 hours
Sql Server - Microsoft SQL Server 2012 (SP1) - 11.0.3128.0 (X64)
Standard Edition (64-bit) on Windows NT 6.2 <X64> (Build 9200: )

I need to verify if hotfix http://support.microsoft.com/kb/2829948 is applicable to my sql server

FTP Error in SSIS

$
0
0

I am trying to run a job which contains an SISS package and it runs Under SA ,I get an error for FTP task and when i ran in BIDS it is working fine.The error is below and could anyone please help me to solve the issue.I tried with package protection level and still i am getting the same error.

Message
Executed as user: M****\Svc-****SQLAgent. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.6000.34 for 32-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  2:30:01 PM  Error: 2015-01-27 14:30:02.02     Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Property" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2015-01-27 14:30:02.14     Code: 0xC0016016     Source:       Description: Failed to decrypt protected XML node "DTS:Property" with error 0x8009000B "Key not valid for use in specified state.". You may not be authorized to access this information. This error occurs when there is a cryptographic error. Verify that the correct key is available.  End Error  Error: 2015-01-27 14:30:03.48     Code: 0xC001602A     Source: SSISPackage Connection manager "FTP Connection Manager "     Description: An error occurred in the requested FTP operation. Detailed error description: The password was not allowed  .  End Error  Error: 2015-01-27 14:30:03.48     Code: 0xC002918F     Source: FTP Task Get Files FTP Task     Description: Unable to connect to FTP server using "FTP Connection Manager 1".  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  2:30:01 PM  Finished: 2:30:03 PM  Elapsed:  2.496 seconds.  The package execution failed.  The step failed.



Derived Column using Variable

$
0
0

Hi,

I have a requirement to derive month value from the variable.

The variable 'carInputMonth' holds the values 01 or 02 or 03 ...12 based on the input parameter.

My requirement is to load the target file with Month column and the value should be 'Jan', 'Feb',..'Dec'. So I have to derive the month name from month number.. I though to write a case statement in the derived column but it is not working for me. Please advise.

Thanks.


SSIS Load Excel Data with out MS Office

$
0
0

Hello All, 

Requirement : Load Excel Data to SQL Server Table using SSIS 2012 with out using OPENROWSET(Ad Hoc Distributed Queries)

SET UP : SQL SERVER 2012-64 Bit  and Access DataBase Engine 2010 -64 Bit  

Problem :: No MS Office Install 

Help on this  as how can this be achieved 

When I use Excel as Source , I get error "MS Ace OLEDB 12.0" provider is not install on local Machine but if I take OLEDB Source and use OPENROWSET , I can see and Load data in SQL Table ..

version of the package

$
0
0

hi

i am opening old package into new ssis.

i need to know in which version package build like 2005 ,2008 etc

how to see it

Unable to add reference for Excel Object Library for use within Script Task

$
0
0

I have a requirement to use a Script Tax that needs to reference the Excel Object Model. There are numerous articles on using this such as http://www.databasejournal.com/features/mssql/article.php/3921141/SSIS-Script-Task-and-Microsoft-Office-Automation.htm.

Simply, I need to add a reference to the Microsoft Excel 12.0 Object Library.

I have selected this from the Object List on the COM tab and when this adds the reference it states 'The System cannot find the reference specified', even though the referenced file for this Object is C:\Program Files(x86)\Microsoft Office\Office12\Excel.exe and this file location exists on my local machine ?

sql serve 2008 with BIDS

$
0
0

where can i downalod sql server 2008 with bids standard edition.

Error while using export/import wizard as a SSIS package.

$
0
0

Hello,

I am trying to populate raw tables using Export Import Wizard in SSMS. When I am setting the source everything seems to work but destination (a virtual machine) shows the following error:

Could not retrive table list.Login failed for user domain\user. (Microsoft SQL Server Native Cliente 11.0)

The source is a Windows Server 2012 With SQL server BI, and it hosts the destination virtual machine (with the same platform that its host).

en System.Data.OleDb.OleDbConnectionInternal..ctor(OleDbConnectionString constr, OleDbConnection connection)   en System.Data.OleDb.OleDbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningObject)   en System.Data.ProviderBase.DbConnectionFactory.CreateConnection(DbConnectionOptions options, DbConnectionPoolKey poolKey, Object poolGroupProviderInfo, DbConnectionPool pool, DbConnection owningConnection, DbConnectionOptions userOptions)   en System.Data.ProviderBase.DbConnectionFactory.CreateNonPooledConnection(DbConnection owningConnection, DbConnectionPoolGroup poolGroup, DbConnectionOptions userOptions)   en System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection)   en System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)   en System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions)   en System.Data.ProviderBase.DbConnectionInternal.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory)   en System.Data.OleDb.OleDbConnection.Open()   en Microsoft.SqlServer.Dts.DtsWizard.SQLServerForm.LoadDatabasesList()
I added vm to domain and enabled remote connections.

I've added Windows Credentials to Components Services / Microsoft Sql Server Intergration Services 11.0 and activate for remote start and remote access, however the error persists.

I've also created a user in SSMS destination machine and used sql server authentication without sucess.

Thanks in advance.






Cannot Find SharePoint Connectors for SSIS

$
0
0

I have installed  SSIS with SS 2012 and run the installation for the SharePoint adapters for SSIS as found here:

http://sqlsrvintegrationsrv.codeplex.com/releases/view/17652

I cannot find how to add the connectors by going to Tools -> Choose Toolbox Items -> SSIS Data Flow Items.

The tab SSIS Data Flow Items is not there. (see image)

How do I add the connectors if the tab is not there?

SSIS Package Runs OK Manually But Not From SQL Server Agent...Permissions?

$
0
0

I have a problem where I have an SSIS package (SQL Server 2005) that won't run properly from SQL Server Agent, but it runs fine when kicked off manually from Integration Services -> Run Package or when run in debug from Visual Studio.

 

The first step in the package checks for the existance of a file via a script task.  The script looks like this...

 

Code Block

PublicSub Main()

 

Dim TaskResult AsInteger

Dim ImportFile AsString = CStr(Dts.Variables("BaseDirectory").Value) + CStr(Dts.Variables("ImportDirectory").Value) + CStr(Dts.Variables("ImportFile").Value)

 

If Dir(ImportFile) = ""Then

Dts.TaskResult = Dts.Results.Failure

Else

Dts.TaskResult = Dts.Results.Success

EndIf

 

Return

 

EndSub

 

 

 

 

This script runs fine and the file is seen as expected when I run the package manually.  But as a step in a SQL Server Agent job, it doesn't see the file.

 

The SQL Server Agent service is set to start up / log on as a Local System Account.  I've also tried setting up a credential / proxy (using an account that I know can see and even move / rename the file) to run the job as but that didn't seem to help.

 

The package is being run from SQL Server (stored in MSDB) and is set to rely on SQL Server for sensitive information, so I don't think that's an issue; other packages are set up like this in terms of sensitive data and run fine.

 

Any ideas why my script can't "see" the file I'm looking at when it's kicked off by SQL Server agent?  I've looked and looked...I can't seem to figure this out.  I would really appreciate any help you might be able to offer up.


problem with package execution in SQL Server Management Studio - sing excel file connection in a package

$
0
0
Hi, I have a problem with a ssis package. The package uses a connection to excel. When I try to execute this package in SQL Server Management Studio it fail to connect to the excel file. Has someone an idea what the problem is and how to fix it?

SSIS 2012 Failing to redirect failed records

$
0
0

Hi there,

In SSIS 2008R2, redirect failed records used to work correctly, unfortunatly, in the SSIS 2012 version i can seem to get any recrods to redirect upon failure.

For example, i have a column that is defined as intergre but when ever a mixed character value is fetch, i would be expecting to fail and redirec the record.  This used to happen in 2008 but in 2012, it doesnt redirect, but rather skips and continues to process next record.

Has anyone seen this issue?

Thanks in advance.

AB

hide excel connection

$
0
0

Hi,

I have a parameter which has the folder path. And I have a excel-connection which get its source folder through the parameter. Is it possible to hide the excel-connection? When I execute the package in SQL Server Management Studio I always see the excel-connection but I didn't need it.

What is the difference between Execute SQL Task and OLE DB Command

$
0
0

Besides the obvious, Execute SQL Task being used in Control Flow, andOLE DB Command being used in Data Flow what is the difference between the two? Is one supposed to useExecute SQL Task to produce a result set that then gets handed over toData Flow and OLE DB Command ? Everything that I have seen onOLE DB Command is pretty much execution of a Stored Procedure with ? parameters. It seems as though I got to a point where I had to perform my data edits pretty much entirely in a Stored Procedure executed byOLE DB Command rather than trying to use the SSIS GUI for everything. I didn't really see in any of my Google searches out there that simply usedOLE DB Command as a straight parameterized SQL against tables for editing and cleansing purposes and handling returns back from SQL Server for COUNT(*), etc..

I know I have posted multiple forums out there regarding this issue but I cannot seem to get a straight answer and some solid direction. So for now, myExecute SQL Task gives me my editable result set and then control is handed off toData Flow and ultimately to my Stored Procedure executed by an OLE DB Command  which pretty much does the chunking for me and performs my data edits and handles my record anomalies through SQL Server Table data stores accordingly or sets flags accordingly if the data passes.

I welcome your thoughts and Thanks for your review and Thanks in advance for any replies and direction that anyone might provide.

 

loading ssis packages 0xc0011008

$
0
0

we had a sql/server 2000 with local packages  (dts)

now we need to go to sql/2014

installed ss/2008 in between and finally migrated to ss/2014

dts packages have been migrated from ss/2008 with needed software to ssis packages in ss/2014

all has been migrated/loaded/validated....   no problem - in int.serv.cat. I see all packages that are validated

now having a visual studio 2012 on windows7  with bi tools installed

when opening new project  : is import project wizard : select is server and catalog path : ok

when pressing import I get

TITLE: SQL Server Integration Services
------------------------------

The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
 (Upload_A200_SOA)

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

The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
 (Upload_A200_SOA)

------------------------------
BUTTONS:

OK
------------------------------

Have seen many entries regarding this message but none corrected the problem

all help/hint/remark would be welcome

best regard, Guy Przytula

Viewing all 24688 articles
Browse latest View live


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