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

Dynamic mapping from xml source to sql destination

$
0
0

Hi everyone,

I have a requirement to take xml file, in case the number of column changes, it should not fail the package, rather it should load the data in destination table. Destination table could be altered separately depending on xml schema by the DB team in production. I need the script to achieve this requirement. Please help me its urgent.

Regards,

Ankit 


Generate SSRS report using SSIS

$
0
0

I have created a report using SSRS 2012. To create a pdf report, I use SSIS 2008. When I run debugging in SSIS, the pdf report is generated correctly.

But when I run the SSIS as a job in SQL 2012, the pdf report is generated with o bytes. When I tried to open it with Adobe, there is error, something like - Adobe Reader could not open  PPAA.pdf because it is either not supported file type or because the file has been damaged.

Thanks.

The project file can not be loaded - SSIS error

$
0
0

Hi,

while working on deployment to production server of an SSIS project, I have noticed that development priject has "disappeared" from my development machine which, obviously, was not my intention, at all. I now get the error prompt saying this:

Pls., what am I suppose to do in order to RESTORE it on devel machine like it used to be?

thanks

SSIS: How to use variable in Connection Manager's Properties

$
0
0

Hello Gurus,

How to use variables in Connection Manager's properties? I see some replies through Configuration Package. But what if, it is still in development stage? I mean, can I use the Variable tab and create some variables like User::DBUserNameSource, User::DBPasswordSource, User::DBuserNameDestination, User::DBPasswordDestination, then put them in Password and UserName property of Connection Manager?

If this is possible,  how and how can I set the values of those variables I mentioned when I am going to deploy the package in the Production?

Hope someone could help on this. Thanks in advance

 

 

Test connection failed because of an error in initializing provider. Oracle client and networking components were not found.

$
0
0

Hi, I have created a SSIS package using Oracle source. But i dont have Oracle components installed on my machine so getting error :

Test connection failed because of an error in initializing provider. Oracle client and networking components were not found. These components are supplied by Oracle Corporation and are part of the Oracle Version 7.3.3 or later client software installation.

Provider is unable to function until these components are installed.

I am searching online but dont know which components i need to install.

Can somebody provide me the link where i can download those components?

I am using 64 bit operating system and sql server 2008.

Thanks

XSLT taking long time to parse the xml source file

$
0
0

Dear All,

SSIS Runs a XSLT(Xtensible Stylesheet Language Transformation) code (it looks for the attributes one by one in the source xml files and generates another set of XML files with XML Tags and stores into Formatted folder which is read by SSIS), the attributes which xslt has to look for is defined by business.

  • There are about 350 attributes that can appear in an XML file with values for those tags.
  • The XML file never contains all 350 attributes. Sometimes, we can find 100 attributes, sometimes 250 etc.
  • All the XML attributes cannot be found on the same level. E.g. A TR ID can be found at Parent Tag level, Details of the TR ID like DIDDET code is found in a level below that and some other details can be found at a level even below this.
  • Hence , the XSLT file is used to transform the XML file into a standard format to be consumed by ETL
    • XSLT file searches in the original XML file for an attribute , and value corresponding to it and creates another XML file with standard format (We call it modified XML file) which can be used in the ETL
    • This file is created in another location called “Formatted folder”

  • Every day we receive 8000 source files which needs to be parsed.

  • most of the time spent is at xslt level.

  • Is there anyway we can do the same task with some other way instead of using xslt ?


Anky

MAXIMUMERRORCOUNTREACHED error

$
0
0

When I try to execute the master package the get the following error, currently maxerrorcount is set to 1.

SSIS Warning Code DTS_W_MAXIMUMERRORCOUNTREACHED.  The Execution method succeeded, but the number of errors raised (5) 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.

What could be the reason for package failure, because when the run the package through visual studio it runs fine but fails when scheduled with sql server agent job.

Any help is appreciated , Thanks.


sree

[File System Task] Error: An error occurred with the following error message: "The device is not ready."

$
0
0

Hello,

I'm renaming a file using a File System Task and get the following error:

[File System Task] Error: An error occurred with the following error message: "The device is not ready.

I've access to the folder which has access to the file being renamed.

I'm an admin on the machine on which I'm executing the package.

The file is not being accessed by anyone.

I'm using SQL Server data tools for Visual Studio 2013 to execute the package with the task.

Any hints on what could be wrong?

Thank you!


Office 365 64-bit breaks SSIS packages with Excel sources in dev mode

$
0
0

Hello all,

We just installed Office 365 on our dev machines. We chose the 64-bit version, because that's what was recommended in order to get the full experience out of Power BI via Office 365.

This has resulted in our being unable to run SSIS packages in visual studio (during development and testing) that utilize Excel source tasks.

The SSIS error reads: "[Connection manager "Excel Connection Manager"] Error: The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. If the 32-bit driver is not installed, run the package in 64-bit mode. Error code: 0x00000000. An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".

And,

"[Connection manager "Excel Connection Manager"] Error: The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine. For more information, see http://go.microsoft.com/fwlink/?LinkId=219816".

Does anyone have any suggestion on how to fix this issue without reverting back to the 32 bit version of Office? For example, how can we convert our packages to run in 64 bit mode?

Thanks for any advice,

Dylan

SSIS Delete Rows in Excel File without using Script Task

$
0
0

Hi,

i need to Delete/Overwrite Rows in Excel without using Script Task in SSIS.

is it Possible..?

Thanks ,

