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

SSIS package not visible after deployed to the server

$
0
0

 Hello, everyone,

I created a SSIS pke (2008 R2) and manifest file on my local computer. I then copied both files to the testServer and deployed my package to the file system (D:\Test) of the server. I verified the .dtsx and the .dtsConfig files are all there. But when I connected to the server in SSMS and tried creating an agent job, the D:\Test directory is not available for browsing. Only  the folders on my local computer are available. When I connected to the integration services and checked in the stored packages folder, there is nothing there either.

Did I do anything wrong? How could I get my agent job "see" the deployed package on the other server? Your help and information is greatly appreciated.

Thank you in advance!


increment value in ssis

$
0
0

hi

i am using script task and i need 1 variable which has value 00000

when first time file runs it should be 00001,second time it should be 00002

how to achieve that in variable.

please help 

How to Install SSIS

$
0
0

Can someone tell me how to install SSIS?

I've gone through Add/Remove programs, and attempted to update SQL Server 2005 but cannot seem to find the correct components to add, and since I cannot see the SSIS name in my Services panel, i assume it hasn't been installed.

execute sql task case statement

$
0
0

hi

 select increment = case when len(max(id) = 1
then "0000" + max(id)
when len(max(id)) = 2 then "000"+ max(id)
end

 from filesequence

i am getting error incorrect syntax near then

how to use above code properly

The File name property is not valid. The file name is a device or contains invalid characters

$
0
0
I have an SSIS task that has run successfully for years. They just moved the dtsx to a new server and now it is failing. 

Issue:

The task has a data flow that writes a raw file destination. It then has a subsequent data flow that reads the raw file destination. 
The path and name of the raw file is passed to each of the data flows via the same variable. 
The raw file resides in a folder on the server in the same path that the dtsx resides in. 
The task fails with the "The File name property is not valid. The file name is a device or contains invalid characters" error when trying to access the raw file.

What we have done to troubleshoot:

1. I ran the task successfully on my local machine so it is definitely a server issue.
2. The first thing we were seeing was that it failed trying to write to the raw file. The task is set to "Create Always". 
3. We saw that the dba's copied over the entire directory structure from the old server which included a previously created raw file, so we deleted the raw file.
4. We reran the task and it successfully wrote a new raw file but then failed on reading the raw file with the same error as above.
5. We reran the task AGAIN and this time it failed trying to write the raw file throwing the same error as above.
6. The dba looked at the directory and the account that performs the task has full control.
7. The dba looked at the raw file that was created and verified that the account that performs the task has full control of the file and that it is the owner of the file.


Summary:

The task fails when trying to access the file EXCEPT when the file does not exist. In that situation it can write the file but subsequently fails in accessing it again.


SQL SERVER 2014 - Project consistency check failed. The following inconsistencies were detected: package.dtsx. has a different ProtectionLevel than the project.

$
0
0

I am getting the following error when I right click on a package in solution explorer and execute using SQL Server 2014:

Project consistency check failed. The following inconsistencies were detected: package.dtsx. has a different ProtectionLevel than the project.

Luckily my solution only has 10 packages.  I have verified and re-verified that everyone is set to dontsavesensitive.

I have verified and re-verified that the solution has the protection level to dontsavesensitive.

What on earth is going on here?  I am using windows authentication and have no need for the package to save any sensitive information, nor should there be any.

Can someone please help me out here?


The Degenerate Dimension

i want to run SSIS package every time based on last time job processed data time.........

$
0
0

Hi all,

i have SSIS package ..its needs run every day .for that we were schedule a job for ssis..

but we need when package going to run that time we have to take data, besed on last time processed date..for that am using msdb data base to get process date ..but am not yet schedule a job am going to do 1st time..

insde the package am using this query using execte sql task 

SELECT     CASE WHEN DateDiff(Day, CONVERT(DATETIME, LEFT(MAX(H.run_date), 8)), GetDate()) = 0 THEN 30 ELSE DateDiff(Day, CONVERT(DATETIME, LEFT(MAX(H.run_date), 8)), GetDate()) END   AS Dates
FROM            dbo.sysjobhistory AS H INNER JOIN
                         dbo.sysjobs AS J ON H.job_id = J.job_id
WHERE        (H.run_status = 1) ..

if job already ran means its was working fine.if job not yet scheduled means its giving error...


pandiyan


ssis catlog

$
0
0

Hi Guys,

my source is oracle and destination is sql server and i created two project connections and i parametrized them.all are running fine in bids but when i uploaded it them into catlog and tries to execute it failed with oracle source and stating that

"SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "xxxxxxxxx" failed with error code 0xC0202009.  There may be error messages posted before this with more information on why the AcquireConnection method call failed."

any idea how to make this to work

Thanks in advance


ADKR


SSIS Raw File Reader Utility for SQL Server 2014

$
0
0

I have a RAW File reader that worked with SQL Server 2012, but since I've installed SS 2014, it doesn't work.  Can anyone direct me to a RAW file reader?

Thanks.

SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

$
0
0

Hi

I am using Excel as a source. when i put excel in the network folder then i am getting this error

SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER

[Excel Source [1]] Error: 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.

But when i put the same Excel file in my local drive then the package is runnig fine. What can be the reason for this?

Timeout Error

$
0
0

Hi,

I have a number of SSIS packages that need to be executed one after the other through a user interface (VB.NET 4.0). Most of the packages are executed correctly, except those that take longer than 30 seconds. Then I always get the error message "Timeout expired. The timeout period elapsed prior to completion of the operation or the server is not responding".

One package I am struggling with takes about 2 minutes to complete. When I execute the package manually in SSIS it always works fine. But when I start it from the user interface it fails always after exactly 30 seconds. The connection I am using in the package is a OLE DB connection.

There are already a number of threads on this subject. After having read these, I have changed the following parameters:

1) in SQL server: Query Execution Option - Sql Server: Execution time-out: 0 seconds (no time-out)

