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

SSIS 2012 Password Parameter not working

$
0
0

Ok - feeling stupid because I've had this working before.

I have a project level connection manager to a SQL Server database. 

I have a project level sensitive parameter for the password.

I have an expression on the connection manager to set the password.

However - I still get "Login failed for user" error because I assume the password isn't being passed in correctly.

Any thoughts?


Non-SysAdmins have been denied permission to run DTS Execution job steps without a proxy account. The step failed.

Upgrading to 2016 / Sendmail Error

$
0
0

I updated SCSM to 2016 AND Cireson sendmail to 3.0.2.2016 - which is the newest Version available @Cireson.

  • I also already updated the Exchange connector Link 
  • I have the same settings like I've in the 2012R2 solution, where the email is working well.
  • My user is in the CMDB (Link)

Any ideas, what I am missing?

The error message is:

Date: 11/21/2018 9:15:57 AM

Application: System Center Service Manager

Application Version: 7.5.7487.0

Severity: Error

Message: Error

 

System.NullReferenceException: Object reference not set to an instance of an object.

   at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.a.b(ManagementPackObjectTemplate A_0)

   at System.Linq.Enumerable.WhereEnumerableIterator`1.MoveNext()

   at System.Collections.Generic.List`1..ctor(IEnumerable`1 collection)

   at System.Linq.Enumerable.ToList[TSource](IEnumerable`1 source)

   at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData.GetNotificationTemplates(String templatePrefix)

   at itnetx.consolemail.assembly.Classes.ConsoleMailWizardData..ctor(WorkItemTypeEnum type, IDataItem& dataitemIncident)

   at itnetx.consolemail.assembly.Classes.ConsoleMailTaskHandler.ExecuteCommand(IList`1 nodes, NavigationModelNodeTask task, ICollection`1 Parameters)

SQL 2016 INstallation and geting 1638 Error - "Cannot install a product when a newer version is installed."

$
0
0

Fellow SQLers,

Ran into an install item (SQL 2016 Dev Edition with sp1). SQL install went well - sql engine, ssrs. Then SSDT.

Then needed to go back and install Integration Services. Install failed with the 1638 error. Log file showed "Cannot install a product when a newer version is installed." 

Forums researched indicated it was the MS VS C# 2015 Redistributable.

On the box, there was MS VS C#2015 Redistributable x86 installed AND MS VS C# 2017 (x64) Redistributable installed. The only way we could get the install to work was to remove the MS VS C# 2017 Redistributable. The install built the MS VX C# 2015 Redistributble (X64) as well.

So my question is would you advise to manually reload the MS VS C#2017 Redistributable? The only other ODD thing we see on the box is SQL Server 2017 Import Export Wizard and I have no idea how that got on the box.

Thanks

MG

DDMMMYYYY date to DB_Date in SSIS Package

$
0
0

I am trying to run a simple SSIS import from a flat file to a SQL Server database.  However, I have a date stored in the DDMMMMYYYY format in the input file.  I cannot get it to convert into the db.

 

I get an error that it might loose a value as it tries to auto convert if I change the source column data type from string to date.  I get an invalid cast exception if I try to just make the conversion on the SQL Server destination step. 

 

Does anyone have an idea of how I can fix this one?

SSIS 2016 - Connection Managers Not using Parameters or Environment Vars

$
0
0

Hi,

I have upgraded a 2008R2 SSIS solution to 2016.

I have done the following steps:

1. Converted to Project Deployment Model
2. Converted Connections to Project level connections
3. Created project parameters
4. Parameterized each project connection to use a parameter
5. Deployed project to SSISDB
6. Created Environment variable and parameters
7. Clicked 'Configure' on project (in SSISDB) to assign Environment variables to parameters
8. Clicked 'Execute' on the package (within SSISDB) and selected the Environment to use

However, the package does not run with the environment variables - or with the parameter. It continues to use the package setting.

Any idea what I might have missed?

Thanks!

Unable to Deploy Package With Project DQS Connection Manager

$
0
0

