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

update SQLNCLI.1 to SQLNCLI10.1

$
0
0

How can I update the OLEDB provder from SQLNCLI.1 to SQLNCLI10.1

I have migrated the 2005 SSIS package in 2008 and need to upgrade oledb provider.

I've tried to change it in the code view,but it doesn;t not save the value.

How can I make this work?


SSIS, empty numeric columns populated with previous numeric column value

$
0
0

I use MS Visual studio  2008.

I have a text file with more than one table's data in it (different column counts). I import the whole row as one column. Based on a conditional split, the rows are dispersed to their correct flow. I use a script component to split the single column values (row) into the correct columns for that table and give it as output columns. All of this is working fine, and data looks fine.

My problem comes in with some numeric fields. When a numeric field has no values in it, it ends up in the table with another column's numeric value.

I have put data viewers everywhere, in not one of them there is data for the column that should be empty. When I look in the table itself, there it is... data from another column.

  • It is not the mappings, I checked it a dozen times.
  • It is not the names that are the same or something like that.
  • There is no data according to dataviewers anywhere in the load process.
  • There is no hidden code anywhere.
  • I droped and recreated the table.
  • I displayed a messagebox with the column's (that is supposed to be empty) assigned "column value", and no data, like expected.
  • I used a derived column, same result, no data in dataviewers, but eventualy data in the table.

I also created another test table with those numeric fields as varchar. When I do this, the column is empty (like expected). When I change it to numeric, the field is populated again. (If it was the other way around I could understand).

What can be te reason for this? It is driving me insane.



SSIS performance counter

$
0
0

Hi,

I cant view SSIS performance counters when clicked perfmon.exe add counter list, I tried to install counters using  following command

lodctr c:\"program files"\"microsoft sql server"\100\dts\binn\perf-DTSPipeline100DTSPERF.INI

I got its already installed, but still not able to view the performance counter SSISDTSPIPELINE and Instance counters.

Regards,

Navin

lodctr c:\"program files"\"microsoft sql server"\100\dts\binn\perf-DTSPipeline100DTSPERF.INI



Navin.D http://dnavin.wordpress.com

Deployment database connection errors ?

$
0
0

I was getting some connection driver errors as mentioned in this post - http://social.msdn.microsoft.com/Forums/sqlserver/en-US/2e3d0ed5-b4f9-4b32-88a0-bb8b52c29d37/package-deployment-error-change-connection-string-to-sqlncli10-or-find-and-install-support-for?forum=sqlintegrationservices

I changed the provider as per the error messages. Now, I am getting the errors below. How do I find out the 
cause and fix them ?

Thanks.

Code: 0xC0202009     Source: MyPackage Connection manager "MyOLEDBConnection"     Description: 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 'MyUser'.".  
End Error  

Code: 0xC020801C     Source: MyPackage Log provider "SSIS log provider for SQL Server"     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection 
method call to the connection manager "MyOLEDBConnection" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method 
call failed.  COM error object information is available.  Source: "MyPackage"  error code: 0xC0202009  Description: "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 'MyUser'.".  ".  
End Error  

Code: 0xC0202009     Source: MyPackage Connection manager "MyOLEDBConnection"     Description: 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 'MyUser'.".  
End Error  

Code: 0xC020801C     Source: DFT Insert Execution Log OLE_DST Insert SSIS Execution Log [25]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  
The AcquireConnection method call to the connection manager "MyOLEDBConnection" failed with error code 0xC0202009.  There may be error messages posted before this with more information 
on why the AcquireConnection method call failed.  
End Error  

Code: 0xC0047017     Source: DFT Insert Execution Log SSIS.Pipeline     Description: component "OLE_DST Insert SSIS Execution Log" (25) failed validation and returned error code 0xC020801C.  
End Error  

Code: 0xC004700C     Source: DFT Insert Execution Log SSIS.Pipeline     Description: One or more component failed validation.  
End Error  

Code: 0xC0024107     Source: DFT Insert Execution Log      Description: There were errors during task validation.  
End Error  

SSIS reads nvarchar values as Null when Excel column includes decimal and string values

$
0
0

I have SQL Server 2012 SSIS. I have Excel source and OLE DB Destination.
I have problem with importing CustomerSales column.
CustomerSales values like 1000.00,2000.10,3000.30,NotAvailable.
So I have decimal values and nvarchar mixed in on Excel column. This is requirement for solution.

However SSIS reads only numeric values correctly and nvarchar values are set as Null. Why?

