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

Importing Visual Fox Pro Database Sql Server 2012

$
0
0
I have a job that uses the visual fox pro oledb data provider to connect into a visual fox pro database and import data into sql server. It runs fine in sql 2008. I have a new server with SQL Server 2012. I installed the VFP provider on it as well. I went back in through the import wizard (how I set up the job on the original server) and tried to create it. I see the VFP provider in the drop down under data source. However when I go to click properties it just freezes in the import wizard and I have to kill it through task manager. Any idea why this would be happening?

- Michael


Excel Data coming back as NULL

$
0
0

I have to validate that the columns in an excel spread sheet exist and are of a certain value. I'm trying to do it by avoiding a scrip task. I thought I was being cleaver by selecting the top row and dumping it to a recordset destination but apparenlty I'm not as clever as I thought. I pull the data by SQL command in the Excel Source Editor.

SELECT        TOP 1 F1, F2, F3, F4, F5, F6, F7, F8, F9, F10, F11, F12, F13, F14
FROM            [Data$]

The problem is some of the columns are coming back as NULL for no reason. I'm looking right at the column in excel and it's totally populated with a value. This ONLY happens with the first row. No rows after that exibit this issue. What could be causing this?

Failed to save package file "%Temp%\tmp55D5.tmp" with error 0x80040155 "Interface not registered".

$
0
0

I have migrated to WINDOWS 7 Ultimate 64 bit Machine. I am not able to Open SSIS pakages on BIDS. I have installed BIDS from SQL Server 2008 R2 Ent version and SQL Express on my machine. 

The project is being created without any package. When I tried to create a new package in the project, I received the error. 

I tried registering msxml3 & msxml6 and re-installing it several times but the same error is appearing.

PS: as suggested in one of the post about the value of temp. It is "%USERPROFILE%\AppData\Local\Temp" on my machine.

Pl help!

Following is the text of the error details:

===================================
Error creating package (Microsoft Visual Studio)
===================================
Failed to save package file "%Temp%\tmp55D5.tmp" with error 0x80040155 "Interface not registered".
------------------------------
Program Location:
   at Microsoft.SqlServer.Dts.Runtime.Application.SaveToXml(String fileName, Package package, IDTSEvents events)
   at Microsoft.DataTransformationServices.Wizards.Dts90WizardSaveNewTask.SaveToTempFile(Package package)
   at Microsoft.DataTransformationServices.Wizards.Dts90WizardSaveNewTask.AddPackageToProject(Package package, String itemName)
   at Microsoft.DataTransformationServices.Wizards.Dts90WizardSaveNewTask.CreateAndAddPackageToProject()
   at Microsoft.DataTransformationServices.Wizards.Dts90WizardSaveNewTask.Execute(WizardInputs wizardInputs)
===================================
Failed to save package file "%Temp%\tmp55D5.tmp" with error 0x80040155 "Interface not registered".
------------------------------
Program Location:
   at Microsoft.SqlServer.Dts.Runtime.Wrapper.ApplicationClass.SaveToXML(String FileName, IDTSPersist100 pPersistObj, IDTSEvents100 pEvents)
   at Microsoft.SqlServer.Dts.Runtime.Application.SaveToXml(String fileName, Package package, IDTSEvents events)

SSIS: Active X Script task to call Webservice

$
0
0

I am facing an issue while executing the SSIs package in SQL server 2008. I have used an ActiveXScript Task within it to call a webservice method in order to return a set of records in XML format.

I have called th eas Set xmlHTTP = CreateObject("Microsoft.XMHTTP");

I am getting the below error sometimes and sometimes it run successfull.

msxml3.dll error The download of the specified resource has failed.

Does anyone have any suggestion why this is happening?

I am using VB language within it.

Thanks in advance.
Dimple Mittal

Could use some help writing a scrip task

