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

DTS for EXCEL 2013

$
0
0

Hi I am looking to do upload excel data to SQL Server. My excel is in 2013. I have office 2013 and dont have other versions 2007 or below. When selecting the below drivers 2007 or below it says the required drivers not present. Can any body suggest the best way to upload in SQL Server 2012


SQL Server 2005 agent job runs a SSIS package ( Analysis Services Processing Task) fails

$
0
0

 Hi,

SQL Server 2005 standard edition.

 I have a SSIS package which has a  Analysis Services Processing Task. I have tested the package in BIDS and it runs ok. But when I created a agent job and run it from the job it reports error:

Code: 0xC0012024     Source: Analysis Services Processing Task      Description: The task "Analysis Services Processing Task" cannot run on this edition of Integration Services. It requires a higher level edition.

This is the result of select @@version

Microsoft SQL Server 2005 - 9.00.4035.00 (Intel X86)   Nov 24 2008 13:01:59   Copyright (c) 1988-2005 Microsoft Corporation  Standard Edition on Windows NT 5.2 (Build 3790: Service Pack 1) 

Any idea?

Excel file load in ssis table

$
0
0

Hello Everybody,

I have excel file with around 300 fields in it. I do want to load it in the database table using any easiest way

I am using Office 2010 and SQL SERVER 2008 R2.

Please suggest me.

Thanks


2008 SSIS Designer stops working after installing VS11 Dev Preview

$
0
0

Immediately after installing the Visual Studio 11 Developer Preview, I was no longer able to open a SSIS package in VS 2008. I uninstalled it and all the .NET 4.5 associated packages, reinstalled both VS 2008 and SQL 2008, but still it refuses to work. 

This is the specific error I get when attempting to open one. 

 

===================================

An error prevented the view from loading. (Microsoft Visual Studio)

===================================

The specified module could not be found. (Exception from HRESULT: 0x8007007E) (System.Windows.Forms)

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

Program Location:

   at System.Windows.Forms.UnsafeNativeMethods.CoCreateInstance(Guid& clsid, Object punkOuter, Int32 context, Guid& iid)

   at System.Windows.Forms.AxHost.CreateWithoutLicense(Guid clsid)

   at System.Windows.Forms.AxHost.CreateWithLicense(String license, Guid clsid)

   at System.Windows.Forms.AxHost.CreateInstanceCore(Guid clsid)

   at System.Windows.Forms.AxHost.CreateInstance()

   at System.Windows.Forms.AxHost.GetOcxCreate()

   at System.Windows.Forms.AxHost.TransitionUpTo(Int32 state)

   at System.Windows.Forms.AxHost.CreateHandle()

   at System.Windows.Forms.Control.CreateControl(Boolean fIgnoreVisible)

   at System.Windows.Forms.Control.CreateControl()

   at Microsoft.DataWarehouse.Design.ComponentDiagram.CreateDdsView(Control parentControl)

   at Microsoft.DataTransformationServices.Design.DtsComponentDiagram.CreateDdsView(Control parentControl)

   at Microsoft.DataWarehouse.Controls.DdsDiagramHostControl.set_ComponentDiagram(ComponentDiagram value)

   at Microsoft.DataTransformationServices.Design.ControlFlowControl.set_ComponentDiagram(ComponentDiagram value)

   at Microsoft.DataTransformationServices.Design.DtsPackageView.CreateControlFlowEditor(VsStyleToolBar pageViewToolBar)

   at Microsoft.DataWarehouse.Design.EditorWindow.EnsureViewIsLoaded(EditorView view)

 

Running a package with a configuration file

$
0
0

Hi folks:

I built an SSIS package that adds and updates a database. In BIDS, I used the connection manager to point lookups and database access to the test database. All working fine. Now I am trying to redirect the SSIS package to run against the production database without having to recode all the lookups and database accesses.  I set up a config file in BIDS after reading posts which BIDS is reading as I execute in debug mode but can not get it to run against the production database no matter what permutation or combination I use. Thoughts?

SSDT/SSIS 2012 project won't deploy to SSISDB on remote machine URGENT

$
0
0

hi all getting the incredibly frustrating error message.  I've tried changing SQL Accounts etc. but to no avail.  What are the requirements to be able to deploy a project??? i have created ssisdb, and have deployed in the past but now it is not working. all ports etc. are open between me and target machine.  

*** UPDATE *** I have even created a new folder THROUGH SSDT and it still won't deploy to it!!! This is really slack that such a critical feature can be plagued by stupid bug/permissions issues!!!