Chandra Kishore

? Best way to import data form one table to another Sql Server.

$
0
0

Hi,

Need to import data form one table to another.

Note : Both table have different schema.

Lets say 1. Employee(Empid, ename,address,designation,Joindate,DOB).

     2.Person(name,address,DOB)

I need to import person table data into Employee table.

Note : 1 empid is auto increment

2. If Person.DOB is not present insert null into employee.DOB

3.JoinDate should be initialized with current date. 

Please suggest. Currently I am using 1.OLE DB Source 2.Data Conversion 3.OLE DB Destination.

Thanks,

Vikash Kumar

deploy ssis pacakges 2012 and run job though power shell

$
0
0

Hi

  can  you please  suggest the any script   in ssis 2012 packages deployment  

and create the jobs though power shell script  .

 thank you for helping 

Error in deploying ispac files in SSISDB in Silent mode

$
0
0

I am trying to deploy an ispac file in SSISDB and it is throwing the below error.

Please be aware that this is being taken place in Server. If i manually log in to server and run this using CMD , it successfully deploys the file. But upon using a tool, it throws an error.


ISDeploymentWizard /S:+ /ST:File /SP:"C:\TFS\RDMS\CA SQL\RELEASE\DEVPERF2014WW20\2014WW20\PERFORMANCE\Test.ispac" /DS:"<<destination server name>>" /DP:"/SSISDB/EDW_Inbound_test/Test/" 

Any help will be appreciated.

Unhandled Exception: System.InvalidOperationException: Showing a modal dialog box or form when the application is not running in UserInteractive mode is not a valid operation. 
  Specify the ServiceNotification or DefaultDesktopOnly style to display a notifi cation from a service application. 
     at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)    at Microsoft.NetEnterpriseServers.ExceptionMessageBox.Show(IWin32Window
 owner)    at Microsoft.SqlServer.IntegrationServices.Wizard.Common.WizardMessageBox.Show(IWin32Window owner, Exception error, 
 String caption, MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton, String helpLink)   
  at Microsoft.SqlServer.IntegrationServices.Wizard.Common.WizardMessageBox.Show(IWin32Window owner, Exception error, String caption,
   MessageBoxButtons buttons, MessageBoxIcon icon, MessageBoxDefaultButton defaultButton)    
at Microsoft.SqlServer.IntegrationServices.Wizard.Common.WizardMessageBox.Show(Exception error)   
at Microsoft.SqlServer.IntegrationServices.Deployment.Program.Main(String[] args) 


How avoid comma in csv file in SSIS

$
0
0

I folks 
       source                                            Oledb destination
 column:id,name,address                    id,name,address

  data:1,ramu,ameerpet,hyd   

       in this case my source contain address column contian comma

Intervier questionos:
1. what will the out put? i said error
2.How you resolve this issue? 
3.if data is like this how you came to know?

thanks in advance waiting for your ans 



Check Table for existing record before data flow task

$
0
0

Using SSIS 2012 (within Visual Studio) on Windows 7.

Before allowing my Data Flow task to fire, I'd like to check the target table (OLE DB Destination) for a specific date value in a specific field. I've seen how the Lookup Task is commonly used to check for dupes before inserting, but I'm not able to use that method because the data value I want to search the table for is contained in a Global Variable (let's say "MyVariableDate").  Is there any way to check for any records in a target table where Date1 = MyVariableDate (i.e. scanning the entire table for any occurrence of MyVariableDate in the Date1 field)?

Thanks.


Xml load to sql table (please help)

$
0
0

As i am a novice to script writing, I have a requirement to write a script which can load xml content into sql table even if there is any addition of tags/columns in source xml. The destination table will be same and can be altered to suit the source xml. Could anyone please help asap!

Thanks in advance!

Ankit

SSIS 2014 compatability issues with VS2012

$
0
0

We are going to migrate ssis 2008 to 2014 with the help of VS2012.I found some compatability issues VS2012 for SSIS2014.I'm new to SSIS.I dont know what is that exact issues with VS2012?.And also they mentioned SSIS 2014 is compatable only with VS2013.

Can anyone tell me what is exact compatability issues for VS2012 with SSIS 2014?

Thanks Advance

Range from right to left

$
0
0

I would like to look up a range but from right to left instead of left to right.

Effectively using a lookup function but starting from the right.

I want to search a range of cells and stop at the first non-zero entry - starting from the right.

any ideas welcome.

thanks,

Alternate solution to DTC in SSIS transactions

$
0
0

Hi:

I would like to have my SSIS tasks to be transacted, but due to infrastructure issues in our network, cannot utilize DTC, because our SQL Boxes are situated where the DTC cannot communicate. Are any other alternatives? Is it a feasible alternative? Please let me know. 

I know we can use execute SQL task with Bein Trans, but I dont think dataflow and all will not be in scope of this and cannot be rollback in case of any error in the underlying tasks.

Thanks!

Shamsuddeen

SSIS Package failed but SQL Agent Job Report Success

$
0
0

I created a simple SSIS package to check if a file exists. If the file does not exist then the SSIS package fails. I use SQL Agent job to execute this SSIS package. If the SSIS package fails then the Agent job should fail and send email to alert me the file does not exist.

I manually executed the SSIS package and made sure it failed (no file exists) so I can test the SQL Agent job to see it generated an email alert. Strangely, the SQL Agent job ran successfully for this failed SSIS package. Why?

Viewing all 24688 articles
Browse latest View live


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