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

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)

 


Script task error in Sql server agent

$
0
0

Hi

My Package executed perfectly in Bids enviornment, when i try to scheadule the package  i got the error at script task

Microsoft (R) SQL Server Execute Package Utility Version 10.0.1600.22 for 32-bit

Copyright (C) Microsoft Corp 1984-2005. All rights reserved. Started: 13:02:17

Error: 2012-12-19 14:06:19.97 Code: 0x00000001

Source: Merge Files Description: System.Reflection.TargetInvocationException:

Exception has been thrown by the target of an invocation. --->

System.NullReferenceException: Object reference not set to an instance of an object.

at ScriptTask_5c1aa4b8953f4e17b72095548353ef1c.vbproj.ScriptMain.Main()

--- End of inner exception stack trace --- at System.RuntimeMethodHandle.

_InvokeMethodFast(Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes,

RuntimeTypeHandle typeOwner) at System.RuntimeMethodHandle.InvokeMethodFast(Object target, Object[] arguments,

Signature sig, MethodAttributes methodAttributes, RuntimeTypeHandle typeOwner) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder,

Object[] parameters, CultureInfo culture, Boolean skipVisibilityChecks) at System.Reflection.RuntimeMethodInfo.Invoke(Object obj, BindingFlags invokeAttr, Binder binder, Object[] parameters,

CultureInfo culture)

at System.RuntimeType.InvokeMember(String name, BindingFlags bindingFlags, Binder binder,

Object target, Object[] providedArgs, ParameterModifier[] modifiers, CultureInfo culture, String[] namedParams)

at System.Type.InvokeMember(String name, BindingFlags invokeAttr, Binder binder, Object target, Object[] args, CultureInfo culture)

at Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript() End Error DTExec: The package execution returned DTSER_FAILURE (1). Started: 13:02:17 Finished: 14:06:20 Elapsed: 3842.33 seconds. The package execution failed. The step failed.


can u help on this



Login timeout expired" in ssis pack

$
0
0

Hi,

i am geting  below error when i am exce ssis package... please help me

SABMLR_MDM_Dimensions_Load Connection manager "MDM"     Description: 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: "Login timeout expired".  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "Unable to complete login process due to delay in login response".  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "TCP Provider: Timeout error [258]. ".  End Error  Error: 2012-12-19 02:32:09.54     Code: 0xC0202009     Source: SABMLR_MDM_Dimensions_Load Connection manager "MDM"     Description: 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: "Login timeout expired".  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description: "Unable to complete login process due to delay in login response".  An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80004005  Description:"TCP Provider: Timeout error [258]. ".  End Error  Error: 2012-12-19 02:32:16.25     Code: 0xC020801C     Source: DFT_Load_Supplier_Branch OLE_SRC_SupplierBranch [70]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "MDM" 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  Error: 2012-12-19 02:32:19.16     Code: 0xC020801C     Source: DFT_Load_Location OLE_SRC_Location [167]     Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "MDM" 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  Error: 2012-12-19 02:32:22.52     Code: 0xC004701A     Source: DFT_Load_Supplier_Branch SSIS.Pipeline     Description: component "OLE_SRC_SupplierBranch" (70) failed the pre-execute phase and returned error code 0xC020801C.  End Error  Error: 2012-12-19 02:32:25.34     Code: 0xC004701A     Source: DFT_Load_Location SSIS.Pipeline     Description: component "OLE_SRC_Location" (167) failed the pre-execute phase and returned error code 0xC020801C.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  2:30:00 AM  Finished: 2:32:25 AM  Elapsed:  144.972 seconds.  The package execution failed.  The step failed.


regards venkat



SSIS ADO.NET connection source parameter setting

$
0
0

Hello,

I need to create SSIS package, which runs incremental export from MySQL db to MSSQL. The export has ADO.NET source:

select * from test.Test  where createddate > '" + (DT_WSTR,30)@[User::Date] +"'"

There is problem, that User::Date is last date of execution from MS SQL table and I have to convert MS SQL datetime datatype to reperesentation createdate in the above query for MySQL engine?

Thanks,

Running man

Error: 0xC002F210 on Execute SQL Task

$
0
0

Hi Techies,

I have one Package in that I used Execute SQL Task for Exec Shrink_Log Procedure.

When i run that package manually It sounds good.

but when i try to run same package with Jobs i got an error.

Error Code: 0xC002F210  Description: Executing the query "Exec dbo.USP_SHRINK_LOG 'AT'  " failed with the following error: "Backup and file manipulation operations (such as ALTER DATABASE ADD FILE) on a database must be serialized. Reissue the statement after the current backup or file manipulation operation is completed.". Possible failure reasons: Problems with the query<c/> "ResultSet" property not set correctly<c/> parameters not set correctly<c/> or connection not established correctly.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  6:15:01 PM  Finished: 6:32:37 PM  Elapsed:  1056.23 seconds.  The package execution failed.  The step failed.,00:17:37,0,0,,,,0