WMI data reader task with C#

$
0
0

Hi Guys,

Basically I am a dba, I am completely new to SSIS...and know basics about c#, I've got a requirement to collect information about sql services on mulitple database servers and other information.

I wrote the code in C# using WMI code generator and it is in a .txt file.

Now I m using WMI data reader task in ssis, to loop through multiple servers to collect the information using foreach. Here I got a problem that i need to input the server name in each ADO enumerator to C# code..

could you please help me how to pass the server name to my code..

Foreach loop, containers and transaction settings and continuing a loop even if a task fails

$
0
0

I have a foreach loop and a container inside that.  Inside the container are a bunch of tasks.  When one of these tasks fail, I want it to fail the parent container, but not the loop or the package.  

The package will be run from a sql agent job.  Right now, the package works, but when a task fails inside the container, the sql agent job stops with failure.  I want it to continue unless one of the tasks OUTSIDE of the loop or container fail.

Am I correct to say that since the foreach loop is the parent of the container, and as long as the foreach loop doesnt fail, the package should continue?


Master package and Child Package

$
0
0

Hi Experts,

While doing the configuration for connection managers in a package I had noticed that if I don't hard code or give some invalid the user id and password for the database, even though it is configured it is throwing error while opening.

Is it the right way of doing?

Also when I run the master package all associated child packages are opening in different windows. Is it normal?

Please advice.

Regards

Mukejee

Importing percentage from Excel to Access

$
0
0
When I import a pecentage from Excel to Access it either showas as 100% or 0% in Access. How do I bring in a percentage such as 92.5%?

FailParentOnFailure, Transactions and SQL Agent job failure

$
0
0

I have a package with a foreach loop container.  The container fails as expected, due to one of the tasks failing.  The next task after the container is a SQL task and this executes fine as well, but the execution stops there.  Why?  See screenshot  below.

The package is using TransactionOption = Supported

The various tasks inside the foreach loop and inner container are set to "Supported" also.

The tasks outside inner container, but inside the foreach loop (the ones Im having trouble with) are marked as "Not Supported".  Why isnt the next task (see arrow) executing?  In the Execution results tab of the package, I see the script task that follows the sql task , its validated but never executed....


Parameterising a connection manager

$
0
0

Hi Experts,

I am having a master package to run my child packages.

Can I know what is the difference between configuring the child connection manager to get value from parent package variable andparameterising the connection string and map the parent variable to child parameter in master package?

Is there any difference between these two?

When I do parent variable configuration, every time i open the child package it will throw error ie design time validation errors. I want to avoid this poping up of errors.

Any help please

Regards

mukejee

Webservice as Data source in SSIS

$
0
0

Hi 

I have a Scenario where Tibco webservice [ Which contains details of Contacts/Quotes etc., ] has to be consumed using

SSIS 

kindly help me how to consume a webservice using SSIS and how the output of webservice can be stored ??

Finally i need to Migrate this pulled out data into MS Dynamics CRM 2013 Online version .

Any help is greatly appreciated on how to Migrate the Pulled out Data into Online CRM Using SSIS 

Looping and maxerror count

$
0
0

What if I want to have some dataflow tasks within a foreach loop.  One of the DF tasks might fail and roll back the transaction its part of.  I want the loop to continue to the next iteration, regardless if there is an error on one of the tasks, yet I want that DF task to cause the transaction its part of to be rolled back, hence I set its FailParentOnFailure property = true.  So I wrap the DF tasks within a container and put the container within the foreach loop.

The problem Im having is lets say there are 4 or 5 iterations for the loop and maxerrorcount on the package = 1 (default), will this cause the processing to stop after 1 error on the container?  Should look at setting maxerrorcount on the container to some really large number such as 9999?  What about the package setting for maxerrorcount?

Package succeeds but fails from Agent job due to task failure DTSER_FAILURE (1)

$
0
0

Have an SSIS package called from an Agent job step.  The package executes file by itself, and there is a task that gets failed based on a variable value.  However, it does not fail the package, or at least it doesnt when run by itself.

However, when I run the package from a job step, the job seems to run successfully, but returns an error and shows failure.  The package shouldnt be failing, even though one of the tasks fails

From Agent job history:

xecuted as user: .... Microsoft (R) SQL Server Execute Package Utility  Version 9.00.5000.00 for 64-bit  Copyright (C) Microsoft Corp 1984-2005. All rights reserved.    Started:  9:28:29 AM  Error: 2013-12-18 09:29:59.62    Code: 0x00000004     Source: Review and log missing items      Description: The Script returned a failure result.  End Error  Error: 2013-12-18 09:30:02.96     Code: 0x00000004     Source: Review and log missing items      Description: The Script returned a failure result.  End Error  Error: 2013-12-18 09:30:21.30     Code: 0x00000004     Source: Review and log missing items      Description: The Script returned a failure result.  End Error  DTExec: The package execution returnedDTSER_FAILURE (1).  Started:  9:28:29 AM  Finished: 9:30:22 AM  Elapsed:  112.484 seconds.  The package execution failed.  The step failed.


How to store 999999999.00000000 in sql server through ssis package?

$
0
0

I have a field with 999999999.00000000 value of datatype double ?

How to store it in ms sql server 2005 db through ssis package ?

give me details if I have to use derived columns and what to write over there.

please write in details as I am new to SSIS.

Thanks in Advance.

Compare two tables on different server without using Linked Servers

$
0
0

I have an SSIS package that needs to compare a table to another table on another server.  Then only delete data from the first table if it exists in the second table.  

I know this is possible with Linked Servers but we are doing away with them in my company.  Is there a way inside of SSIS to do this?

Oh and I can't use a Data Flow since I don't know the table names or columns at run time (the whole package is dynamic) so I can't map the columns ahead of time.  

So no MERGE JOIN unless it can be used outside of a Data Flow.  

BIDS crashes sometimes with I open project

$
0
0

I am creating a SSIS package in BIDS 2008 on my Windows 7 Enterprise x32 work station (VM).  Recently BIDS has started giving me an error that says when I try to open my project ...

Microsoft Visual Studio 2008 has stopped working
 
A problem caused the program to stop working correctly. Windows will close the program and notify you if a solution is available.

This happens whenit is validating the Data Flow Task.  When I look at the Windows event viewer I see this ...

Faulting application name: devenv.exe, version: 9.0.30729.1, time stamp: 0x488f2b50
Faulting module name: ntdll.dll, version: 6.1.7601.18205, time stamp: 0x51db96c5
Exception code: 0xc0000374
Fault offset: 0x000c385b
Faulting process id: 0x1ce8
Faulting application start time: 0x01cefc0c7969c7f4
Faulting application path: C:\Program Files\Microsoft Visual Studio 9.0\Common7\IDE\devenv.exe
Faulting module path: C:\Windows\SYSTEM32\ntdll.dll
Report Id: ba68c9bc-67ff-11e3-85f0-aad0fc4521f1

If I reboot my work station, it will start working again.  Sometimes I only have to reboot once, sometimes 2 or 3 or 4 times.

This is driving me nuts!!!  The build number on my BIDS is...

Microsoft Visual Studio 2008
Version 9.0.30729.4462 QFE

Any clues from anyone?  I am afraid that it will just stop working and then I will be screwed!

Thank you!

Jim



Packages run faster on BIDS and slower on Agent Job

$
0
0

Hi,
When running my packages through in BIDS, take shorter. And when I run it through Agent on the SQL Server where data actually resides, it take around 70% longer time. If I disable the task script (simple script), it run faster.

Anybody knows why this happen ? Do I need to tune up something ?


Any input in this will sincerely be appreciated.


Thiago Faria

Registering assembly "Microsoft.SQLServer.ManagedDTS.dll" on a Sql Server.

$
0
0

Hello Experts,

I have been trying to register assembly "Microsoft.SQLServer.ManagedDTS.dll" on a 64bit SQL 2008 R2 Server. Since the sql server does not load referenced components on it's own I had to copy the following to the same location to get the registration working.

SQL Server client assemblies
  - microsoft.sqlserver.manageddts, version=10.0.0.0
  - microsoft.sqlserver.dtsruntimewrap, version=10.0.0.0
  - microsoft.sqlserver.msxml6_interop, version=6.0.0.0
  - microsoft.sqlserver.pipelinehost, version=10.0.0.0
  - microsoft.sqlserver.dtspipelinewrap, version=10.0.0.0
  - microsoft.sqlserver.dtsmsg, version=10.0.0.0

Microsoft .NET Framework assemblies
  - system.windows.forms, version=2.0.0.0
  - system.drawing, version=2.0.0.0
  - accessibility, version=2.0.0.0
  - system.runtime.serialization.formatters.soap, version=2.0.0.0

My questions are

  1. Is there a better way of doing it?
  2. What is the redistribution policy for SQL client components?

Thanks for your help. Appreciate your time.

Viewing all 24688 articles
Browse latest View live