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

Logging into Text Files

$
0
0

Hello All,

I have created a SSIS Package and Enabled Logging for Text files.When i execute the package, it fails at the send mail task.But nothing gets log in to the log file.When i see the executuon results it shows "[Log provider "SSIS log provider for Text files"] Error: The SSIS logging provider has failed to open the log. Error code: 0x80070005.Access is denied.

Can anyone help in resolving this

Thanks,
Rahul


SSIS Project deployment

$
0
0

Hi,

We are using SSIS on Azure VM. I know Microsoft doesnot support SSIS on Azure, but this is the design we are trying to use since we did not want to have a seperate VM just for SSIS.

The development was in Azure VM  from gallery image "SQL Server 2014 RTM Standard Windows Server 2012 R2" and staging is in "SQL Server 2014 SP1 Standard Windows Server 2012 R2". When I try to deploy the project from dev to staging environment, I get the error 

TITLE: SQL Server Integration Services
------------------------------
The package failed to load due to error 0xC0011008 "Error loading from XML. No further detailed error information can be specified for this problem because no Events object was passed where detailed error information can be stored.". This occurs when CPackage::LoadFromXML fails.
 (SerialNumShipping)

Looks like a version error. Is the issue the difference of SQL server 2014 from RTM to SP1? Any help is appreciated.

Thanks,

Arul


Arul

Extract MS Access 2007 db using SSIS 2012 package--Locking issue backing up MS Access

$
0
0

Hi Guys,

Using SQL query inside OLEDB source I am connecting to a MS Access database and I extract data into a SQL server 2012 table. It works just fine. Below is my query. This job runs every 5 mins.

Transform Min(rf.value)

select s.Datetime, r.sampref from
 Replicate r,Sample s, Reference rf, DisplayInfo d where
s.SampNo = r.SampRef AND
r.SampRef =rf.SampRef AND
s.ProdRef= d.ProdRef AND
rf.CompRef=d.CompRef AND
s.SampleId <> '' AND
(r.Remark = '' or r.Remark is null) AND
(r.RepNo = 32000 OR s.NoOfReps = 1) AND
s.DateTime  >=  DateAdd('d',-1800,Now())  AND
d.header in ('Fat','TS','Protein','Total Protein')
group by s.Datetime, r.sampref
Pivot d.header
I have no control over MS Access db operations(backup and such). MS Access db is the back end for an application.


Problem is my SSIS package fails when MS Access database backup operation kicks in. Actually the backup operation also fails. So to avoid that I have to stop my SSIS package until the back up is finished. Is there a way to avoid the locking on MS Access db? I only have the ability to make changes to the SSIS package such that it won't lock the database.

PLease help. Thanks in advance. 


svk

SSIS custom DLLs during deployment

$
0
0

Hi,

I have some SSIS packages that has script components which reference custom dll that contains some functions.

The dll is registerd with a strong name in the GAC on dev server machine - SQL Server 2014. It works fine in Dev.

However for deploying to QA, I copied the project to my local machine and then to  TFS. Copied the .ispac to the QA server machine - SQL Server 2014. There, the package does not work and when i opned the SSIS job in the SSDT in QA server, the references are not found and path is empty.

DO I need to configure anything else on the server to be able to reference and use the custom dll? I assumed that i need not copy over the DLLS and do the add to the GAC in the staging machine - or do I need to do that.

Thanks for your help.

Arul



Arul

ssis developers must have a way of running 32 bit and 64 bit excel engines side by side

$
0
0

Hi. We run both 2014 enterprise and 2008 r2. I'll ask the question for 2008 r2. I do not have the ability yet to use office 365.

It seems to me that every ssis developer would find it necessary sooner or later to debug a pkg in 32 bit mode because of excel.  If I'm wrong stop me here.  And MS understands that.

It also seems to me that many of those people would prefer to also have excel 64 bit for a variety of reasons not related to ssis.  And MS understands that too.

When someone like me posts a question that "crosses" forum interest, inevitably they end up getting bounced back and forth.  But to stop the nonsense go to the forum whose members most likely deal with the issue in order to do their jobs.

I tried this question in an office forum at https://social.msdn.microsoft.com/Forums/en-US/5bb97790-69be-49e3-97c1-8858108ec762/needed-32-bit-but-lost-office-as-a-result?forum=exceldev  .  The closest I came to an answer is actually to a question that is the opposite of what I have.  I have a 64 bit office installation already.  And a desire to install the 32 bit component (see link in the referenced post) side by side with the latter so that ssis can do its thing.  And a general reluctance to messing with registry entries especially when I would need to interpolate the steps from an answer to a different question.

