Quantcast
Viewing all 24688 articles
Browse latest View live

Installing SSIS, from SQLExpress 2012 to Evaluation license, SSIS not Installing/working

I installed SQL Server Express 2012 several months ago so that I could take some online courses. Now I'm taking a course on SSIS and I can't seem to get it installed.

Steps I've taken so far and observations:

1. I've downloaded and installed the evaluation version of SQL Server 2012. From SSMS, Help/About:

     Microsoft SQL Server Management Studio                        11.0.5343.0
     Microsoft Data Access Components (MDAC)                        6.1.7601.17514
     Microsoft MSXML                        3.0 4.0 6.0
     Microsoft Internet Explorer                        9.11.9600.17914
     Microsoft .NET Framework                        4.0.30319.34209
     Operating System                        6.1.7601

2. From Microsoft Visual Studio, Help/About:

     Microsoft Visual Studio 2010  Version 10.0.40219.1 SP1Rel   Microsoft .NET Framework   Version 4.5.51209  SP1Rel

Installed Version: IDE Standard

Microsoft Visual Basic 2010   01011-532-2002361-70636   Microsoft Visual Basic 2010

Microsoft Visual C# 2010   01011-532-2002361-70636   Microsoft Visual C# 2010

Microsoft Visual Studio Tools for Applications 3.0   01011-532-2002361-70636   Microsoft Visual Studio Tools for Applications 3.0

Microsoft Visual Web Developer 2010   01011-532-2002361-70636   Microsoft Visual Web Developer 2010
...
SQL Server Analysis Services   Microsoft SQL Server Analysis Services Designer   Version 11.0.5058.0

SQL Server Integration Services    Microsoft SQL Server Integration Services Designer   Version 11.0.5058.0

SQL Server Reporting Services   Microsoft SQL Server Reporting Services Designers   Version 11.0.5058.0

Visual Studio 2010 Shell (Integrated) - ENU Service Pack 1 (KB983509)   KB983509   This service pack is for Visual Studio 2010 Shell (Integrated) - ENU.   If you later install a more recent service pack, this service pack will be uninstalled automatically.   For more information, visit http://support.microsoft.com/kb/983509.     

3. When in Visual Studio, I have a Package.dtsx tab with the message: Microsoft Visual Studio is unable to load this document: To design Integration Services packages in SQL Server Data Tools (SSDT) has to be installed by one of these editions of SQL Server 2012: Standard, Enterprise, Developer, or Evaluation. To install SSDT, run SQL Server Setup and select SQL Server Data Tools.

Question: How can I get SSIS up and running on a Evaluation License? I strongly prefer not to buy the license version for one course. tia.



How to load the excel file without changing the excel file (csv format)

Facing problem while loading date in MS SQL Server 2005 from excel file (csv format).

How to load the excel file data without changing the excel file (csv format) .

see the [Start Date] and [ Exp End Date] having values like this :

"   2015/07/31"

Image may be NSFW.
Clik here to view.


How to download files via sftp using SSIS 2014

Hi, We are using SSIS 2014 and need to download files from sftp. Is there a SFTP control flow task for SSIS 2014? If not then what other options do I have?

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


Ione

First Day of the Year

Hi all

I try to build a variable with the first day of the year so I could calculate the YTD.

I play with DATEADD, DATEPART and DATEDIFF functions but I unable to get the date

¿Could someone help me?

Thanks in advanced.

CLSID {5572B772-88AC-4A35-96F8-E28626AC7E8F} SSIS package load issue

Getting the below error when loading package via .net using
Microsoft.SqlServer.Dts.Runtime.Package

Did migrate from SQL server 2008 R2 to SQL Server 2012.

It works on my local but fails on the server.

Former forum threads are of not much help.. 


Image may be NSFW.
Clik here to view.

SSIS FTP task remote path error /

 

Hi Chaps,

I am trying to set up a SSIS package which uses a FTP task to download some files. In the FTP task editor I have the filename setup as an RemotePath expression. If I do not put a / at the start of the file name generated I get the following error:

[FTP Task] Error: Remote path "test.csv" doesn't start with "/".

If I then place a / infront of the name then then I get an error saying the file does not exist

[FTP Task] Error: File represented by "/test.csv" does not exist.

In both cases I have the DelayValidation property set to true.

However if I log on to the ftp server manually using windows or command prompt the file exists and can be downloaded from the default folder you log into.

I would appriciate any light anyone could shed on this problem.

Fraser

Get back (Identity) ID to the other table in SSIS Data flow?

Table 1:

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

Name       Add                  No         RowID

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

aa     #a-1,India                              10

bb     #a-1,India                              11                

aa     #a-1,India                              12

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

 table 1 inserting to Table 2 (Using 1st Data flow)

Table 2:

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

Name       Add                 ID(Note:Here Identity1,1)

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

aa     #a-1,India                 1

bb     #a-1,India                 2

aa     #a-1,India                 3

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

My Requirement is Update  Table 1 set Column::No=Table 2.ID

                                                                        based on Exact Match of

                                                                         Table1.Name=Table2.Name  and

                                                                         Table1.Add=Table2.Add


It means Get back the Id for Source Table 1

 2nd Data flow

             Source(Table1:Name, Add,No)

                          |

   --LOOKUP(Table2:Name, Add::Matched Look Columns Name, Add and Tick Mark on ID)

                         |(Match)

   -->OLEDB Command: update Table1 set N0=? where  RowID=?(Here Param_0= NO ,Param_1=RowID)