I've run into an interesting issue when trying to deploy SSIS packages that leverage project level DQS connection managers.

We're able to deploy SSIS projects and run the SSIS packages to our development environment just fine and run them with no issues. But when trying to deploy the exact same projects to our test environment, the deploy constantly fails at the same point: changing protection level.

After double and triple checking that the package protection level is the same as the project protection level, I decided to try removing the project level DQS connection manager and replacing it with a package level DQS connection manager. Voila! Deployed just fine with no issues.

I'm at a complete loss as to why 1.) the same project(s) deploys fine to one server and not another, and 2.) why a DQS connection manager would have anything to do with the protection level??

I know when deploying to a catalog, it changes the protection level to storage, but again, not sure what a connection manager has to do with that.

The only difference I can see between the two servers are the versions.

The server which has no deployment issues is at 14.0.3029.16

The server that is having issues is at 14.0.3035.2

Apparently 3035.2 is a security update meant to address a security flaw:

https://support.microsoft.com/en-us/help/4293805/security-update-for-remote-code-execution-vulnerability-in-sql-server

After reading this, I still don't see where this would impact deploying SSIS packages with a DQS connection manager.

We'd be fine with using a project level connection manager, but we have two DQS servers and package level connection managers don't travel well between environments.

If anyone has any insight into this or has seen this, please feel free to comment!

Thanks!


A. M. Robinson

SSIS Package Best Practice for SQL Server Passwords

$
0
0

So right now I am providing my SQL Server Password via a Variable. This is surely NOT going to fly with our DBA...having a Password readily available via a SSIS Package Variable and ultimately within the XML.

So what is the Best Practice for providing a Service Account Password to a SSIS Package .dtsx for SQL Server Access and the OLE DB Connection Manager for SQL Server and then ultimately scheduling this SSIS Package to run via a SQL Server Job.

Trying to provide all the entities to give you a feel to where we're going with on this.

Thanks for your review and am hopeful for a reply.


Disable Server As SSIS Worker

$
0
0

We were at one point looking at using SSIS scale out for our environment. As it turns out, we won't be generating near enough traffic to warrant the additional horsepower, so we want to decommission the worker node. Also, we need to remove any trace of a previous master/worker environment off of our "main" server.  It appears they may be some unforeseen issues with deploying certain types of packages to a server that leverages certain types of connection managers.

Specifically, we are running into issues with deploying packages that use a project level DQS connection manager. When trying to deploy a project that has packages like these, the deploy continually fails on the "Changing protection level" step. These exact same projects that fail deploy fine with no issues to our development environment. Both environments are at the same SQL Server level (14.0.3045.24). The only difference is that one is configured as a scale out master, the other isn't.

Do we need to completely reinstall SQL Server to remove those components, or can we just use Installation Center and "uncheck" scale out and it will do the rest?

And has anyone else seen anything like this ever?? I have no idea what DQS Connection managers would have to do with protection levels and scale out...

I'm at a loss on this one!

Thanks in advance


A. M. Robinson

Can I create a SSIS package to get only row 12 to row 123 from an excel sheet..??

$
0
0
I have an excel file (report which is scheduled into shared folder daily) which has around 300 rows of data but I need data only from row 12 to row 123 which has to be inserted into table daily .Can I do this using a SSIS package..how can i do this?

am I clear ........let me know..
Thanks..

SSIS job step fails if use proxy

$
0
0

It's a simple job having only one step. If let the job's steps run as "SQL Server Integration Services Package", everything is OK. If use proxy it fails with error message saying "Unable to start execution of step 1 (reason: Error authenticating proxy DOMAIN\local_admin_proxy, system error: The user name or password is incorrect.). The step failed."

The proxy's identity is a local administrator user. The setting is SQL Server 2016 database and Management Studio, more information available if needed.

Thank you in advance for your help.


SSIS Expression Builder - how to use OR clause

$
0
0

Hi guys,

Basically what i would like to get is that -

records where ClientUno is greater than variable value of Client_max_UnoOR records where IndustryUno is greater than variable value of Industry_max_Uno.