incremental loading data tables with out any primary kess

$
0
0

Hi all.

I have problem to develop the ssis packages for incremental loading data.

My source database table does not having any key like (primary,unique) in the columns.

My client say that to load the data incremental to the client destination tables.

Note:client destination database table does not have any key.

How to load the data client  source database to the client destination database tables.

Thanks,

Sreekanth


sreekanth kancharla

Reading File and Inserting each record to different tables

$
0
0

I have a text file which contains data like

RC                    021
RS                    564
RS                    542
RP
RP
RC
RS
RS
RP
RP

I need to read this file and insert RC record to one table and its amount must be sent to another table after inserting into first table.

In the same manner i need to insert RS to one table and its amount must be sent to another table.

Please help me

Thanks in Advance


Retrieving Files from specific drive and compressing those files

$
0
0

Hi,

I am beginner of MSBI.

How to get files which are created some days back and compress those files????

Please Help me...

Thanks in Advance


ssis destination oledb insert duplicate record

$
0
0
ssis destination oledb inserts duplicate record when i re-run the package. please provide me the solution that how could i prevent it for making duplicate record in destination table.

How to use SSIS OLE DB Data Flow Destination

$
0
0

Hello,

I am using BIDS (SQL Server 2008 R2).

My source is SharePoint List (downloaded SharePoint List Adopters), and the destination is SQL Server database, for that i have taken OLE DB Data Flow Destination, at the "Data Access Mode" dropdown, i did choose "SQL command", and pasted the below SQL query,

SELECT  [ProjectName]
      ,[EskomContractor]
      ,[BenefitsEskom] 'Benefits'
      FROM [AdventureWorks].[dbo].[UnionAllTest1]
  UNION ALL
  SELECT  [ProjectName]
      ,[EskomContractor]
      ,[BenefitsContractor]
  FROM [AdventureWorks].[dbo].[UnionAllTest1]

There is no errors in the query, when i clicked on "Mapping", it is throwing an error, the error message is in the below

TITLE: Microsoft Visual Studio
------------------------------
Error at Data Flow Task [OLE DB Destination [1040]]: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E21.
An OLE DB record is available.  Source: "Microsoft SQL Server Native Client 10.0"  Hresult: 0x80040E21  Description: "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done.".
------------------------------
ADDITIONAL INFORMATION:
Exception from HRESULT: 0xC0202009 (Microsoft.SqlServer.DTSPipelineWrap)
------------------------------
BUTTONS:
OK
------------------------------

Could please provide me solution, thank you.

Kind Regards


SCD Wizard-Data Type Problems(flat files)

$
0
0

Hi,

I have a flat file source with 80 columns and by default SSIS sets them to string.Now the oledb destination is smart enough to do implicit data type conversions.

But when i use a SCD transformation its not that smart and it reports data type conversion problems.

Is there a simple solution?

Thanks,

Sam

Best Books for SSIS

$
0
0

Dear All,

Please suggest the name of best book for SSIS.

Regards,

Vipin jha


Thankx & regards, Vipin jha MCP

How to manage or remove machine generated IDs?

$
0
0

I want to

1. get rid of text in red/strikebreaking as mentioned below 

Or

2. customize it so that I can use this information . theses IDs are not helpful

I did change the name of my packet as well as script file and I see its name as 'Base' showing up below but I want to remove or manage the noise created by IDs below. 

Please advice

PackageStart,username,username,Base,{86B0FE4B-65BD-4E5E-B9C8-D51AB9555AFB},{9757B665-9AD4-40D1-AA14-67150063A951},12/21/2012 10:29:21 AM,12/21/2012 10:29:21 AM,0,0x,Beginning of package execution.OnInformation, username, username,Script Task,{A15A3FA7-A8B9-48FF-B9D0-AACAD503A676},{9757B665-9AD4-40D1-AA14-67150063A951},12/21/2012 10:29:21 AM,12/21/2012 10:29:21 AM,0,0x,Test Log stringOnInformation, username, username,Base,{86B0FE4B-65BD-4E5E-B9C8-D51AB9555AFB},{9757B665-9AD4-40D1-AA14-67150063A951},12/21/2012 10:29:21 AM,12/21/2012 10:29:21 AM,0,0x,Test Log stringPackageEnd, username, username,Base,{86B0FE4B-65BD-4E5E-B9C8-D51AB9555AFB},{9757B665-9AD4-40D1-AA14-67150063A951},12/21/2012 10:29:21 AM,12/21/2012 10:29:21 AM,0,0x,End of package execution.