Here My Issue is if  Table 1 had Duplicates(same Name, Add, but Row Id is different it is Updating Same ID for Table 1.No It means Get Back ID correctly not updating

Result::

Table 1:

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

Name       Add                  No         RowID

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

aa     #a-1,India                1              10

bb     #a-1,India                2              11                

aa     #a-1,India              1              12

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

My correct Output is         3             instead of Result:Table1 1.NO  1             where RowID =12

It caused by LOOKUP , It picking Top1 ID while Matching Look on fields.

How Should I update the (Identity) Get Back Table 2.ID to Source Table1. NO  in Above logic in SSIS??????

Please help instead of LOOKUP , May I use SCD ???

Thanks


Success package when task fails

I've existing SSIS package which is loading Inbound file and SP to validate the data. If data has error then that task is failing by raising errors and user is being notified to correct the data. Task failing is causing package failing also. If there is a task failed due to data error, I want to stop the package execution and success package. How can I set this in existing SSIS package?

Task in child package not failing

Hi All,

First of all, I have to say I'm pretty new to SSIS in SQL 2014... Not to SSIS but to the 2014 version.

I currently experience a very strange behaviour at one of my clients. I had to migrate an SSIS project from 2008R2 to 2014 and converted it to project deployment model to make use of the "new" functionality. The project contains several packages, however, one is the main package which calls and executes the other packages. This works fine in 2008R2.

Now, in 2014, the tasks in subpackages are not failing in case of an error. Instead, the task keeps running forever, even though it can't succeed. When I start the subpackage directly, everything works fine (fails in case of failure).

To make it a bit clearer:

I have two packages:

ParentPackage

ChildPackage

ParentPackage calls ChildPackage, ChildPackage contains a simple SQL tasks which calls stored procedure SP1.

If I run ChildPackage (from SQL Agent or directly in SSDT), SP1 gets executed, ChildPackage succeeds (good)

If I run ParentPackage, ChildPackage is executed, SP1 is executed, ChildPackage succeeds. (good)

Now, If I change the SQL Tasks to call SP2, which doesnt exist, the following happens:

If I run ChildPackage, SP2 cannot be executed, SQL Task fails, ChildPackage fails (which is what I expect)

If I run ParentPackage, ChildPackage is executed, SQL Task is executed but keeps in running state (as SP2 doesn't exist), ChildPackage als stays in running state.

In the last case, I expect the SQL Task to fail and not to keep running.

Does anyone have an idea what I'm doing wrong? Why isn't the SQL Task failing?

Thanks,

Pascal

CDC - There is no change data for this table - Error

I had an issue while running Incremental data load on a table which has CDC Enabled. I do get the below error while running Delta Load. The packages are called from Master Package.

Microsoft (R) SQL Server Execute Package Utility  Version 11.0.5058.0 for 64-bit  Copyright (C) Microsoft Corporation. All rights reserved.    Started:  3:55:02 AM  Error: 2015-07-17 03:55:05.40     Code: 0x4002F304    Source: CDC Control Task - Start CDC Control Task     Description: "There is no change data for this table.".  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started: 3:55:02 AM  Finished: 3:55:05 AM  Elapsed:  3.015 seconds.  The package execution failed.  The step failed.

Please let me know if you have any solution for this error.


Vedaraj

OLE DB provider : The 'OraOLEDB.Oracle.1' provider is not registered on the local machine.

Hi,

Getting following error while trying to connect to ORACEL database using OLEDB manager.

Please advice.

ERROR Log :

TITLE: Microsoft Visual Studio
------------------------------

Error at RADAR [Connection manager "RADAR_Updated"]: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR.  The requested OLE DB provider OraOLEDB.Oracle.1 is not registered. Error code: 0x00000000.
An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".

Error at DFT LOAD AGGTYPE TABLE [RADAR AGG TYPE [1]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "RADAR_Updated" failed with error code 0xC0209302.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.

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

Exception from HRESULT: 0xC020801C (Microsoft.SqlServer.DTSPipelineWrap)

 


Dev

SSIS Writing No Records to EXCEL

I have an SSIS package that is creating an Excel worksheet and writing data to it.  It works fine when i run it inside Visual Studio.  But when it runs as a scheduled job it writes the header and no data.  I turned on logging and the log even says it is writing the 10,456 rows that it should be.  But they are not showing up in the Excel document.  The job is setup as 32 bit and writing to Excel 97-2003.  The job ends normally and does not generate any type of messages that are out of the ordinary.  This is running on SQL Server 2008r2.  Any ideas?

build version vs code version

Hi, Some people I worked with do a build of the dtsx in BIDS and then take the dtsx from bin\release and use this dtsx to import/schedule in sql server. So there is a code version and runtime version of the dtsx. The code version is maintained in tfs. Some just use one version of the dtsx. They do not do a build to take the bin\release version but rather do a build just to make sure everything compiles and no errors. In this case only one version of dtsx to maintain code and execute. Is there any difference between the built version of the dtsx and the code version  ? Need your input on which dtsx to use and why.. Thanks

SSIS 2010 PROJECT DEPLOYMENT MODEL HOW TO MAP SYSTEM.OBJECT VARIABLE TO A PROJECT PARAMETER

Our DBA's require all SSIS deployment to be Project deployments.  I need to use a SYSTEM.OBJECT variable in my SSIS but do not know how this will convert to a PROJECT PARAMETER.  Any suggestions?

Running both 32 bit and 64 bit of SQL Server Express on 64 bit Windows 7 Professional

Hi,

I am fairly new to SQL and not an IT professional. I'm trying to import data from MS Excel into an existing table in SQL using the Import/Export wizard but running into a bunch of issues. I think my first problem is that my bit versions are all over the place. My Windows 7 Professional is 64 bit, MS Excel 2007 is 32 bit and SQL Server Express is 64 bit.

I have also tried importing the data using the OPENROWSET command but I got an error that said "The OLE DB provider "Microsoft.ACE.OLEDB.12.0" has not been registered." Looking in my Server Object folder in SSMS, I see that MS Ace OLDEDB is not listed as a linked server provider. I tried to rectify the problem by downloading the Access database engine 2007 but that didn't do anything.

I am not sure what my next step should be. Should I download the 32 bit version of SQL Server Express? Can I run it parallel to the 64 bit version? Will it create a whole new set of problems given my Windows is 64 bit and I am now running the 32 bit version of SQL?


TCP Provider: An existing connection was forcibly closed by the remote host.

We have a setup involving 3 servers:

ServerA - Source, SQL Server 2008R2
ServerB - SSIS/ETL, SQL Server 2014
ServerC - Destination, SQL Server 2014
ServerD - Alternative Source, SQL Server 2008R2

We are receiving the below error message while executing a package reading from ServerA to ServerC:

7/17/2015 5:10:47 PM : [-1071636471] 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 11.0" Hresult: 0x80004005 Description: "Protocol error in TDS stream". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Communication link failure". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "TCP Provider: An existing connection was forcibly closed by the remote host. ". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Communication link failure". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "TCP Provider: An existing connection was forcibly closed by the remote host.". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Communication link failure". An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "TCP Provider: The specified network name is no longer available. ". 

We then tried a different source, ServerD, and received the same exact error message. 

We then rebooted ServerC and the issue went away.

Any ideas of what could this be related to?

Can I use SSIS to connect to Oracle via SSL TCPS?

I apologize in advance for this one because my Oracle knowledge is bad. So I may be using the wrong terminology here in regards to Oracle connection types. I've made connections in SSIS to Oracle before by setting up TNS but this latest connection is different.

I've been give an SSL cert that I had to import into the Oracle Wallet Manager and to get connected in 'Oracle SQL Developer' I had to choose connectionType = advanced and drop the following line in the JDBC URL section

jdbc:oracle:oci:@(DESCRIPTION =(ADDRESS = (PROTOCOL = TCPS)(HOST = server.domain.com)(PORT = 2484))(CONNECT_DATA =(SERVICE_NAME = XXXXX)))
So my question is. How can I go about making a connection like this in SSIS?

FYI: Just incase it matters, I'm working with OracleClient 11g

Thanks.


Data cleanup

Hello, experts,

I am trying to wrap my mind around the right data cleanup procedure. I have just implemented my SSIS package, that imports data and populates Slowly Changing Dimensions and Fact tables. Now I am trying to understand how would data analyst clean up data (like removing duplicates and fixing spelling errors that lead to multiple records in Dim tables instead of one).

- Would the analyst query resulting Dim/Fact tables and update the ones that do not look correct? But in this case next iteration of incoming data will overwrite the results of this cleanup.

- Would the analyst need to go into production system and fix the dirty data there? This doesn't look very sustainable as well, from security and data safety perspectives.

Also - is there any specific software that tackles this particular issue?

<object cotype="cs" id="SILOBFWOBJECTID" style="width:0px;height:0px;display:block;" type="cosymantecnisbfw"></object>

While generating CSV dt_dbtimestamp is ignoring millisecond part when it's zero

Hi,

I have one data flow task that reads data from table and generate a csv file. Now I have one timestamp column that holds datetime value. AT destination under derived column I have used dt_dbtimestamp for that field.

When table contains a value for which millisecond is not zero e.g. 2015-07-16 12:25:27.010  then in CSV it generates 2015-07-16 12:25:27.010000000 which is correct as per my requirement. But, when the value in table is 2015-07-16 12:25:27.000 then output in csv becomes 2015-07-16 12:25:27 which is issue for me. I want the output as 2015-07-16 12:25:27.000000000

Please help on this

Thanks,

Biswanath

SSIS 2014 - "Unable to retrieve column information from the flat file connection manager"

Hello Everyone,

I've developed a package that is working well at development machine from VS 2013 for a sample flat file. 

Also, over development machine, I've deployed it to SSISDB catalogue and even from there also it is running well for the same file.

When the same package is deployed to production server's SSISDB catalogue database, it throws following error while processing the same sample flat file,

 “Unable to retrieve column information from the flat file connection manager”

Can anybody please advise how to trouble shoot this problem?

Any help would be much appreciated.

 


Thanks, <b>Ankit Shah</b> <hr> Inkey Solutions, India. <hr> Microsoft Certified Business Management Solutions Professionals <hr> http://ankit.inkeysolutions.com

Viewing all 24688 articles
Browse latest View live