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

SSIS: Change Code page 1252 ANSI to UTF-8 65001

$
0
0

Hi All;

I have created SSIS Package to import data from OLE DB to a flat file. The code page in the flat file connection manager was set to default1252 ANSI - Latin I. Now I have been asked to output the flat file inUTF-8 format. I have changed the code page to 65001 UTF-8 but the package will not run. I got the following message:

the code page on input column COLUMN_NAME (184)is 1252 and is required
to be 65001

I have searched around and i have read that i need to change the column data type fromVARCHAR to NVARCHAR!! Is this the solution?

 

Is there is any other option? Thanks.



ssis - google analytics

$
0
0

Hello,
How is it to use the google analytics with ssis so that I can save client's activities in our website into sql server database?
Where do I start from?
What are the main tasks required to use in ssis?
etc.?

Thank you

Uploading files to sFTP in SSIS pakcage or command line

$
0
0

Hello, i really need to upload files to an sFTP site, when i try with a WinSCP client then with the first file it gives me this error:



Our SFTP component for SSIS (from codeplex) gives me this error:

"Tamir.SharpSsh.jsch.SftpException"

I tried to use WinSCP command line tool with the following sytnax

winscp.com /command "open

sftp://%user%:%PASSWORD%@%SERVER%/" "put  %FULLPATHYCT%" "option batch continue" "option confirm off" "exit"

but i'm getting the same Permission error as above.

How to solve my problem, i.e. upload files automatically - something I can call from my SSIS package (not with a graphical client) to that sFTP server? 

Error while playing back the scrips in VS2015 which were recorded in VS2013

$
0
0

Hello,

I have some test scripts which were recorded using MTM 2013 and then imported to VS 2013. Using VS 2013 the playback worked fine. However, now as we have migrated to VS 2015 I want to run the recorded scripts in VS 2015. Every time I select a recorded script to play back it throws the following error and does not run.

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

Unsupported
This version of Visual Studio is unable to open the following projects. The project types may not be installed or this version of Visual Studio may not support them. 
For more information on enabling these project types or otherwise migrating your assets, please see the details in the "Migration Report" displayed after clicking OK.
- CodedUITest-Baxter-675, "D:\CodedUITests\1_Reg Test Unique PID Recording\CodedUITest-Baxter-675 - Copy\CodedUITest-Baxter-675\CodedUITest-Baxter-675.vbproj".

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


There is no migration report generated as well. Please let me know how can I run the recorded scripts in VS 2015. I don't want to re-record them again in MTM 2015.

Thanks in advance.

Connecting to Oracle database from SSIS 2010 previews and imports no rows

$
0
0

Hi all,

I have recently upgrade SSIS from 2005 to 2010 and migrated the solution to a new environment. I import data from Oracle tables to SQL 2012. All of the package work apart from one. This does not fail but no data can be previewed and no data is imported. I do now know why this one package is not working. I have recreated the connection but the same issue occurs. The same connection type, Microsoft OLE DB Provider for Oracle is being used for all packages. I have both the oracle 12c 32 and 64 bit clients installed. This is baffling and frustrating as this issue is holding me up. I would appreciate any suggestions. 

Thanks in advance,

Nathan

Can someone tell me how passwords and usernames are treated in catalog.execution_parameter_values ?

$
0
0

Fellow SSIS techies and enthusiasts, two things on reading through the catalog.executions datasets from ssisdb:

1. When looking @the parameters for the execution you're interested in, does it bring back the actual parameters used, or the defaults set in the package?

2. If so, what does it do with passwords and usernames?

Update 3 million row in Oracle

$
0
0
I need to update 3 million  rows in Oracle. Can you please advise best approach in updating . Performance does not have to be perfect but SSIS must update rows .  I am not oracle pro so any additional information in implementing a process would be appreciated. i heard you need to cover the update in transaction control but i am not sure about it.

Calling Package from EXCEL VBA, can't find Microsoft.SqlServer.Dts.Runtime

$
0
0

So I am writing a macro to execute a SSIS package deployed to the SSISDB catalog on SQL Server. I found some VB.Net code. It starts with... Imports Microsoft.SqlServer.Dts.Runtime.

Since this is VBA I add a reference to this ddl in the reference dialog, but I don't see that dll in the list.

How can I add?  Is it called something else?  I have SSDT running on my machine, can I browse to that dll?  I did search on my C: drive but got nothing back?

Please help, I want to execute SSIS package from Excel VBA.

Any help appreciated



Using Variables in derived column or Derived column off lookup table

$
0
0

Hi Everyone,

Old Requirement: I was getting data from two flat files (INACTIVE and ACTIVE) and i'm loading the data from these flat files into a table. The table needs to have a new field which identifies if the record is AVTIVE or INACTIVE. I used derived column and variable. Two packages for two loads (Active and InActive) and each package has a variable (RecordID). Values are 1 for Active load and 2 for InActive load. All is good and everything is fine.

New Requirement: Now am getting both active and inactive in the same file , so now the questions i have?

Can i use the same variable and assign it two values (1,2), i tried and now its assigning 1 to all the records.

Possibility: Is there a way using  derived column i can specify something that looks up to another table which has a field (RecordType with values A and I) and translate those values to 1 and 2 and populate the new field RecordID? 

Please need advice.

Thanks

filter(ignore) the incoming same column values using ssis

$
0
0

hello all,

I'm Bravo!

i do have one quick question, i have a table with nearly 80 columns. I'm getting the values from source based on datetime.

My question is how do i ignore same column values for diff time stamps for particular studentno.

example:

id studentno  name  age  marks course .... versiondatetime 