SSIS 2012 Parameters on Job Step disappearing

$
0
0

Hi All,

I have not been able to find any similar issues, and as far as I could see, this was not mentioned as a fix in SP1.

The setup:
SQL Server 2012 Enterprise
SSIS Packages are stored in the Integration Services Catalog
SQL Agent are running Jobs where the packages are configured and parameters set.

eg:

Parameters are configured:

  • MailReceiver    (required) -> someone@somewhere.com
  • MailCarbonCopy              -> anotherone@somewhere.com

Connection Strings are overwritten with "production" environment values:

  • FlatFileSource                 -> \\prodserver\share\folder\file.csv
  • SQLServerSource           -> SQL01
  • SQLServerDestination    -> SQL02

If we clear the MailCarbonCopy parameter and save the job, all configurations are lost and the job fails on next run.
I am wondering if this is only our environment that has this issue?

Any input is appreciated.

Thank you in advance and Happy Holidays :)

Mikael.

SSIS package failing with (variously) "Login timeout expired" or "Time-out occurred while waiting for buffer latch type 2” or DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

$
0
0

I'm interactively running a package, locally (on one device), to import records from flat-files to a SQL Server Express 2012 database.

The package will usually fail, displaying error messages of :

  • "Login timeout expired" or

  • DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER or

  • "Time-out occurred while waiting for buffer latch type 2”

depending on what property I've changed.

I'm running Windows 7 Pro; 64-bit; SQL Server 2012 Express (64-bit); the package was written in Visual Studio 2008.

On the Control Flow tab, I'm using a Foreach Loop container to repeatedly run a Data Flow task which is importing and processing flat-files, one at a time, and some File System tasks to Rename the error-files associated with each imported flat-file.

On the Data Flow tab, I use four components to perform some data validations and conversions before using an OLE DB Command component which executes the Stored Procedure that does the INSERT. Crude but it's been working. Intermittently. Which is the problem.

Sometimes it'll successfully import and process a couple of files and fail. Sometimes it'll process nearly 20 files and fail. Sometimes it'll do 10 or 20 and not fail.

Here's the portion of the text from the Output panel that's relevant:

Information: 0x40043006 at Data Flow Task, SSIS.Pipeline: Prepare for Execute phase is beginning.

Error: 0xC0202009at ReWriteLoadVoterHistoryTable, Connection manager "MYSERVERNAME\SQLEXPRESS_INST1.GRP_VoterDBv5_JH": 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:"Login timeout expired".

An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Unable to complete login process due to delay in login response".

An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80004005 Description: "Shared Memory Provider: Timeout error [258]. ".

Error: 0xC020801Cat Data Flow Task, LookupToVerifyElectionType [9]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER. The AcquireConnection method call to the connection manager "MYSERVERNAME\SQLEXPRESS_INST1.GRP_VoterDBv5_JH" failed witherror code 0xC0202009. There may be error messages posted before this with more information on why the AcquireConnection method call failed.

Error: 0xC004701A at Data Flow Task, SSIS.Pipeline: component "LookupToVerifyElectionType" (9) failed the pre-execute phase and returned error code 0xC020801C.

Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "component "Err_NoMatchElectionType" (199)" wrote 0 rows.

Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "component "Err_NoMatchingElectionID" (318)" wrote 0 rows.

Information: 0x4004300B at Data Flow Task, SSIS.Pipeline: "component "Flat File Destination" (447)" wrote 0 rows.

Information: 0x40043009 at Data Flow Task, SSIS.Pipeline: Cleanup phase is beginning.

Error: 0xC0010202 at Data Flow Task, LookupToVerifyElectionType [9]: Failed to mark the cache as filled with data.

Error: 0xC004701B at Data Flow Task, SSIS.Pipeline: component "LookupToVerifyElectionType" (9) failed the cleanup phase and returned error code 0xC0010202.

Task failed: Data Flow Task

Warning: 0x80019002 at Foreach Loop Container: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (4) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.

Warning: 0x80019002 at ReWriteLoadVoterHistoryTable: SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED. The Execution method succeeded, but the number of errors raised (4) reached the maximum allowed (1); resulting in failure. This occurs when the number of errors reaches the number specified in MaximumErrorCount. Change the MaximumErrorCount or fix the errors.

SSIS package "ReWriteLoadVoterHistoryTable.dtsx" finished: Failure.

Some of  the Properties of the Connection Manager in question are:

    Initialization / Connect Timeout:  0

    Initialization / General Timeout:  0

