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

Ftp send file task failure SSIS

$
0
0

Hello Experts,

I have created a package which can send files to FTP server,Everything  fine when i run package in my local env.

But when i deployed it into dev and  try to execute package from dev server with ssis catlog,

it thrown me an error stating "Unable to send file to ftp",the same is happening with sql agent job.

Can anyone please help me on this

Thanks in advance 


ADKR


catalog.operation_messages table is empty

$
0
0
I am having an issue deploying an SSIS package to a new SQL 2014 installation.

The error states to query the operation_messages view for the operation identifier ID 2

When I query the DB with select * from catalog.operation_messages no rows are returned, just column headers.

SQL was installed with domain accounts and not the defaults.  Integration Services was installed with a different user account than the SQL DB. 



help?



Extract data from website?

$
0
0

Hi Experts,

I am wondering if there is a solution to extract data from a website?

I do have a website where I would need specific field values extracted from the website.

Can anyone please suggest where to start?

Thanks in advance.

How to transfer files to SFTP with the help of Control-M in SSIS

Check SharePoint connection exists (ODATA) before attempting to read a list

$
0
0

Hi 

Hopefully a quick question.

I have a SharePoint site with multiple sub sites each created from a template. I use SSIS to poll each site and pull data from it. All very easy. Now as this template changes (i.e. new lists are added to the template) and therefore each newly created site gets the new lists. 

However the older sites created using the older templates will not get the new lists therefore will not be available to pull data from.

Now my question. In ssis how can i check that a sharepoint connection (i.e. to a sharepoint list) is validated before i try and pull the data from it? Or if i get an error that the list does not exists ignore it and move onto the next ssis component.

I would prefer to validate the connection is valid rather than ignore the error as i dont want to ignore an error that I need to deal with.

Hope that makes sense

Thanks

Paul

It's possible convert a string html to PDF, in a Script task?

$
0
0
Hello,

I wonder if you can generate a pdf from a html string?
I've tried a few different libraries, and all work when I create a WindowsForm project, but when I create an integration Services project does not work, does anyone have any tips?

Thank you.

ssis c# script to process data

$
0
0

Hello,
The varchar(max) column of tbl1 is populated with data from a comma delimited .csv file data...
How can C# process each line at a time inside the varchar(max) column.
Thank you

In SSIS more than 10000 rows in the Source Excel sheet getting failed through job

$
0
0

Hi Friends,

In SSIS, more than 10000 rows in the Source Excel sheet is getting failed while running through Agent  job.

more than 10000 rows in the source excel is running fine by manually.

Error :

Data Flow Task:Error: Opening a rowset for "Sheet1$" failed. Check that the object exists in the database.

Data Flow Task:Error: SSIS Error Code DTS_E_OLEDBERROR.  An OLE DB error has occurred. Error code: 0x80004005.

Version:

SSIS 2008 R2

Please help on this.

Thanks,

LuckyAbdul


DTS with input wrongly set encoding type

$
0
0
I didn't change the enconding of the input, which are flat files, now I realize and tried to change the input as utf-8 but I get a lot of warning/errors on the process. How can I change that without breaking anything? is there some way?

Visitando a los Jedis

Connecting to the Integration Services service on the computer failed with the following error: "The specified service does not exist as an installed service.".

$
0
0

I get this error when I setup a new SSIS project in SSDT, specifically when I attempt to add an existing package from the package store (the error occurs before I can select a package from the package store). The SSIS packages are located in C:\Program Files\Microsoft SQL Server\120\DTS\Packages. 

I have verified SSIS service is up an running - I have already setup SQL Server Agent and have ran 400+ SSIS packages from the package store (MS SQL Server 2014).

Additional error message content: 

This error can occur when you try to connect to a SQL Server 2005 Integration Services service from the current version of the SQL Server tools. Instead, add folders to the service configuration file to let the local Integration Services service manage packages on the SQL Server 2005 instance.

 

Connecting to the Integration Services service on the computer failed with the following error: "The specified service does not exist as an installed service.".

Microsoft SQL Server Management Studio      12.0.4213.0
Microsoft Analysis Services Client Tools      12.0.4213.0
Microsoft Data Access Components (MDAC)      6.3.9600.17415
Microsoft MSXML      3.0 6.0
Microsoft Internet Explorer      9.11.9600.18350
Microsoft .NET Framework      4.0.30319.42000
Operating System      6.3.9600

failed validation with status VS_ISBROKEN

$
0
0

After completing development of a project, I ran is successfully on my development machine to test everything, before deploying it to our test environment. I then deployed the project, installed my customized assembly, and ran the package on the test server. One data flow task returns the "failed validation and returned validation status of VS_ISBROKEN."  When I run the all executions report and view the context details for the failure, there really isn't anything useful listed to help narrow down the troubleshooting.

So, I copied the solution to the test server and opened it up with VS, and below is a screenshot of the task executing.  As you can see, there was an OLEDB error, but the task executed and completed successfully.

I'm not certain, if the initial OLEDB error is causing the validation failure, and if it is, how do I resolve it because the task on its own completes successfully, when I execute it in VS.  I'm a little confused.

Any insight would be greatly appreciated.

Thanks,

Chris


Reference the project folder in an expression for the flat file destination

$
0
0

Good day,

Does anyone know how to reference the Project or Solution folder as the path for flat file destination?

