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

online index rebuild with SQL 2012 Enterprise edition

$
0
0

I am trying to rebuild index online for a non-clustered index on a sql 2012 enterprise edition database. This is not working. I do not get error message. Index gets rebuilt but I see ONLINE=OFF in the script definition after rebuilding. I have tried couple of different ways

-alter index with ONLINE=ON

-From GUI properties for index, tried setting -Allow Online DML operations to True. Tried generating the script but doesn't generate one.

These both do the same. Index gets rebuilt but it doesn't set ONLINE status to ON in the description.

Has anybody else seen this?


The datatype of the columns which are used in rebuild index is not any of varchar(max),LOB,text,image etc.

Package Configuration Files Not loading SSIS 2012

$
0
0

I've migrated an SSIS 2008 project to SSIS 2012 that uses xml configuration files. When I execute the first package through the IDE, the values in the config file are not populating variables as they did in SSIS 2008. I've enabled Package Configurations and added the config files and not sure what I could be doing wrong. Could anyone offer any suggestions.

Thanks

Fail to start project

$
0
0

Hi, everyone

When I click start to run the project, there is a error message: 

Failed to start project

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

Method not found: 'Boolean Microsoft.SqlServer.Dts.Design.VisualStudio2012Utils.IsVisualStudio2012ProInstalled()'. (Microsoft.DataTransformationServices.VsIntegration)

I installed vs2012 iso and integrated, my version is 11.0.5058.0.

Any help appreciate.

Is there any way to add SQL Server 2008 R2 "SQL Authentication" logins to SQL Server Integration Services

$
0
0

Hi Experts, 

We have a way to add the Windows Authentication-logins /OS users  in SSIS

  1. Component Services -> Computers -> My Computer -> DCOM Config -> MSDTSServer
  2. Right click on MSDTSServer
  3. Click properties
  4. Click on the Security tab
  5. Select Customize and add the users/groups to the Launch/Activation and Access tabs accordingly
  6. Add the user to the local Distributed COM Users group
  7. Restart the SSIS service

    +++But do we have a way to add SQL Server Authetication logins to SSIS, Please clarify me 

    -

    Prem Gokull



ODBC with Unicode

$
0
0

G'day All, one of our sources can only be accessed by a vendor provided ODBC driver with the data itself set as Unicode, however, on extract, via SSIS, special characters are not being correctly translated e.g. instead of "è" we are getting "è". Anyone experienced similar and found a solution? I've tried setting BindCharColumnAs Unicode and ExposeCharColumnAsUnicode with no luck, there don't seem many other options available.

Interestingly, doing an export via the vendor provided export tool does extract these special characters correctly so it's clearly possibly just a question of what the difference between the two processes is.

Any ideas gratefully received

Thanks in advance

SSIS OLEDB Command Transformation Output columns not available

$
0
0

Below is my problem statement:

I have data in a table in DW(MS SQL 2008) which has a column say domainName which has values like www.yahoo.com. Now I need to use this table and for each row in this table I need to call a SP in Oracle(which is in an different server) which takes the domainName as an input and returns the IPAddress. My destination table just have 2 columns, domainName and IPAddress.

For me to achieve this, I am trying to use OLEDB Command Transformation. Below is how the pipeline looks like:

OLEDB Source Transformation --> OLEDB Command Transformation --> OLEDB Destination Transformation

The problem I am facing are 2:

a) I think I cannot pass the arguments to SP correctly. The SQL I am using in OLEDB command is as below:

SELECT
? domain_name,
schema.ora_packge.get_ip_address(?) ip_address
from dual

b) I cannot get output columns from OLEDb Command transformation.

NOTE:

a) I am using SSIS 2008.

b) I cannot change the SP as it's managed by a different team.

c) I tried using a For each Loop at control flow level. Even though that's working. But I don't think it's and efficient way of doing it.

d) I also came to know that an anonymous block in Oracle cannot return anything.

Please pardon me, if this has been answered already. I did search quite a lot.