CREATE TABLE [dbo].[Import_CustomerSales](
 [CustomerId] [nvarchar](50) NULL,
 [CustomeName] [nvarchar](50) NULL,
 [CustomerSales] [nvarchar](50) NULL
) ON [PRIMARY]


Kenny_I

SSIS Convert DD MON YYYY --> DD/MM/YYYY

$
0
0
Hi guys trying to convert

16JAN2014 --> 16/01/2014.  Any ideas??? i'm trying to avoid the horrendous expression of ? JAN : 1 ? FEB : 2 etc. etc.

SSMS will quite happily do SELECT MONTH('16JAN2014') to get me the number of month however MONTH( "16JAN2014" ) will not work in SSIS.

date from a string and int value in ssis

$
0
0

hi so my table is as follows

active      expirymonth     expiryyear

0              October                         2014

0              February                            2015

1               January                        2012
and so on

now my requirement is that if active =0 then in a new table lets say LASTDATE and they want a date with the last day of the expiry month and year  and if active is anything else write NULL for eg

LASTDATE

10/31/2014

02/28/2015

NULL

I went to derived tables and made a new table called lastdate. What expression do i build in the expression builder to get the required result as i could not find a way to convert the text into int and then into a date




FTP Connection Manager Username Question

$
0
0

Is it possible to pass an email address as a username in the SSIS ftp connection manager? It thinks it's passing windows credentials. Box.net requires an email address as a username.


Package .dtsx file - Property ObjectName

$
0
0
What will happen if i change this ?
<DTS:Property DTS:Name="ObjectName">MyJob</DTS:Property>

Will there be any problems ?

URL command

$
0
0
I'm experienced in SSIS and some simple scripting using the Script Task. But completely new to URL commands. I have the need to download some data via a web service using a URL command. I can type this command into a web browser and it does something. Does SSIS allow me to run a URL command somehow?... thinking Script Task. I'm so new to URL commands that I'm not even sure how to ask the question. All I know is that I have a certain URL command that I can type into a browser and I want to do the same using SSIS. I hope my question makes sense.

SQL query works in SSIS, SSMS/SQL server but fails in deployment?

$
0
0

The SQL query in my execute sql task is correct. It works in SSIS and SSMS also. But, it fails when I deploy my package. The error -

Code:0xC002F210
Source: MySQLTask Execute SQL Task     Description: Executing the query "UPDATE [MyTable] SET MyCol..."
failed with the following error:"Invalid object name 'MyTable'.".
Possible failure reasons: Problems with the query "ResultSet" property notset correctly parameters notset correctly or connection not established 
correctly.

What could be the reason for this error and how do I fix it ?

Thanks.

How to extract 3 SP lists from each of 100 SP sites?

$
0
0

Thank you in advance for your help.  I am familiar with SSRS but only beginning to work with SSIS, so a high level response may be all I need. We have project data in a SQL Server db (MS Project Server 2010 Enterprise Reporting Database) and ancillary data in SharePoint 2010 Enterprise (a primary site for each project, each of those having three lists of interest). We use SSRS and its SP connector to pull data from both sources. It works great in development but the SSRS SP connection fails when everything is deployed to our report servers, so we are exploring using an SSIS package instead to extract the list data from SP and load it into three tables in SQL server. (The SSRS report would then stop using the SP connector and just pull that list data from these three SQL tables instead.)

We installed the SP source and destination sample application from Codeplex and created a package that successfully loads three SQL Server tables with data from one project site. Now we wonder how we can drive that package through all the project site URLs, appending to the three SQL Server tables each time. 

It’s easy with T-SQL to create a table with the URLs and list names, and twe could replace he hard coded URL and list names in the package with variables or configuration parameters to accept those values. But we don’t know how to “drive” or trigger the package for every URL. Can the list exist in SSIS and drive an extraction for each URL and list name? Or does the list reside in another process (like a T-SQL query) that triggers the SSIS package for each URL and list name? 

Thanks again for your help.

How to find out if SQL server Agent has access to a remote server ?

$
0
0
I want to execute a job from Server1. This job will execute a query on a DB of Server2. I don't know if Server1's SQL server agent has access to Server2's DBs. Is there a way to find out ? If yes, then also is there a way to allow Server1 to access Server2 ?

I do not want to use linked servers and such. 

Thanks.

SSIS package does nothing when run from SQL Agent scheduled job

$
0
0
I have created an SSIS package in BIDS 2008 which imports data from 4 different sources (3 SQL Server databases and 1 Sybase database) into a SQL database 2008 R2 for consolidation.

OLE DB provider for Sybase : SQL Anywhere OLE DB  Provider 12.