I am currently creating a package that will take data from a SQL server table, export it to a pipe delimited flat file, and then upload to a SFTP site.  I am doing it on my local machine, but it will be later ported to the database server so it can be scheduled using SQL server agent.  I'd like the flat file destination to go to the Solution/Project folder, so when I port it, I don't have to make any modifications to the expression. So basically I want to know if  there is a variable that references the relative path of the solution/project folder that can be used in an expression?  I tried this ...$(SolutionDir) ...but the expression returned an error.

Thanks


Chris W.

Problem saving information in a Flat File Destination - SSIS

$
0
0

Hi there

Inside a ForEachLoop Container I've got the next configiuration:

As you can see, from my source I've got some rows with some problems. With the data viewer I can see them. In theory the flat file destination should record this values on the file indicated by the connector. But instead of that in the destination file I can only see the header and not the values.

However, when I execute the only the data flow one time using the document that is invalid I am getting the result that I was expecting.

What can be wrong with the container's configuration?


SSIS Script C# OpenXML System.IO.IsolatedStorage.IsolatedStorageException

$
0
0

I have a SSIS script to delete a specific row from an Excel spreadsheet used to force numeric formatting.  When the file is small, the script works great.  When the file is large (over 8 Meg I believe), and the Packaging API goes to isolated storage the save fails because the appdomain had no identity assigned. 


How can I simply either add an identity or override the switch to the utilization of isolated storage and not need the identity for the script to save the file?

I may have overlooked a simple answer, but I have not found a workable solution yet.

How should I clean up filenamedate( FilenameYYYYMMDD_HHMM.csv) appended csv files from a directory using ssis package

$
0
0

I have a file which I archive every day using SSIS file system task .

Archiving means moving the file from source to destination directory.

Now these files are building up and I want to have mechanism setup in the package itself to do a lookup in the directory and see how many files are present and delete them if they older than 4 weeks .

My files have the following format.

FilenameYYYYMMDD_HHMM.csv

e.g test20160501_2050.csv




SSIS Transactions issue

$
0
0

Hi Everyone,

This is regarding one of the issue in PROD environment.

We have recently implemented SSIS transactions in one of the SSIS package and is working in all the internal environments including PRE-PROD but when we have deployed this package in PROD environment and started executing, it is throwing the attached exception.

We are thinking that the attached exception is misleading us and suspect MSDTC settings is the root cause of the issue when we have debugged further. The SSIS package is started working when we have reverted the SSIS transactions settings (changed the Sequence container property from Required to Supported)

PROD MSDTC settings are matching with the internal environments including PRE-PROD.

Appreciate your help.



SSIS package running forever despite having finished loading files

$
0
0

Something is beating my understanding here. I have been running a package to load nearly 7000 CSV files. All the files were successfully loaded but the package continued running Task by Task through all Tasks on the Control Flow pane. I don’t understand why and how that is. I am using SQL Server 2008R2 on Windows Server 2012R2 Standard Edition (64bit). 32GB RAM.

Thanks,



Mpumelelo

Data Tap - File is not created (SSIS 2012)

$
0
0

Hi,

I´m using data tap to create an output file.

The package runs fine. However, no data tap file is created in the C:\Program Files (x86)\Microsoft SQL Server\110\DTS\DataDumps folder.

My code:

declare @exec_id int;

exec SSISDB.catalog.create_execution
	@package_name = 'Customer.dtsx',
	@folder_name='R4J_Projects',
	@project_name='SSIS_Rafael_02',
	@execution_id=@exec_id output;

--data tap
exec SSISDB.catalog.add_data_tap
	@execution_id = @exec_id,
	@task_package_path = '\Package\DFT_Customer_DW',
	@dataflow_path_id_string = 'Paths[Customer.ADO NET Source Output]',
	@data_filename = 'output.txt';

exec [SSISDB].[catalog].[start_execution] @exec_id;

Thanks.

unable to find error message preventing deployment of package to SSIS

$
0
0

when deploying an SSIS package I get a deploy error, I am using Visual Studio 2013 Update 5 to deploy a package to SQL.
The default accounts were not used, AD accounts were used.  I am running visual studio from a laptop and SQL is on a server.  The account I am running Visual Studio under is an SQL admin account and I manually added them as a SSIS Admin.:

TITLE: SQL Server Integration Services
------------------------------

Failed to deploy project. For more information, query the operation_messages view for the operation identifier '8'. (Microsoft SQL Server, Error: 27203)

For help, click: http://go.microsoft.com/fwlink?ProdName=Microsoft%20SQL%20Server&ProdVer=12.00.4213&EvtSrc=MSSQLServer&EvtID=27203&LinkId=20476

------------------------------
BUTTONS:

OK
------------------------------

The problem with this is that the table is empty.

I found some thing under catalog.operations where I see the attempts to do something but no error messages.

Checked:

catalog.operations (shows attempts with no success or fail flag)
catalog.operation_messages (empty)
catalog.projects (empty)
catalog.event_messages (empty)

Something is up I just don't know what.

help?

SQL Agent Job based on a table values

$
0
0

Hi,

I need to run an SSIS package via SQL agent job which should get triggered based on table value

I have a SharePoint frontend which will populate a table in database( updates/insert)  when user submits a form :- 

Config Table

Job Name  To be run   Execution Datetime

JOB1         Y                

SSIS will read this table and executes a job for which to be run = Y  and after execution, it will update this with N and updates the column Execution DateTime .

Any configuration in SQL agent which can be derived from such table or event etc

Viewing all 24688 articles
Browse latest View live