Thanks

Deb


VS2013 - Active Package setting doesn't work

$
0
0

Hi

Really annoying behaviour in Visual Studio 2013:

In an SSIS project, I have StartAction set to ExecutePackage, StartObjectID set to <Active Package> (in the Project Properties, Debuggin).  But when I start debugging, VS starts running a completely different package in the project!  This is incredibly bad behaviour, as it could end up seriously messing up my test data (let's not even think about what would happen if I was connected to live).

I've now become paranoid, and make sure the package I want to run is selected,both in the Solution Explorer, and in the Package design window.  Still, every so often VS starts running another package.

Anyone else come across this, or even found a solution?


how to create SSIS package

$
0
0

Hi ,

I have a DTS package in sqlserver 2000 and i want to create the same in 2008 using SSIS.

Need the componets that should be used in SSIS to create a package.

Thanks,

Ajay


SSIS package to check if source table have rows

$
0
0

Hi,

I want to create an ssis package that moves data from source table to destination table. What I am doing right now is truncating the destination table and then populating destination table based on source table.

I want to chnage this process to check if the source table have any rows in that. if the source table have 0 rows I do not want to truncate the destination table and stop the process right away.

Can someone please let me know how to achive that.

SSIS package fails when it is executed by procedure (2008)

$
0
0

Hi there,

I have a very anoying problem with SSIS. I've done new packages into same project, almost identical compared to old ones. They work well in visual studio, but I can't execute them using procedure. Old packages works just fine, but none of the new. Error message is in the end of my story.

Visual Studio version is 9.0.30729.1 and SQL Server version is 10.0.4000.0. Is it possible, that these not not updated versions could cause this problem?

Package ProtectionLevel is DonSaveSensitive.

Br,

Ville

Error messages, when package is executed by procedure:

Microsoft (R) SQL Server Execute Package Utility

Version 10.50.1600.1 for 64-bit

Copyright (C) Microsoft Corporation 2010. All rights reserved.

NULL

Started:  10:36:48 AM

Error: 2015-03-31 10:36:48.48

   Code: 0xC0016016

   Source:  

   Description: Failed to decrypt protected XML node
"DTS:Password" 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

Progress: 2015-03-31 10:36:48.65

   Source: Data Flow Task 1

   Validating: 0% complete

End Progress

Progress: 2015-03-31 10:36:48.81

   Source: Data Flow Task 1

   Validating: 50% complete

End Progress

Progress: 2015-03-31 10:36:48.81

   Source: Data Flow Task 1

   Validating: 100% complete

End Progress

Progress: 2015-03-31 10:36:48.82

   Source: Data Flow Task 1

   Validating: 0% complete

End Progress

Progress: 2015-03-31 10:36:48.88

   Source: Data Flow Task 1

   Validating: 50% complete

End Progress

Progress: 2015-03-31 10:36:48.89

   Source: Data Flow Task 1

   Validating: 100% complete

End Progress

Progress: 2015-03-31 10:36:48.89

   Source: Data Flow Task 1

   Prepare for Execute: 0% complete

End Progress

Progress: 2015-03-31 10:36:48.89

   Source: Data Flow Task 1

   Prepare for Execute: 50% complete

End Progress

Progress: 2015-03-31 10:36:48.89

   Source: Data Flow Task 1

   Prepare for Execute: 100% complete

End Progress

Progress: 2015-03-31 10:36:48.95

   Source: Data Flow Task 1

   Pre-Execute: 0% complete

End Progress

Progress: 2015-03-31 10:36:49.03

   Source: Data Flow Task 1

   Pre-Execute: 50% complete

End Progress

Warning: 2015-03-31 10:36:49.03

   Code: 0x80070003

   Source: Data Flow Task 1 Destination - tb_month_standard_idx_table_exp_032013-082013_20140307_csv
[34]

   Description: The system cannot find the path specified.

End Warning

Progress: 2015-03-31 10:36:49.28

   Source: Error Msg

   Executing query "insert into
focusbase.dbo.tb_ctrl_package_error_ms...".: 100% complete

End Progress

Error: 2015-03-31 10:36:49.28

   Code: 0xC020200E

   Source: Data Flow Task 1 Destination -
tb_month_standard_idx_table_exp_032013-082013_20140307_csv [34]

   Description: Cannot open the datafile
"D:\Procogs_export_validation\StandardSetup\tb_month_standard_idx_table_exp_032013-082013_20140307.csv".

End Error

Progress: 2015-03-31 10:36:49.29

   Source: Error Msg

   Executing query "insert into
focusbase.dbo.tb_ctrl_package_error_ms...".: 100% complete

End Progress

Error: 2015-03-31 10:36:49.29

   Code: 0xC004701A

   Source: Data Flow Task 1 SSIS.Pipeline

   Description: component "Destination -
tb_month_standard_idx_table_exp_032013-082013_20140307_csv" (34) failed
the pre-execute phase and returned error code 0xC020200E.

End Error

Progress: 2015-03-31 10:36:49.29

   Source: Data Flow Task 1

   Pre-Execute: 100% complete

End Progress

Progress: 2015-03-31 10:36:49.29

   Source: Data Flow Task 1

   Post Execute: 0% complete

End Progress

Progress: 2015-03-31 10:36:49.29

   Source: Data Flow Task 1

   Post Execute: 50% complete

End Progress

Progress: 2015-03-31 10:36:49.29

   Source: Data Flow Task 1

   Cleanup: 0% complete

End Progress

Progress: 2015-03-31 10:36:49.29

   Source: Data Flow Task 1

   Cleanup: 50% complete

End Progress

Progress: 2015-03-31 10:36:49.29

   Source: Data Flow Task 1

   Cleanup: 100% complete

End Progress

DTExec: The package execution returned DTSER_FAILURE (1).

Started:  10:36:48 AM

Finished: 10:36:49 AM

Elapsed:  0.905 seconds

NULL<o:p></o:p>

<o:p> </o:p>

<o:p> </o:p>


bcp doesnt throw an error when the data length exceeds size of the column

$
0
0

Hi,

We are using bcp in SQL 2008 R2 to import the data from flat file. When the data length exceeds the size of the column, it doesn't throw any error instead it has ignored the row.

Please suggest me how to truncate and load the data into table.

Thanks,

Pasha

Schedule SSIS packages as job in SQL Server Agent errors

$
0
0

Hi, I am using SQL Server 2008 R2 and created few SSIS packages and schedule them using SQL Server Agent and every time I try to schedule packages via SQL Server Agent my jobs keep failing. I am using domain/ione as the owner and when I invoke the job on ServerA let's say and the job gets executed by domain/ServerA$ and fails as it does not have enough privileges. How do I fix this issue firstly without the proxy and why is the job being executed by domain/ServerA$ when the owner & user who invokes it is domain/ione?

Thanks in advance............


Ione

Identify getdate() in Conditional Split

$
0
0

Hi Friends

I have source Oledb or Destination Oledb or any other source. When I use Conditional split with get() in expression then which Date is in the Output . Is it Source DB getdate() value Destination getdate() value or System getdate() value .


Abhishek Parihar BI Consultant (Please mark the post as answered if it answers your question)

LINQ TO SQL from within a script task

$
0
0

I'm trying to migrate an existing Visual Studio C# project to run in a script task in SSIS so that it can be a part of the SSIS package.

The current C# project uses "Linq to Sql Classes" to generate a dbml file and the necessary classes. For some reason when I edit the script task and it opens up Visual Studio and I right click and select "add -> new item" from the project and look for the "Linq to Sql Classes" item to add the dbml file to my project, it's not there?

Confusing because if I do the exact same thing in Visual Studio 2013 I'm able to add the "Linq to Sql Classes".   Does anyone have any ideas? I realize I could use Entity Framework but that would take a considerable amount of time to re-write everything. Also I've thought about just executing the console application's compiled executable from within SSIS but our database team will not allow packages to run executables.

Also I'm targeting the .net framework 4.0 for both the Visual Studio 2013 console applications and from within the Visual Studio 2013 editor in the SSIS Package Script Task.

SSDT 2014 Deploying to SQL 14 is getting slow

$
0
0

When I first started deploying package from within VS, my deploys went in a few seconds. Now after a few months deployment takes over a minute or so, for one package.

Are there some controls, or properties set in packages that cause a longer validation or something?


XML Extract to database

$
0
0

hi I have an XML file with a schema that has over 200 elements.

the only way I know I can do this in SSIS is by creating 200 ADO destination and dragging over each element to the destination. is there any easier way in SSIS ?


eddy.a

Random errors executing SSIS in SQL 2008 R2

$
0
0

hello All,

I have a issue occuring in one of my SQL boxes in which randomly we will get errors  while running the SSIS jobs.Mostly,the jobs would run fine but sometime it happens in couple of weeks or once a month.the job would fail with below error .

Our infra:

OS:windows 2008 r2 SP1

SQL:windows 2008 R2 SP2 Ent

Could not find any specific issues in eventlogs or server.The network connections are all good..Could someone please point me to correct direction where i can have this issue rectified.

Error Message:::---->

Message
Executed as user: NAM\sysglobalsqa1. Microsoft (R) SQL Server Execute Package Utility  Version 10.50.4000.0 for 64-bit  Copyright (C) Microsoft Corporation 2010. All rights reserved.    Started:  13:32:00 PM  Error: 2014-08-12 13:33:03.66     Code: 0xC0011007     Source: {C9CA54E6-6247-484D-B25C-95B946931E51}      Description: Unable to load the package as XML because of package does not have a valid XML format. A specific XML parser error will be posted.  End Error  Error: 2014-08-12 13:33:03.66     Code: 0xC0011002     Source: {C9CA54E6-6247-484D-B25C-95B946931E51}      Description: Failed to open package file "\\NAMSQLML02\SSIStore\BIN\ADataImport.dtsx" due to error 0x80070040 "The specified network name is no longer available.".  This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.  End Error  Could not load package "\\NAMSQLML02\SSIStore\BIN\ADataImport.dtsx" because of error 0xC0011002.  Description: Failed to open package file "\\NAMSQLML02\SSIStore\BIN\ADataImport.dtsx" due to error 0x80070040 "The specified network name is no longer available.".  This happens when loading a package and the file cannot be opened or loaded correctly into the XML document. This can be the result of either providing an incorrect file name was specified when calling LoadPackage or the XML file was specified and has an incorrect format.  Source: {C9CA54E6-6247-484D-B25C-95B946931E51}  Started:  13:32:00 PM  Finished: 13:33:03 PM  Elapsed:  63.43 seconds.  The package could not be found.  The step failed.


ManeeshB

excel destination

$
0
0

hi

in my package i am using excel destination.

i am fetching data from table and loading into excel sheet.

now (1) i need column name different than what it is coming from table in excel sheet, also i want it to bold 

and some color on title.is it possible?

(2) after every row i need sum  in the last row automatically , how to do it

(3) there is $ coming in excel sheet which i dont want, my data type in table is money.

how to remove it

Single Instance of SSIS Package

$
0
0

Hi,

I am new to SSIS want to create a SSIS package that has to be configured in such a way that only a single instance of it should run at a time.

Any help will be really appreciated.

Thanks,

Harsh

Update data automatically in fact table in Data Warehouse

$
0
0

Hi,

I'm working on the creation of a data warehouse that include different data source like SQL Server performance (more than one), Active Directory users, Server performance (more than one), Exchange server mailboxes. The problem is that performance data change frequently (like CPU and Memory), so my question is how to update data in fact table every 5 seconds automatically with SSIS.

Thank you for any advice 



Viewing all 24688 articles
Browse latest View live




Latest Images