I have a SSIS variable named History and inside that i am passing the following statement :

"select [ClientUno],[IndustryUno],[Datetime],[Type],[Value],[Description] from [dbo].[HistoryTable] where [ClientUno] > "+ @[User::Client_Max_Uno]+" || [IndustryUno] > " +@[User::Industry_Max_Uno]+""

When i do the above, I am getting the following error:

Any ideas how to fix the above ?

Thanks,

grk....

To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher.

$
0
0

Hi All,

SSIS Package is failing with the below error, please help to troubleshoot the error.

Server Version: Microsoft SQL Server 2016 Enterprise Edition and SQL Server Data tools 2017 is installed.

Error: 2018-11-22 14:46:54.97
   Code: 0xC000F427
   Source: TPOLICYCERTRIDER INC 1 SSIS.Pipeline
   Description: To run a SSIS package outside of SQL Server Data Tools you must install Standard Edition of Integration Services or higher.
End Error
DTExec: The package execution returned DTSER_FAILURE (1).

Let me know if you need any other details.


Vinai Kumar Gandla

How i need pass ID and name into varibales and execute Procedure

$
0
0


I Need to execute 2 Procedures
Ex :

Exec usp_Employee @name = 'Employee'

Exec usp_Department @ID = 2,@name = 'Department'

I have a master table where I have records like this

ID name
1  Employee
2  Department
3  Class

How can I pass this table data into variables send to the Procedure as parameters

The Employee name should go to usp_Employee Procedure as parameter and the ID and Department name should go to usp_Department Procedure as parameter

I have created Execute SQL TASK in that I have placed this Procedures

Exec usp_Employee @name = ?
Exec usp_Department @ID = ?,@name = ?

And used For loop  container but it is not  executing as expected.

How can I loop the master table data into variables and pass it as parameters to those Procedures.

Suggest me

 

Sql Agent job issue

$
0
0

Hello Team ,

i have done migration VS 2008 packages to VS 2012 now and package sis running perfectly .

Now i have create the SQl agent job at 2012 server and getting error mention on screen shot but migrated package running fine with old ssis 2008 agent jobs .

  Code: 0x00000005     Source: Get Current Timestamp Get Current Timestamp     Description: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.  End Error  Error: 2018-11-21 16:00:03.01     Code: 0x00000005     Source: Get Current Timestamp Get Current Timestamp     Description: CS2001 - Source file 'C:\windows\TEMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs' could not be found, CSC, 0, 0  End Error  Error: 2018-11-21 16:00:03.02     Code: 0x00000005     Source: Get Current Timestamp Get Current Timestamp     Description: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.  End Error  Error: 2018-11-21 16:00:05.12     Code: 0x00000005     Source: heck Extract date exist heck Extract date exist     Description: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.  End Error  Error: 2018-11-21 16:00:05.12     Code: 0x00000005    Source: heck Extract date exist heck Extract date exist     Description: CS2001 - Source file 'C:\windows\TEMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs' could not be found, CSC, 0, 0  End Error  Error: 2018-11-21 16:00:05.12     Code: 0x00000005     Source: heck Extract date exist heck Extract date exist     Description: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.  End Error  Error: 2018-11-21 16:00:07.26     Code: 0x00000005     Source: Set Package End time Set Package End time     Description: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.  End Error  Error: 2018-11-21 16:00:07.26     Code: 0x00000005     Source: Set Package End time Set Package End time     Description: CS2001 - Source file 'C:\windows\TEMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs' could not be found, CSC, 0, 0  End Error  Error: 2018-11-21 16:00:07.26     Code: 0x00000005    Source: Set Package End time Set Package End time     Description: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.  End Error  Error: 2018-11-21 16:00:09.45     Code: 0x00000005     Source: Set Package End time Set Package End time     Description: Failed to compiled scripts contained in the package. Open the package in SSIS Designer and resolve the compilation errors.  End Error  Error: 2018-11-21 16:00:09.45     Code: 0x00000005     Source: Set Package End time Set Package End time     Description: CS2001 - Source file 'C:\windows\TEMP\.NETFramework,Version=v4.0.AssemblyAttributes.cs' could not be found, CSC, 0, 0  End Error  Error: 2018-11-21 16:00:09.45     Code: 0x00000005     Source: Set Package End time Set Package End time     Description: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.  End Error  Error: 2018-11-21 16:00:09.50     Code: 0x00000004     Source: heck Extract date exist     Description: The binary code for the script is not found. Please open the script in the designer by clicking Edit Script button and make sure it builds successfully.  End Error  Error: 2018-11-21 16:00:09.50     Code: 0xC0024107     Source: heck Extract date exist      Description: There were errors during task validation.  End Error  DTExec: The package execution returned DTSER_FAILURE (1).  Started:  4:00:00 PM  Finished: 4:00:09 PM  Elapsed:  9.