2) in SQL server: Query Execution Option - Analysis Server: Execution time-out: 0 seconds (no time-out)

3) in SQL server: Designers - Table & Database Designers: Transaction time out after 6000 seconds

4) in SSIS: Option Database Tools - Query & View Designer Options: Uncheck "Cancel long running query"

5) in SSIS: Option Database Tools - Table and Database Designer Options: Transaction time out after 6000 seconds

I have restarted the service. I have re-deployed the packages. But the package still fails after exactly 30 seconds. I don't know what else to do. Can anyone help ? Thanks.


Parametering mail according on who's running the package

$
0
0

Hi guys, do you have idea if there is a way to split an email based on who is running the package? Pratically I got three users, me, John and Bill (fantasy name). If it is me, from my machine, that is running the package I want me as sender and receiver (me@network.com), if it's John I want John as sender and receiver (John@network.com) and if Bill I want Bill's mail. I know I can parameter the send mail task but I guess I need a table with the mail (so, select, take mail and pass to the variable). How would you do? Advices...

Thanks

SSIS Script task error Class Not Registered 80040154

$
0
0

Hi having some trouble with a package that has a script task that picks up an excel file and references Microsoft.office.interop.excel which is all fine.  It runs fine on my workstation but when i deploy this to server it errors.  At first i got an error over the ACE drivers which i resolved installing the 32 bit Microsoft Access Database Engine 2010 Redistributable version but now im getting this error:

Script Task:Error: Retrieving the COM class factory for component with CLSID {00024500-0000-0000-C000-000000000046} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).

 I have checked that the proxy account has access to the excel location.  I have also made sure the package is running in 32Bit mode on the server and in my debug environment, which, as i say works fine in debug but as soon as i deploy to server it fails.  I have also checked to make sure that Microsoft.office.interop,excel exists in the GAC and is the same version.

I am at a loss as to what the problem here is....  Anyone got any ideas?

Thanks

SQL Server 2012 SP2 CU2

DTEXEC "Unparsable Query" error related to WQL

$
0
0

I have an SSIS pkg. that does not execute due to "Unparsable Query" error.  The Task that fails is a WMI event watcher task. 

Here is the WQL statement that is a WQLQuerySource property:

"SELECT * FROM __InstanceCreationEvent WITHIN 5 WHERE TargetInstance ISA "+ @[User::gs_Quote] + "CIM_DirectoryContainsFile" + @[User::gs_Quote] +"
AND TargetInstance.GroupComponent = "+ @[User::gs_Quote]+ "Win32_Directory.Name=\\"+ @[User::gs_source_path] + @[User::gs_Quote]

Here is the command line used:

dtexec /file"C:\Don\SSIS\Pilot\Pilot\Pilot_Pkg.dtsx" /set \Package.variables[User::gs_source_path].Properties[Value];’s:\\\\Test_Polling\’

NOTE:  The WQL statement does run without errors if I execute the pkg. in BIDS however, the command line generates the above error.

Any suggestions?


Mysearay

check for text files in folder

$
0
0
How do we check if ther exist any text file in a particualr folder.

Package deployment from Newbie

$
0
0

Hi,

this wil lbe my firt time to deploy  and run some SSIS package to SQL server. I have a solution that contains 5 package that must be run in a specific sequence, I know the solution must be deploy on the SQL server but after that, this is unknown territory for me, the my question is:

1- how can I ensure that the sequence I need is process properly ?

2- how can I add constraints on package if lets say package 2 get an error and I do not want package 3-4-5 to run ?

thanks

SSIS - creating part of the file name from an id in the database

$
0
0

I am trying to figure out how to pull an "id" from my data source to include in the file name. Right now the file name created looks like customer_002_timestamp.txt. I need to add the id to the file name and I need to grab it at the time I get the data, so then the file name becomes customer_002_id_timestamp.txt.

My data source is Oracle and I am using Attunity, so I do not have the capability of using the resultset found in the SQL Task because I have to use the data task.

Has anyone ever extracted an id from a query against Oracle using the Attunity connector to add as part of the file name? If so, how would I add that to my control flow task?

Thanks in advance for any assistance.

Deploy packages developed in VS 2013 to SSIS catalog 2012 SP1

$
0
0

Hi There!

I have few packages that I developed in VS 2013 and recently got access to SSIS Catalog on a server that's SQL 2012 SP1. I tried deploying my packages to the catalog to test execution. Unfortunately the execution fails with message "...the version number cannot be greater than the current version number". I interpret the message as your SSIS packages were created with a version that's higher than what's supported by SSIS Catalog.

Is there a property in VS 2013 that I can set to work around this error?

(If possible, I would want to avoid manually re-developing the packages to SSDT/VS 2012 - which btw, works great!)

Thanks!


Paras Doshi (Blog: ParasDoshi.com | Twitter:@Paras_Doshi )

Extracting excel data using script task

$
0
0

Hi All,

I have a requirement in which the task is to read data from .xls file and put it into a text file. The SSIS should read data from Excel cell A:4 to L:15 and also it should capture 1/16/2015 in a seperate column. The Month-Year value on the row is dynamic. Every month old month-year gets deleted and new month-year gets added to the excel sheet. For example one month from now, Feb-15 will be deleted and Jan-16 will be added to the end.

I tried this using SELECT * FROM [SHEET1$A4:L15], then i used unpivot transformtaion to get my data. But when i tried changing for example Mar-15 to March-15 it failed bcoz metada has changed. similarly suppose if i delete Feb-15 and add Jan-16 again my package failed. I think we  need to use script transformation to do this.  any idea how to do it using script.

Any help would be greatly appreciated.

I am using SSIS 2008R2

I have attached the input file(Excel Sheet) and also i have attached the expected output file(Text File).

CSV File Data Loading in SSIS

$
0
0
Hi All,

Every 10 mins We are getting a Multiple CSV files into one folder. We are loading multiple CSV files into Target(SQL Server database).We are using Foreach loop container to achieve the same.

Scenario:

Let us assume one of the CSV File have 3000 records, loading into Target(SQL Server database), after loading of 2000 records into Target, Source system is down. In the next run the same CSV file Loading , package should pick up from record 2001 to 3000.

How can we achive the above Scenario. We are using 2012.

All helps would be appreciated. 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>