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

How to Find .zip File Through For each loop Container

$
0
0

Hi,

   I have one Folder ,in that file .zip file is there .How to Take dynamic Thruogh For each loop Container.

Vasu


vasu


Can we create SSIS packages in our local PC where we have only Visual studio (BIDS) and the express edition of sql server 2008

$
0
0

Hi All,

I have a basic question

Can we create SSIS packages in our local PC where we have only Visual studio (BIDS) and the express edition of sql server 2008.Like a client server architecture,where we create the packages in our local pc and point to the server which has standard edition of sql server with all features.

is it possible ?

kindlly let me know ..I am confused

 

Thanks,

Esmari

 

 

Splitting data into multiple destinations by based on row number after doing transformation in data flow

$
0
0

Source->Transformation->condition->D1,D2,D3.

First row has to go for D1 Destination, Second row has to go for D2 Destination,Third row has to go for D3 Destination, Fourth row has to go once again for D1 Destination.

Assume there is totally 1000 rows,

How you will do this in ssis?

Please help me on this question.

SSIS

$
0
0

Hi Friends,

   What is the difference between normal load(flat file to destination table) and bulk insert task load into the oledb destination table in SSIS?

   Please give some differences between them.

Advance Thanks

Lakshmi

SQL SERVER 2012

$
0
0
Hi ALL,

I have one issue please help me

i have reading like bellow

time   tag_a a_readings      tag_bb_readings     tag_c c_readings 

12.00   a  10b 50c20

1.00a 20b60c25

2.00a 30b70c30

                            here i need to draw the graphs for similar patterns.means tag_a,tag_b are incremented with same interval for the particular time.

i want which components will be used in SSIS for recognizing the same patterns (values incremented with same interval for the particular time).

  

Failed to load package from SSMS--> Itegration service

$
0
0

Hi Everyone,

After changing orders of executable paths in environment variables, I am unable to execute packages.

I tried to run package from SQL server management studio --> by connecting Integration service.

It throw below error

The program has failed to Load the library "C:\Program Files (x86)\Microsoft SQL Server\100\DTS\Binn\dts.dll"

If I create SQL job for the same package, it won't throw any error.

I have checked this but no solution yet.

Can anyone help me to fix this issue?

Thanks,


Hiren Kapadia

SQL SERVER INTEGRATION SERVICES 2012

$
0
0
Hi ALL,

I have one issue please help me

i have reading like bellow

time   tag_a a_readings       tag_bb_readings     tag_c c_readings 

12.00   a  10b 50c20

1.00a 20b60c25

2.00a 30b70c30

                            here i need to draw the graphs for similar patterns.means tag_a,tag_b are incremented with same interval for the particular time.

i want which components will be used in SSIS for recognizing the same patterns (values incremented with same interval for the particular time).

  

Alert if folder not updated within given time eg 90minutes SSIS 2008

$
0
0

Hi, I need to place a watch on a shared folder to see that folder has had files dumped into within 90 minutes.

Can someone please guide on how to  (SSIS 2008 R2)

  1. Obtain the latest time of a file in a folder called \\abcserver\123\testfolder\
  2. If greater than (90) minutes ago,  send email alert

Would run this package as a service every 10 minutes

Alternatively is there an easier way?, thanks


how to insert data from excel into sql table using script component in SSIS

$
0
0

Hello Everyone,

I want to know how to insert data from excel file to sql table. using Script component.

I know that excel component is also there but i want to do it by script component bcoz i want to make it dynamic afterwards.

kindly provide me code in vb.net bcoz i m having BIDS2005.

Script task runtime error

$
0
0

I have a script task which when I try to execute I get the following popup error messagebox (I cannot even debug the task, no breakpoints are reached even if its the first line):

DTS Script task has encountered an exception in user code

Exception has been thrown by the target of an invocation.

at System.RuntimeMethodHandle._InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, SignatureStruct& sig, MethodAttributes methodAttributes, RuntimeType typeOwner)

   at System.RuntimeMethodHandle.InvokeMethodFast(IRuntimeMethodInfo method, Object target, Object[] arguments, Signature sig, MethodAttributes methodAttributes, RuntimeType 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 Microsoft.SqlServer.Dts.Tasks.ScriptTask.VSTATaskScriptingEngine.ExecuteScript()

Now - heres the thing.  I have copied the code from inside the script task and transferred it over to a C# windows form project, so the code gets executed when a button gets clicked.  It works fine!  Why is the exact same code not getting executed in SSIS?

I have hardcoded all the variables in the script task for now, I am not passing in any variables.

SSIS

$
0
0

Hi friends,

  Why we have to do drop and re-creating sql table through SSIS Package?

  Please anyone can u say some reasons.

Advance Thanks

Lakshmi.

Dynamic excel file

$
0
0

Hello Everyone

I have to copy data from excel file to SQl table name Test

1) Test Table

have columns name

a

b

c

d

e

2) Now in my Excel file column name will remain same but it will change each time some time it will come like this

c

d

e

Or some time Excel file column name will come like this

a

b

c

Can you tell me is it possible in SSIS if i have to copy Excel file in SQl table .

can you provide me  some link or suggestion for this type of problem

How to get OLE DB provider Microsoft.ACE.OLEDB.12.0 ? Please help

$
0
0

Hi,

   I am trying to load data from Excel to DB Table and "Run64RunTime should be TRUE". I tried Excel Connection Manager and got error. So, what I did is, I tried OLE DB Source and selected the Provider 'Microsoft Office 12.0 Access Database Engine OLE DB Provider' and the test connection was successful.

But while executing the package, I am getting the error as 'The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered -- perhaps no 64-bit provider is available.  Error code: 0x00000000'.