$
0
0
I need some help writing a script because I'm not that familar with C#. I was doing ok cuting and pasting but I've hit a dead end. I  send one record and one record only to a recordset destination. I need to search that record for values. My inital thought was to take the record set object and put it in an array. I could then search the array with Array.IndexOf and then test for > -1. I'm currenlty stuck on how to get the recordset destination into an array. Alternative suggestions would also be welcome.

Ole DB Source throwing error while query for Excel Openrowset

$
0
0

Hi All,

I am trying to query the excel using the OPEN Rowset

I have configured the connection manager correctly (test connection is working).

When I am trying to write query in the source during the preview it is giving me syntax error as shown in the screenshot, I have tried all the ways from google but not working can anybody suggest anything in this :

"Syntax error in FROM Clause"

SELECT * FROM OPENROWSET ('Microsoft.ACE.OLEDB.12.0','Excel 12.0 XML;Data Source=C:\Users\sumit.kumar.dua\Desktop\Sumit\Common.xlsx;HDR=YES', 'SELECT * FROM [Sheet1$]')

Thanks in advance

Sumit

SSIS ETL Import XML Nodes

$
0
0

Hi ,

I am trying to generate a SQL table by importing XML file using ETL package.  I am having trouble selecting multiple nodes, the XML file structure is

<data>

<users>
    <Name></Name>
    <SamAccountName></SamAccountName>
    <Enabled></Enabled>
    <HomePath>
      <Exists></Exists>
      <Location></Location>
    </HomePath>
    <ProfilePath>
      <Exists></Exists>
      <Location></Location>
    </ProfilePath>

</users>
</data>

Under XML Source I successfully created the XSD file and selected OLE DB Destination and created the table successfully. During mapping I selectedUsers node, but the mapping doesn't select all the subnodes ( eg: homepath is missing ) and considered as separate column) . As in theory if I select root node all the child node should get selected.

I am new to SSIS / ETL so I might have missed things.

Creating PDF file dynamically dpending upon the data and placing it at FTP location using SSIS

$
0
0

I am trying to create PDF files with run time data and place it at FTP Location using SSIS 2008.

Does anyone have done this?

Iam using ActivePDF to implement it but facing issues with creating in better format and also the increase or decrease in content size distorts the PDF.

so any other option to do it in SSIS?

Thanks in advace.

Dimple Mittal


Connect to Sql server 2002 Database form SSIS packages

$
0
0

Hi All,

I have a Source data in Sql server 2002 DB.This 2002 Data I need to process and load data  into Sql server 2008R2.

Can you please share steps how to connect to Sql server 2002 DB using SSIS package.For this one I need to install any drivers?

Can you please help on this.

Regards,

Praveen C.


Regards, Praveen

Deployment Question

$
0
0

May be simple for most of the seasoned SSIS developers

Which kind of deployment is preferred by most developer

is it File System Deployment or SQL Server Deployment

and one more thing to add  security measures are best suited for the preferred deployment

Thanks,

Praveen

Copy date from one table to another on different server

$
0
0

Hi All,

I want to copy data of more than 100 tables from one database to another
on different server I even dont know about all table has same stracture
or not. We dont have linked server so i want to do it through SSIS.
Can you please suggest me which is the best way to acheive this.      Thanks                                                     

how to load csv file data into single column single row of a table using ssis?

$
0
0

hi ,

i am new to ssis , i got one requirement like

1. client will give one csv file to us which contains 100 rows 100 columns.

2. my requirement is : i need to store the above csv file data into single colum , single row of a table.

4. my table sample structure is :

id                               date

--                                ---

Note: id column data type is Unique identifier and  date column data type is varbinary(max).

my sample csv file is:

Mdate,bdate,login,name

2012-12-12,2012-112-12,\\localhost\name\sada

2012-12-12,2012-112-12,\\localhost\name\sada

Expected output:

id                               date

1                    the above csv file should load as single row









franklinsentil

SSIS 2008 - excel destination refill