(I tried Pasting-in and image-snippet of this Connection Manager / Property window, but I'm not permitted.)

In reference to some of the suggestions I've read in other threads:

  • I don't think setting Run64BitRuntime to False is relevant since both the OS and database are 64-bit;

  • when the Connection Manager's RetainSameConnectionwas set to True, the package failed with"Time-out occurred while waiting for buffer latch type 2 for page (1:103), database ID 7."

  • though it also didn't seem relevant, I tried setting the package'sDelayValidation property to False; it didn't help. It failed with the same “buffer latch type 2error as above.

The Server's Remote Login Timeoutwas set at 10.I changed it to 0 (infinite wait), and ran the package again. It successfully processed 5 input-files this time, then croaked, with this from the Output panel:

Error: 0xC0202009 at Data Flow Task, OLE DB Command [340]: SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred.Error code: 0x80040E14.

An OLE DB record is available. Source: "Microsoft SQL Server Native Client 11.0" Hresult: 0x80040E14 Description:"Time-out occurred while waiting for buffer latch type 2 for page (1:247), database ID 7.".

Error: 0xC0209029 at Data Flow Task, OLE DB Command [340]: SSIS Error Code DTS_E_INDUCEDTRANSFORMFAILUREONERROR. The "input "OLE DB Command Input" (345)" failed because error code 0xC020906E occurred, and the error row disposition on "input "OLE DB Command Input" (345)" 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 Data Flow Task, SSIS.Pipeline: SSIS Error Code DTS_E_PROCESSINPUTFAILED. The ProcessInput method on component "OLE DB Command" (340) failed with error code 0xC0209029 while processing input "OLE DB Command Input" (345). 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.

Any suggestions of what else to try will be much appreciated. Thanks.


How to make group of continuous tasks to execute based on single condition

$
0
0


Hello All,

Could you please help me out here, i am totally stuck here,

i have total 20 tasks in my ssis package (dataflow, execute sql task, etc)


at 16 dataflow task i want to check something in db table, if condistion satisfied then it will execute the remain tasks, if not then it should n't execute  16, 17, 18 tasks then 19 as usual

how to achieve this

please help me

Thanks in adavnce
asiti

SQL Server Database Schemas Copy From One SQL Server to another SQL Server?

$
0
0

I have database with multiple tables in Microsoft SQL Server with schema in tables as "xyz", "abc". i am able to copy this database tables along with data from one sql server to another using export and import wizard of SQL server.

Need to Find a way-
1. Copy only tables with no data.
2. Is it possible to covert current database design to a script and then run the same on another server which will create all these tables with empty data ?

I have large Database so I can't use generate Scripts option...

Thanks in advances.

Best Regards


Regards, Vishnuvardhan

Can we run 32 bit supported excel task and 64 bit supported Fuzzy lookup on same 64 bit machine?

$
0
0

Hi  everybody,I have a package(Resided on 64 bit machine) where I am using excel task to pull data from excel to sql server destination.

During the process I am using the fuzzy look up transformation in data flow task .

The problem here is I am getting error specific to excel (Because SSIS is running on 64 bit and excel supports 32 bit)

So when I went to the project propertes and in DEBUGGING changed USE 64 bit to 32 bit

But now I am getting the error specific to fuzzy lookup.

It gets executes with a quick command prompt and stops at fuzzy lookup.

1 - Lookup task turns yellow
2 - A black box flashes up and then disappears
3 - Output message states SSIS package "blah blah.dtsx" finished: Canceled

When Changing back  to 64 bit ..Lookup runs fine without any error..

Is there any way where I can't shift the multiple tasks in different project i.e Excel specific on 32 bit and fuzzy process on 64 bit...?

Thank you

SSIS Package Level Transaction

$
0
0
I need to have Transaction at package level. I have Nested Sequence Containers in my package and Want my package to rollback if any of the task fails in my Control flow. What is the best solution to accompolish this. I know how to set Transaction "Supported"/"Required" etc but Can anyone help me to figure out what could be the best settings especially when i have Nested Sequence Containers and want my Package to Run as ONE transaction

Saadat

"Could not bulk load because SSIS file mapping object 'Global\DTSQLIMPORT' could not be opened. Operating system error code 5(Access is denied.).

$
0
0

Code: 0xC0202009         Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80040E14.  An OLE DB record is available.  Source: "Microsoft OLE DB Provider for SQL Server"  Hresult: 0x80040E14  Description: "Could not bulk load because SSIS file mapping object 'Global\DTSQLIMPORT              ' could not be opened. Operating system error code 5(Access is denied.). Make sure you are accessing a local server via Windows security.".  End Error 

I have used Ole db for oracle source and sql destination for ms sql. I am not in a position to change sql desitnation now, since lot of DFT are there. Suggest me the best, please.

Viewing all 24688 articles
Browse latest View live