please advise 


How to insert mutiple select statements into table uisng SSIS

$
0
0

For example I have got 2 tables Employee and Department. With the queries like

Select EmpID,Employee From dbo.EmployeeSelect DepID,DeptName From dbo.Department

which I have put 2 EXECUTE SQL tasks.

and want to insert those select statements into some Destination table.

Output :

ID SQL_Stmt1Select EmpID,Employee From dbo.Employee2Select DepID,DeptName From dbo.Department

where as my structure looks like this :

 

Suggest me how can I proceed on this.

Thank you

How to capture Select statement and insert into table using SSIS

$
0
0

For example  I have got  Employee table .

Select EmpID,EmployeeFrom dbo.Employee

want to insert those select statements into some Destination table.

Destination Output :

ID SQL_Stmt1Select EmpID,Employee From dbo.Employee

Currently this statement in Data Flow Task in OLEDB source . How can I put this in Variable and insert into Destination table.

SSIS : The 'Microsoft.ACE.OLEDB.12.0' provider is not registered on the local machine(64 bit) even after installing "AccessDatabaseEngine_x64.exe"

$
0
0

Hello,

I want to use "Microsoft Office 12.0 Access Database Engine OLE DB provider" under SSIS connection manager to get data from Excel 2007 files on a server with 64 bit.
To facilitate this ,  Installed the “AccessDatabaseEngine_x64.exe” from http://www.microsoft.com/download/en/details.aspx?displaylang=en&id=13255.

After the installation , in the installed programs I can see that " Microsoft Access 2010 Database engine" has been installed. Also, I check the registry for confirmation.

Under HKEY_LOCAL_MACHINE->SOFTWARE->MICROSOFT->OFFICE->14.0

But when I open SQL Server BI Studio on the server , under SSIS connection manager right click -> New OLEDB Connection.

I am not able to see the "Microsoft Office 12.0 Access Database Engine OLE DB provider" which practically should be seen once we install the "AccessDatabaseEngine_x64.exe”.

Note: The 64 bit server does not have the Microsoft Office installed" on it.

Any help would greatly appreciated.

Best,
Aniket

 

 

Implement a sql query to ssis

$
0
0

I have googled,for along time in order to find solution to implement a sql server query to ssis

SELECT    Sales_Order_Number,company_code,isnull(    (        SELECT            distinct Description + ';' AS 'text()'        FROM            dbo.l_Fact_Orders as xml            INNER JOIN dbo.Tbl_Dim_ItemSOA items ON items.Item_SOA_ID=xml.Item_SOA_ID        WHERE            xml.Sales_Order_Number = myTable.Sales_Order_Number            and xml.company_code = myTable.company_code         FOR            XML PATH('')    )    ,'') as Description FROM    dbo.l_Fact_Orders myTable GROUP BY    Sales_Order_Number,company_code

I am looking for ideas please.

Dispatcher processing has been suspended, but messages are still being processed.

$
0
0

Hi,

Have a SSIS package,continuously am getting bellow error screenshot.

 

have closed multiple time but still am getting this error message. Could you please help on this issue. I can not close visual studio because have not saved my package.


Thanks Bala Narasimha


Viewing all 24688 articles
Browse latest View live


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