I have created a OLE DB Connection and Created a Flat File Connection pointing to a Shared Folder Location. We are using SSIS 2012 and executing the package through stored procedure. |
Any Idea!!
I have created a OLE DB Connection and Created a Flat File Connection pointing to a Shared Folder Location. We are using SSIS 2012 and executing the package through stored procedure. |
Any Idea!!
I created a custom ssis componet and placed the dll in Pipelinecomponents folder of sql server and also in GAC
But still it is not showing in Toolbox.Please suggest me how can i debug to find where the problem lies.
I am using correct framework version 4.5,i build dll with 4.5 framework
I have SSIS BIDS (SQL Server 2008) (32 bit), and am using Attunity connector to connect to an Oracle DB. A while back we had our systems upgraded to windows 7 64 bit.
I have installed Oracle 11g client on my machine, added TNS entries for the above Oracle server connection and also pointed this path (path for TNSNames.ORA) in the "PATH" environment variable as well as "TNS_ADMIN" (which I created) environment variable.
Even after doing all this, I get the following error when validating the Attunity Oracle source connector, the error is as follows:
"OCI Error Encouneterd. ORA-12154: TNS could not resolve the connect identifier specified, Test connection failed".
I also researched that this might be due to paranthesis in the path for devenv.exe (BIDS).... So I went through the following post, installed JUNCTION, and created a junction pointing to the actual directory for devenv.exe.
http://danieladeniji.wordpress.com/2011/08/03/microsoft-sql-server-integration-services-attunity-error-oci-error-encountered-ora-12154-tnscould-not-resolve-the-connect-identifier-specified/
This too has not resolved the problem....
Any help appreciated!!
Hi,
My SSIS Package(VS2012) have two different SQLServer connection called SrcCon and DestCon . And its working fine with normal scenario. But when I try to pass the connection string using a package variable with the help of Expression editor like connectionstring
= strconvariable, Then SrcCon getting connected fine but DestCon having issue to connect and all the task used by the DestCon marked as red. If I open the task and try to connect DestCon it will asking me to username and password every time. so every
time It will lead me the username,password prompt.
SrcCon : Provider=SQLNCLI11.1;Password=XXXXX;Persist Security Info=True;User ID=myuser;Initial Catalog=SrcDB;Data Source=*.0.0.31;
DestCon : Provider=SQLNCLI11.1;Password=XXXXX;Persist Security Info=True;User ID=myuser;Initial Catalog=DestDB;Data Source=*.0.0.31\Inst2;
Expecting valuable suggestions.
Thanks, Vasantha Prabakaran
HI Friends,
I have scheduled a job to run 2012 SSIs packages on 2008R2. I am getting this error can you please Give any ideas how can I run them without converting!
ERROR Is :
Package migration from version 6 to version 3 failed with error 0xC001700A "The version number in the package is not valid. The version number cannot be greater than current version number."
Using: SQL Server 2014, SSDT-BI 2014 (VS 2013)
Since last week I log my SSIS tasks in the sysssislog table. For each job that i execute, a new executionID (executionid column in sysssislog) gets written and attached to all my SSIS tasks (source-column in sysssislog).
Problem: I run the same ssis packages with different environments. Therefore I want to join environment information to the sysssislog table. The executionID itself doesn't show me to which job and environment the task/source execution belongs to. Because the environment information is attached to a job, I am searching for a link between the executionID and the job_id. There must be any, since a job is reason for producing all the log informations.
Does anybody have ideas how to get a link between job_id and executionID?
I appreciate it very much if you vote my Replies as Helpful or Mark as Answer if I could help you out. Thanks!
hi
i am using execute process task to append one file (header) to main file.
in expession i am using this
"/c copy \"" + @[User::DestinationHeader] + "\" \"" + @[User::FinalFile] + "\""
but only header is coming ,not the file content.
what should be corect syntax and what should i put in argument
We have a number of SSIS packages at work where the Parameter Size defined in EXEC SQL Tasks and OLEDB Command Transformations is defined as -1 for VARCHAR parameters.
They are working without issue, but an audit discovered these; what is the actual behavior of VARCHAR fields defined with a Paramter Size of -1 in an SSIS package? I could find nothing in the MSDN documentation.
Some folks here feel they should be changed when he opportunity arises, others feel "don't fix what ain't broke."
But what's the actual defined behavior, and is it documented somewhere?
I have a child package that I need to call x (10 or less) number of times and have those all run at the same time. The parent package should kick them off either simultaneously or one after the other, but the parent package should not complete until all child packages have completed. I will be sending a different parameter value to the child package for each process.
How can I do this in SSIS without hard-coding several Execute Package Tasks with the same package but different parameter values?
Hello,
A newbie to ssis.
I have a Table 1 with Address Details and Table 2 with Address Details of same customer but from different sources. I have loaded these two data sources and also joined these two tables.
I want to compare address column of one table with the other table, if they are not equal need to insert into another table.
With Sql query we can perform it, but just want to know how to perform this with ssis.
My IT department decided to change my windows id based on the new standard they came up with and now i am getting the following error when i try to execute my SSIS package i am not sure how to troubleshoot and i have looked around a little but didn't see this happen to others., help would be appreciated. below is the only documentation i have on the issue and it just does nothing when i press execute button
Warning1Warning loading InputFilesinaFolder.dtproj: Warning: Failed to decrypt an encrypted XML node. Verify that the project was created by the same user. Project load will attempt to continue without the encrypted information.InputFilesinaFolder.dtproj00Warning2Warning loading InputFilesinaFolder.dtproj: Warning: Failed to decrypt sensitive data in project with a user key. You may not be the user who encrypted this project, or you are not using the same machine that was used to save the project. If the
sensitive data is a parameter value, the value may be required to run the package on the Integration Services server.InputFilesinaFolder.dtproj00
[CurrencyID][int]IDENTITY(1,1)NOTNULL,[CurrXDate][datetime]NOTNULL,[Country][nvarchar](50)NOTNULL,[CurrXRate][float]NOTNULL,
I have an output table with
CREATE TABLE [dbo].[Extract_wt_693_Truven_Intel_PharmacyClaims_Output]( [RowId] [int] IDENTITY(1,1) NOT NULL, [OutputRow] [nvarchar](420) NULL, [Modified] [datetime] NULL, PRIMARY KEY CLUSTERED ( [RowId] ASC )WITH (PAD_INDEX = OFF, STATISTICS_NORECOMPUTE = OFF, IGNORE_DUP_KEY = OFF, ALLOW_ROW_LOCKS = ON, ALLOW_PAGE_LOCKS = ON) ON [PRIMARY] ) ON [PRIMARY] GO
This output row is populated with several columns concatenated together.
When I try to dump to my text file which is a fixed length the 2nd row downwards has a space between the margin and the beginning of the output ,I have tried all I can but it remains the same any suggestions.
iF i reduced it more than the row width above it ab normsP0000000400N0000006399154010425271 D P0000005043N0000006099154012118651 D P0000001621N0000003999154012151211
A-000000000000000000000000000000000000000 D
How do we the store files from directory into array. I have below code but looks like something is wrong. Any help much appreciated.
string[] sourceFiles =Directory.GetFiles(Dts.Variables["User::Dir"].Value.ToString(),"*.PDF");
string[] ar =newstring[]{ sourceFiles};
I've got eight 2005 SSIS packages that were accessing SQL Server 2018 for bulk data and a SQL Server 2000 for some data also.
Both connection strings use the Provider=SQLNCLI.1. These packages all are working daily without trouble even though the DB03 box had been upgraded to SQL2008 but I never changed that Provider to the SQLNCLI10.
SQL Server 2000 to SQL Server 2012 and I've converted the VS2005 projects to VS2008. It converted the SQL Server 2008 connection string provider to SQLNCLI10 but since our SQL Server 2000 box is still in place it doesn't convert that Provider. I thought well I'll just manually change the Provider to SQLNCLI10, recompile and then we'd have to DTSX to quickly swap on the new SQL Server 2012 box. But on recompile now it changes it back to the SQLNCLI.1 Provider.
Question: Must I wait til the Server is actually upgraded to be able to change and recompile the DTSX with the new Provider? How is this usually handled gracefully?
TIA
Harry
I am having a problem with a SSIS Project in the SSIS Catalog. When I schedule the package to run, I get an "Unexpected Termination" error.
If I look in the event viewer, I get the following error:
The SSIS Execution Process could not write to the IS catalog: SERVER:SSISDB Error details: Cannot find the symmetric key 'MS_Enckey_Proj_Param_13', because it does not exist or you do not have permission
If I check sys.symmetric_keys, this key does not exist.
If I check sys.certificates, I can see a certificate name MS_Cert_Proj_13, but no certificate named MS_Cert_Proj_Param_13.
We have recently upgrade the servers to SQL 2014 CU4 from SQL2012. All the other projects that are working fine were created on SQL2012 and uploaded then. This is the first project deployed since the upgrade.
I have created a new solution, recreated the parameters and copied the package into this solution. I then built this and deployed it with the same results.
Any one seen similar or know how to fix this?
Thanks
Hi there,
I have created one package for to process all cubes through foreach loop which is working fine.
for error tracking I was writing script in the OnError event handler
below code I was using in the script task
Dts.Variables("ErrorDesc").Value = Dts.Variables("ErrorDesc").Value.ToString() & Dts.Variables("ErrorDescription").Value.ToString()
OnPostExecution I was passing ErrorDesc variable to Insert table and related cubenames as well.
which is working fine.
the problem is
I was passing 4 cubes to the foreach loop container there are chances to fail multiple cubes.
when the first cube fails then the ErrorDesc variable holding related error and inserting in the table for that related cube
when the second cube fails the ErrorDesc variable holding previous Cube error and current Cube Error passing that to insert table which is onOnPostExecution
it looks like concatenating currenterror and previous errors....I need the error only to the related Cube error shouldn't concatenate with previous error...
Can anyone guide how to do that do we need to write any sort of logic in the script task ?