$
0
0

Hi All,

I created a package which runs everydays and dumps the data into an excel file.

The problem iam facing is that -today the package runs and fills in the excel file,tomorrow it again runs and fills in the data without deleting the previous records.......

But i want it to delete the records already present and fill in the excel only with the new records...

Any help is greatly appreciated.


Derive Column Transformation

$
0
0

Hi Experts,

I  have an SSIS package which loads data from a table to an excel sheet. One column in my excel is namedLeaveType, im using this expression LeaveType == "Vacation Leave" ? "004::Vacation Leave" : LeaveType in the Derived Column Transformation Editor to prefix the datas. The sample expression has a Vacation Leave data from a table then when it load to excel it becomes004::Vacation Leave. How can i improve my expression to include other leave types such asShore Leave to load to excel as 001::Shore Leave in the sameLeaveType column in excel.

Best practice Error management

$
0
0

Hi Folks 

I was after some advice  resolving errors.  I have had the following truncation error (*See screenshot). 

I have

  1. Identified the type of error by looking at the "output"
  2. Redirected the errors
  3. Viewed the data causing the errors in a data viewer

However, after viewing the column causing the truncation error, I can't see why it (the sim_state-modified column) is generating a truncation error. The error generating output seems to be the same length as the non-error generating out etc.  Can someone suggest the next logical step?

Regards

Steve 


How to import the tally data to sql server table using ssis 2008

$
0
0

Hi,

how to import the tally data to sql server table using ssis 2008. how to import?...

Regards,

Abdul.

SSIS Aggretate component - use only RAM?

$
0
0

Hi everyone!

I am experimenting with Aggregate component in SSIS and I have a small problem: my large input dataset (200 million rows) which I am trying to aggregate starts to consume disk memory if RAM memory is too low, but I want to avoid this. 

Is it possible to set Aggregate component to use only RAM memory?

Cheers,
Miljan

ssis 2012: deployment heartburn

$
0
0

Has anyone seen a symptom when creating an SSIS job step, the environment checkbox is unavailable and the connections are still tied to a previous environment even though the ssisdb catalog is there with the environment settings in place.

as an aside, i deployed the projects from tfs/vs2010.

is there anywere i can look to tell where ssis may think there's a fixed connection?


SSIS PACKAGE NOT FINDING CORRECT DIRECTORY

$
0
0

I have an SSIS package that takes files and moves them over to an FTP site. When I am running it inside Microsoft Visual Studio, it finds the directory that I have put in the package and moves the files to the FTP. 

But when I set up an SQL Server Agent job to automate the package to run daily, it fails because it looks for the files in the C:\Windows\System32 directory instead of the D:\MyFiles\ directory where they are located.    And because the files are not there, the package fails to run.

When running the scheduled daily SQL Server Agent job, the package should look at the location  D:\MyFiles\  directory that I built into the package just like it does when I run it in Visual Studio.  

Can anyone help?  I have worked on this two days trying to figure it out.  Any help would be greatly appreciated.

Wade

Have you found ADO.Net is quicker than OLEDB ??

$
0
0

I have a small archiving SSIS pacakge that I use to archive off old orders. I was OLEDB and found that I would be deleting about 1 order (plus all its relational records) a second. Try to find some speed I tried the ADO.net connetion and turn pooling on with a min of 10. Now I am getting about 100 order records deleted a second.

Has any one else found that that ADO.net connection is faster than the OLEDB (I would have thought it would be the other way around).

The  

Control flow items I am using are the Execute SQL Task and the queries are like this

Insert into arcprod.wh1.pickdetail
 Select * from wh1.pickdetail where status='9' and orderkey = @Pram1  and
 pickdetailkey not in (select pickdetailkey from arcprod.wh1.pickdetail)

...

delete from wh1.pickdetail where orderkey = @Pram1

etc

 

 

Viewing all 24688 articles
Browse latest View live


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