1    1056         bravo  26    95       maths         2016-01-08 15:06:51.910

2     1056       bravo  26    95        maths        2016-01-08 15:07:15.350       

in the above example id 1 is 1st load and id 2 is second load, all the values are same except datetime. so there is no point capturing the same values history so i have to ignore the values during 2nd load.

How to do that? thanks in advance.

cheers 

What is the disadvantage of not having CR LF as the row delimiter and LF as the row delimiter for reading CSV file?

$
0
0

What is the disadvantage of not having CR LF as the row delimiter and LF as the row delimiter for reading CSV file?

I had CR LF and file was sent to me in LF .

The flat file source in the package failed to read the file and threw an error indicating the end of the column in csv .

[Flat File Source [1]] Error: The column data for column "column" overflowed the disk I/O buffer.




SSIS Google Analytics Source Error

$
0
0

I am using SSIS Google Analytics Source to get the data from Google Analytics to Sqlserver. I am getting the below error after entering the Access Token information. Please help me with this one.

The service analytics has thrown an exception: Google.GoogleApiException: Google.Apis.Requests.RequestError Quota Error: User Rate Limit Exceeded. [403] Errors [ Message[Quota Error: User Rate Limit Exceeded.] Location[ - ] Reason[userRateLimitExceeded] Domain[global] ]


yes

Google Analytics to Excel or Sql Server using c#

$
0
0

Can anyone please help me to export the data from Google Analytics to Excel file or Sql Server using c# or .net

It would be great if someone can provide with any examples.

Thanks,


yes

SAP BW integration with SQL Server 2014 , SAPBI Connector 1.1

$
0
0

Hi , im trying to integrate SAP BW with SSIS 2014 in visual studio 2012 .

I have installed the Microsoft Connector 1.1

BUT when im running VS 2012 , there's no BW Source as a dataflow source in my toolbox !

i have also checked everything that involves SAPBW in toolbox adds but still nothing.

As i've seen from others sometimes they say you should create a new connection from the New Connection manager and target SAPBW , but in my list there's no SAPBW

Most of the times i see it after OLEDB option...

Any ideas? thanks!

Skipping header in Excel

$
0
0

In reference to the post here Skipping Rows in Excel, I'm using the query 

SELECT        F5, F6, F7, F8
FROM            [Sheet1$]
WHERE        (F5 IS NOT NULL) AND (F5 <> 'PrimeDeal#')

PrimeDeal# is the headerFieldName, but this not helping me. i still see the header names in the list. What am i doing wrong here?


Want to send the Source to two different destinations but with the different result in SSIS

$
0
0

Hi All,

I am having a select query which is getting 8 rows, I need to send these 8 rows to one Destination table and only 4 rows to another Destination table. How can I do that in SSIS. I am using multi cast but that is getting 8 rows in both the destination tables. But I want only 4 rows to be sent to another destination table.

Can anyone help me in this?


Aparanjit

Sql Query to make pair from one table

$
0
0

i have senario

rtyperestypecommnkey

a 1a

ba 1a

c d 2b

dc 2b

ab 3c

b 3c

 UACB6

CBUA6
NECD6
UCCD6
CDNE6
UCNE6
CDUC6
NEUC6

i need to remove duplicate key like

a  b

b  a

should be one pair

  NE CD

 CD   NE 

should  one pair same for all 

SSIS expression works on all old build machines, but not on our new build machines

$
0
0

Hi,

Any idea why this expression would work on all of our old build machines, but not on our new build ones?

In a derived column transformation:

(DT_TEXT,1252)(SCD_SRC_AssuredName + "¬¬" + SCD_SRC_RowHashbytes + "¬¬" + (DT_WSTR,18)"SourceSystemID" + "¬¬" + (DT_WSTR,20)"SrcAssuredNumber")

Both of the SCD columns are also Unicode.

The error message is as follows:

Error: 0xC0047070 at DFT BordereauAssured 1:

Error: 0xC0049062 at DFT BordereauAssured 1, DERC SCD3 [111]: An error occurred while attempting to perform data conversion. The source type could not be converted to the destination type.

Error: 0xC0209029 at DFT BordereauAssured 1, DERC SCD3 [111]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR.  The "DERC SCD3" failed because error code 0xC0049062 occurred, and the error row disposition on "DERC SCD3.Outputs[Derived Column Output].Columns[AggregatedColumn]" 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: 0xC0047022 at DFT BordereauAssured 1, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED.  The ProcessInput method on component "DERC SCD3" (111) failed with error code 0xC0209029 while processing input "Derived Column Input" (112). 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.

Futher more, the below results in the same error:

(DT_TEXT,1252)(DT_NTEXT)(SCD_SRC_AssuredName + "¬¬" + SCD_SRC_RowHashbytes + "¬¬" + (DT_WSTR,18)"SourceSystemID" + "¬¬" + (DT_WSTR,20)"SrcAssuredNumber")

Thanks for your help in advance.

Protocol Error in TDS Stream

$
0
0

Hi All,

While running SSIS package in SQL server which was running for a long time is throwing the below error message.

SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005 

Description: "Protocol error in TDS stream".  


Can anybody advise on how to fix this.

Thanks

SSIS 2008: OLEDB source blocking OLEDB destination

$
0
0

Hi,

In my DFT an OLEDB source query blocks the OLEDB destination causing the DFT to hang. The destination runs a BULK insert query and waits for an (19061ms)LCK_M_X lock showing the OLEDB source query as blocking it.

Please suggest.

Thanks

Viewing all 24688 articles
Browse latest View live


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