I could see 'Microsoft Office 12.0 Access Database Engine OLE DB Provider' in my Provider List but can't find 'Microsoft.ACE.OLEDB.12.0' - whats the difference and may I know how to get this 'Microsoft.ACE.OLEDB.12.0'  and how to resolve the error?

SSIS send mail task error (once smtp server changed)

$
0
0
Hello All,

i have a ssis package, which is running fine so far, if it fails it notify to tech support team,
SMTP server Name got changed so i updated new name, i didn't touch anything else, but when the package fails it is not getting notified also it throws below message (when i ran in ssis bids)


SSIS package "CitiFeedGrabber.dtsx" starting.
Error: 0xC002F304 at Notify Support Team Send Mail Task, Send Mail Task: An error occurred with the following error message: "Failure sending mail.  System.IO.IOException: Unable to read data from the transport connection: net_io_connectionclosed.".
Task failed: Notify Support Team Send Mail Task


do i need to configure anything, am i doing anything wrong?

please help me

Thank you so much in advance

best regards
asita

SSIS- Execute SQL Task Generates Error When Attempting To Insert Into Table: "Multiple-step OLE DB operation generated errors."

$
0
0

I'm trying to perform a pretty straightforward task here. I'm using a lookup to compare two tables and copy any records that are in table A and not in table B from table A to table B. The lookup deposits these records into a Recordset Destination, then I use a ForEach Loop container with an Execute SQL Task to insert these rows into "table B".  (ForEach loop sets user variables with the values retrieved from each of the columns from "table A".)

But apparently there's something wrong with my data types because the package fails when it attempts the insert. It gives me the error "Multiple-step OLE DB operation generated errors. Check each OLE DB status value, if available. No work was done." 

I hard coded the values from a single record into my insert script and ran the package with everything but the insert script disabled and it worked fine. I can even run it with everything enabled and using a shorter version of my script that only inserts one of my values- an INT- and it still runs. But when I attempt to include all of the columns from "table A" I get this error.

Any suggestions?


Error on SSIS package when trying to import Data from SQL Server to MySQL

$
0
0

I looked at the few similar posts regarding these problems but i quite did not find the solutions yet.

I am trying to import some data from SQL server ( 2008 R2 - 64 bit )  to MY SQL. Installed the ODBC driver ( SQL connector)  MySQK ODBC 5.2w.

I am using ADO.NET connection string for both Source( SQL server)  and Destination( MySQL), however i get error on destination when i am trying to map to the MySQL table ( trying to insert into Mysql Table).

When i try to click to get table drop down list in destination column i get this error>

"Could not retrieve the table information for the connection manager 'Mysql_serverName'.

Attempted to read or write protected memory. This is often an indication that other memory is corrupt. (Microsoft Visual Studio)" .

And then i click on new and try to create the New table, and i do get the error during mapping.

"Error at Data Flow Task [ADO NET Destination [43]]: Failed to get properties of external columns. The table name you entered may not exist, or you do not have SELECT permission on the table object and an alternative attempt to get column properties through connection has failed. Detailed error messages are: 

ERROR [HY010] [MySQL][ODBC 5.2(w) Driver][mysqld-5.1.66]

"

I don't think it is permission issue, since if i use the same ado.net connection( as source ) and select form mysql tables, i can retrieve the data.

Also, the user account that is used in ODBC connection to connect to MYSQL has pretty much full rights on mysql db.

Appreciate if i get any help here or point me to the right direction.


Is there a way to have an SSIS data source connected to SQL Server with a service account?

$
0
0

I am writing an SSIS package that will extract data from a SQL Server database. One of the data flow tasks connects to a database that I cannot access except with Windows Authentication -- the administrator is not willing to create a userid for my use under SQL Server Authentication -- though he will create a Windows service account login if I need one.

My normal Windows logonid does have access to the database, so I am able to connect right now, and the package works fine. But I intend to load the package on a server and run it as a job under SQL Server Agent. When I do that, is it possible to create a Windows logonid different from the one that will run the package itself? Looking at the interfaces for creating Connection Managers, I don't see a likely way to do this. Any suggestions?

Need to Run an excel macro via SSIS

$
0
0

Hello everyone,

I have an excel file which I am loading through DFT.

Then I want to run an excel macro in that file. I tried it in my local(BIDS) it is working fine. But when I am running it via job from prod server I am getting Microsoft.Excel.Interop dll error. Client don't want to install MS Office on the prod server, and stand alone PIA(Primary Interop Assemblies) will not work without installing MS Office.

Is there any workaround to do that or any via Execute Process task or command shell...?

Please help

Thanks

Sumit

CDC Control Task: Failed to update database '' because it is readonly

$
0
0

I am attempting to use the new CDC components in SSIS 2012.  Our DBAs have setup CDC in the primary OLTP system, and a database mirror to a secondary readonly database.  I have configured the CDC control task to Mark Initial Load Start, a dataflow task that uses a CDC Source component, then another CDC control task to Mark Initial Load End.  When I run the package, it get an error on the first CDC control task:  CDC Control Task: 'Failed to update database '' because it is readonly'.  I set the ApplicationIntent property on my Connection manager to "ReadOnly".  My question/confusion is what is the component trying to update?  My understanding of the way the components work is that they track the LSNs, which seems like a readonly process.

Thanks in advance!


jchiking

ssis, roll back date

$
0
0

How do I roll back date using ssis expression?

This is the condition:

If the time hits 00:00, the date should roll back one day.

The date format is : mm/dd/yyyy

Time format is in military.

Thanks in advance.

Viewing all 24688 articles
Browse latest View live


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