32-bit ODBC System DSN for each Sybase database is created which works fine when tested and same is referenced in SSIS OLE DB connection managers.

SSIS package is saved on SQL Server via "Save Copy of Package.dtsx As..." with Protection level "Rely on server storage and roles for access control".

When the package is executed from BIDS, data is imported without any errors, but when same package is scheduled to run under SQL Agent, it either fails or does nothing.

If I disable the Sybase control flow from BIDS and redeploy on SQL Server and execute via agent job, it runs fine.

To check the failure when Sybase control flow is there, I have added step to send email notification on package failure with description. Here are the descriptions in from each email:

Message 1: Error code: -1073450996

Error description: One or more component failed validation.

Message 2: Error code: -1073594105

Error description: There were errors during task validation.

Message 3: Error description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Sybase.cmfDb" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.

Message 4: Error code: -1073450985

Error description: component "Data Source" (16) failed validation and returned error code 0xC020801C.

Job history message: Executed as user: DOMAIN\Username. The step failed.

Delay Validation is set to True for all data sources.

I already tried the solution from Experts Exchange, but it did not work: http://www.experts-exchange.com/Microsoft/Development/MS-SQL-Server/Q_27636713.html

Keeping everything same in both BIDS and SQL storage, it works for BIDS and not from agent job. What could be wrong?

Thanks in advance.

Redistributing Microsoft.SqlServer.Management.IntegrationServices.dll.

$
0
0

Hello Everyone,

Can this component be redistributed? If so what is the EULA?

We intend to create integration services catalog, folders, deploy SSIS packages on the fly using the classes implemented in this component. If this component cannot be redistributed then what could be our alternative?

Appreciate your help.

Thanks.


SSDT 2012 and Visual Studio 2012 - The type initializer for 'Microsoft.DataTransformationServices.Design.SharedIcons' threw an exception

$
0
0

Hello!

I am going in circles and have spent hours on this. I have loaded SQL SERVER 2012 w/sp1 on Windows Server 2012. Then I loaded VS 2012. Then I loaded SQL Data Tools 2012.

I get this exception when I try to open an existing or create a new SSIS Project (from SQL Server Data Tools for VS 2012 June 2013). " The type initializer for 'Microsoft.DataTransformationServices.Design.SharedIcons' threw an exception"

I installed the hotfixes as mentioned here:

http://support.microsoft.com/kb/2832017/en-us

That did not change anything.

Please help as I need to get this working.

Thanks!
Mike


Mike Kiser

Import/SSIS Issue

$
0
0

Wearetryingtoinsertrecordsreturnedfromquerytotablebutwheneverwemapthecolumn,wearegettingdifferentcolumnthanwhatweselected.Hereisthescriptfromwhichwewantdatatobeinserted.Thisreturntheserverspacedetailbutwhenweputthatinimportwizarditisreturningthecolumnsofsp_configure.Please

Begin

Set

NoCount on

Exec sp_configure 'show advanced options', 1;

RECONFIGURE ;Exec sp_configure 'Ole Automation Procedures', 1

RECONFIGURE 

;CREATE TABLE ##space( ID int identity(1,1), dletter varchar(3), tspace BIGINT, fspace int, percentfree numeric(5,2) , Date_Time datetime default getdate())

INSERT INTO ##space (

Thanks

Import/SSIS Issue

$
0
0

Wearetryingtoinsertrecordsreturnedfromquerytotablebutwheneverwemapthecolumn,wearegettingdifferentcolumnthanwhatweselected.Hereisthescriptfromwhichwewantdatatobeinserted.Thisreturntheserverspacedetailbutwhenweputthatinimportwizarditisreturningthecolumnsofsp_configure.Please

Begin

Set

NoCount on

Exec sp_configure 'show advanced options', 1;

RECONFIGURE ;Exec sp_configure 'Ole Automation Procedures', 1

RECONFIGURE 

;CREATE TABLE ##space( ID int identity(1,1), dletter varchar(3), tspace BIGINT, fspace int, percentfree numeric(5,2) , Date_Time datetime default getdate())

INSERT INTO ##space (

Thanks

Import/SSIS Issue

$
0
0

Hi All,

We are trying to insert records returned from query to table but whenever
we map the column, we are getting different column than what we selected.
Here is the script from which we want data to be inserted.
This return the server space detail


Thanks

Import/SSIS Issue

$
0
0

Hi All,

We are trying to insert records returned from query to table but whenever
we map the column, we are getting different column than what we selected.
Here is the script from which we want data to be inserted.
This return the serv


Thanks

Viewing all 24688 articles
Browse latest View live


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