Can this forum tell me how they deal with this?  Someone here must know of a somewhat accepted approach.  Pls don't send me to a different forum.

Deleting duplicate records after joining two data sets in SSIS

$
0
0

Please suggest any optimal solution for the scenario mentioned:

I have two data sets A and B.I need to compare these two data sets and remove the duplicate records from data set A.
I also need to move these duplicate records to some other table for reporting.

After deleteing duplicate records from data set A, I need to use this dataset A for other trnasformations.

Thanks


How to add new data to an existing table from an external data source

$
0
0
I have a table for which I get new data on a monthly basis. The monthly data is an external file with columns separated by a tic (`) mark. The existing table has a primary key column called INVOICE_ID.

How do I add this external data file to an existing table and what happens I attempt to add a record that already exists on the table? I would like the duplicate record to be written to a new table while the good records get written to the correct table.

Is there a solution to my task?

Thanks.
Dave

Transaction property in SSIS

$
0
0

Hi,

If we set transaction property as required will it affect performance of data load ?

I just did one sample. I loaded one csv file which has 1 Million records with 5 columns to sql server table.

If I set transaction property as required to the dataflow task it is loading within 2 minutes. But if I am not setting it is taking around 25 minutes.

How transaction property related with performance.

Thanks,

Prabu.K.S


How to test a SSIS package while developming it?

$
0
0

Hi, I recently started learning SSIS. I have a question on how do we test a package to make sure that it working properly in development? My question is we may have to test it multiple times, but every time it runs data is loaded into DW and there may be duplicated data. Do we have to delete data before each test? or how exactly it should be done for proper testing in development in real time scenario. Can any one clarify my doubt?

--

thanks

sateesh

Messaging Queue Triggers

$
0
0

I have two questions. 1.I have been able to store and retrieve values in MSMQ. I have been experimenting with triggers. I want to have a trigger run an ssis job when new messages are received. I started by trying to open Notepad.exe when a message came in. I created a trigger then a rule to open notepad but I can't get it to work. 2. my second question is how do you remove messages from the queue once the data is read/processed?


Jeff Grammer

Date Expression in SSIS

$
0
0

Hello,

I have a Data Flow task which pulls data from database to a file. I have a date field,i need to change the format of the date to "mm/dd/yyyy h:mm:ss AM/PM

 
example: 1/31/2015  3:00:00 PM.

Thanks,
Rahul



converting PHP script to exe

$
0
0

Hi,

Can anyone tell me how can I convert PHP script  to exe on windows machine without using any third party tool.

Thanks in advance.

How do i capture no match rows from a lookup transformation (SSIS 2005)?

$
0
0

Hi All,

I am having a lot of difficulty capturing non matching rows from a lookup transform in SSIS 2005.

My lookup transform returns matching rows fine. It does not however return the (57) non-matching rows in the error output despite indicating that it has.

If i put a data viewer on the error output it shows that only null values are being passed to my destination. 

Please see the attached screenshots


Converting EXCEL to CSV without having Excel on the machine

$
0
0

Hi,

Can any one tell me how can I convert Excel file to CSV without having Excel on the machine using SSIS.

SSIS Logging showing random behaviour while logging event in dbo.syssisLog table

$
0
0

I was planning to use SSIS logging to get task level details (duration of running, error message thrown-if any, user who triggered the job ) for my package.

SSIS was creating dbo.syssisLog table under System table and it was working just fine. Suddenly it stops creating table under System table and start creating under Users table. Also now it is not logging some events which were logged previously when created under System table. Events like: PackageStart and User:PackageStart/User:PackageEnd event for some tasks.

Can anyone please guide me what's going wrong here ?


SSIS error - Data Flow Task LocaleID 0 not installed on this system

$
0
0

I get the following error when trying to import (have tried flat files, Excel & Access). I've searched but have not found a resolution. Any help is appreciated.

 

Jeff

Validating (Error)

Messages

Error 0xc00470b6: Data Flow Task: The LocaleID 0 is not installed on this system.
(SQL Server Import and Export Wizard)

Error 0xc004706b: Data Flow Task: "component "Source - Test1" (1)" failed validation and returned validation status "VS_ISBROKEN".
(SQL Server Import and Export Wizard)

Error 0xc004700c: Data Flow Task: One or more component failed validation.
(SQL Server Import and Export Wizard)

Error 0xc0024107: Data Flow Task: There were errors during task validation.
(SQL Server Import and Export Wizard)

 

Invalid License Message when Debugging Script Transformation

$
0
0

I am trying to debug a Script Transformation in Visual Studio 2013 (Update 5). When the package execution gets to my Transform, the following message is displayed instead of the VSTA Debugger:

Some sources on the web suggest uninstalling and reinstalling SSDT-BI. I've uninstalled SSDT-BI, but when I attempt to reinstall, the following error occurs:

Does anyone have a solution for this?

Execute Package from Another Project SSIS 2012 (Project deployment Model)

$
0
0

Hello,

How can we execute a package from another project passing the parameter values etc (In project deployment model)? Currently after adopting to project deployment model we could able to reference to packages within the project. 

does anyone encountered anything similar before? Tried scripting the package from catalog and using Execute t-sql task but i don't see how we could pass parameter values to the package.

Thanks!!

SSIS Error Code DTS_E_OLEDBERROR. An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available. Source: "Microsoft Office Access Database Engine" Hresult: 0x80004005 Description: "Unspecified error".

$
0
0

We are getting Below Error:

SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.  An OLE DB record is available.  Source: "Microsoft Office Access Database Engine"  Hresult: 0x80004005  Description: "Unspecified error".
End Error

Our Environment:

OS: Windows Server 2008 R2 Enterprise ==> Service Pack 1

Intel(R) Xeon(R) CPU

64-BIT OPERATING SYSTEM

Database:SQL Server 2008 R2

Below article says that we need to give permissions to "C:\Windows\ServiceProfiles" read and write access to proxy account and our proxy account is a windows domain account. Is this really required?

http://sqlserverscribbles.com/2013/05/07/ssis-package-fails-when-executed-as-job-using-proxy-account/

https://support.microsoft.com/en-us/kb/933835

https://social.msdn.microsoft.com/Forums/en-US/474fb7f4-f911-4bf6-a171-8622c2479966/office-driver-on-cluster-windows-2008-sql-2008-server

Error Message we see in SSIS Scheduled SQL Job is given below

Message
Microsoft (R) SQL Server Execute Package Utility
Version 10.50.6000.34 for 32-bit
Copyright (C) Microsoft Corporation 2010. All rights reserved.

Started:  10:45:02 AM
Error: 2016-01-28 10:45:04.62
   Code: 0xC0202009
   Source: Package Connection manager "Excel Connection Manager"
   Description: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005. An OLE DB record is available.  Source: "Microsoft Office Access Database Engine"  Hresult: 0x80004005  Description:"Unspecified error".
End Error
Error: 2016-01-28 10:45:04.62
   Code: 0xC020801C
   Source: DFT Check For Empty File or No data Excel Source [1]
   Description: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "Excel Connection Manager" 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: 2016-01-28 10:45:04.62
   Code: 0xC0047017
   Source: DFT Check For Empty File or No data SSIS.Pipeline
   Description: component "Excel Source" (1) failed validation and returned error code 0xC020801C.
End Error
Error: 2016-01-28 10:45:04.62
   Code: 0xC004700C
   Source: DFT Check For Empty File or No data SSIS.Pipeline
   Description: One or more component failed validation.
End Error
Error: 2016-01-28 10:45:04.63
   Code: 0xC0024107
   Source: DFT Check For Empty File or No data
   Description: There were errors during task validation.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).
Started:  10:45:02 AM
Finished: 10:45:05 AM
Elapsed:  3.032 seconds

Pervasive SQL v12 o SQL server 2012 via SSIS - HELP!!

$
0
0

I have been trying to import data from Pervasive v12 to SQL Server version12 for quite some time to no avail. I can connect but I am getting the error and have tried many different ways.

I need to build a package that can be run routinely to pull the information from Pervasive to SQL for an eventual cutover, decommission and building of a web interface for archive purposes.

.NET Provider for ODBC = "Cannot locate the mapping file to map the provider types to SSIS types".

Pervasive Current release 4.2 = "Column information for the source or the destination, could not be retrieved or the data type from the source were not mapped correctly"

pervasive OLEDB = "Cannot locate the mapping file to map the provider types to SSIS types".

Would appreciate some help.

Viewing all 24688 articles
Browse latest View live


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