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

Can't able to deploy .ispac from Integration Service Catalog 2017

$
0
0

Hi Folks,

I am getting below error while try to deploy a simple ssis project that is developed using 2015 vs and converted to 2017 deployment model , I am trying to deploy it through Integration Service catalog on SQL server v17. Error as follows

TITLE: SQL Server Integration Services

A .NET Framework error occurred during execution of user-defined routine or aggregate "deploy_project_internal":
System.ComponentModel.Win32Exception: A required privilege is not held by the client
System.ComponentModel.Win32Exception:
   at Microsoft.SqlServer.IntegrationServices.Server.ISServerProcess.StartProcess(Boolean bSuspendThread)
   at Microsoft.SqlServer.IntegrationServices.Server.ServerApi.DeployProjectInternal(SqlInt64 deployId, SqlInt64 versionId, SqlInt64 projectId, SqlString projectName)
. (Microsoft SQL Server, Error: 6522)

I am trying to deploy windows authentication mode, I have admin rights on the machine. I've tried suggestions posted https://blogs.msdn.microsoft.com/dataaccesstechnologies/2013/08/20/system-componentmodel-win32exception-a-required-privilege-is-not-held-by-the-client-while-deploying-ssis-project/ to change DCOM config , but that doesn't help.

Other suggestions to change Log On As a Service seems to be outdated , I didn't find similar settings on my local pc windows10. Please share if you have any work around to solve this.


SSIS MSBuild - Microsoft.SqlServer.IntegrationServices.Build - 8D7C1236-F3CD-4BCD-BB67-6788D5649EE2 probing problem

$
0
0

Hi,

I have used the CodePlex community sample (https://archive.codeplex.com/?p=sqlsrvintegrationsrv) to build SSIS Integration solutions using MSBuild. The MsBuild extension is the .Net Project named Microsoft.SqlServer.IntegrationServices.Build.

I am only using the build capabilities through the class DeploymentFileCompilerTask, during the execution of the Execute method that generates the ispac file, I have notice that the calls to the method Add of the Microsoft.SqlServer.Dts.Runtime.ConnectionManagerItems class and method LoadFromXML of the class Microsoft.SqlServer.Dts.Runtime.Package, generates an insane lookup in the registry for the following pattern: HKCR...\CLSID...\Implemented Categories{8D7C1236-F3CD-4BCD-BB67-6788D5649EE2}.

In google, a search for this GUID returns nothing.

With Sysinternals Process Monitor, I detected approximately 25 Million lookups in the registry trying to find the above pattern:

Multiple parallel builds of SSIS Solution in our build server cause a big degradation of the machine performance.

Did anyone else had this same problem? How did you mitigate this performance problem?

Thank in advance,

Kind Regards,

Nuno Monteiro

Variables set in a script task not being applied in a scheduled run

$
0
0

I'm running an SSIS job where I set a table variable in a script task early in the control flow.

When I run it locally on my machine, it works fine.

But when I run it as a scheduled job via SQL Server Agent, the variable isn't using the value from the script, instead it's using the default value from the variable definition window.

Do I need to do something special to get my variables to actually take their values from a script task when the jobs are running on the server?

Adding SSIS will require downtime ?

$
0
0

Hello, we currently have SQL 2016 up and running and being used.

When adding/installing SSIS will this take SQL Server and it's DBs offline/unaccessible/downtime during the install?

And is there a reboot required after installing SSIS?

Thanks in advance.

Processes showing in Activity Monitor for an SSIS 2016 package have a different package name showing

$
0
0

I'm running 1 package but the name under the Application column in Activity Monitor is that of another package in the same project. There's a GUID showing after that name which I searched for in the XML of the package I'm running and I found it in many places in the source. I don't know if that's relevant. I didn't find the name showing in the Application column, though.

Any idea why the Application name doesn't match the actual package running?


Nick Ryan MIS Programmer Analyst, ANZ Bank

How to get timezone in a ssis package

$
0
0
Hi am trying to create a timezone field in table, such that when i run my ssis package it will automatically fill the column for timezone. I have downloaded two NuGet packages (TimeZoneConverter, GeoTimeZone) and have created two variables(Longitude and Latitude). My problem is am trying to configure a script task to create the timezone. Can someone please help me on how to go about this? Any ideas will help please. Thanks

Package with Password Encryption fails to run on Visual Studio 2017 - LoadFromXML fails

$
0
0

I have a problem with running SSIS packages within VS 2017, with a local SQL Server 2016

To demonstrate;  I have a project and package that has the following attributes;

- Project is has property TargetServerVersion "SQL Server 2016"

- Project and Package has property ProtectionLevel "EncryptSensitiveWithPassword"

- Package has a Parameter set to "Sensitive"

Attempting to run this package fails immediately with;

"Exception deserializing the package "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."

If I change the TargetServerVersion to "SQL Server 2017", or the ProtectionLevel to "EncryptSensitiveWithUserKey", or change the Parameter to not Sensitive, the problem goes away.

What causes this problem, and how can I resolve it?  Thanks.

Data viewer not visible - SSIS 2017

$
0
0

Hi,

I'm creating a simple SSIS 2017 solution that reads from a SQL Server table to write on another SQL Server table. I'm using SQL Server 2017 and SSDT for Visual Studio 2017 vers. 15.8.6.

When I enable a data viewer for the data flow task to accomplish the above activity and run the task I cannot see any data viewers.

Any suggests to me to solve this issue? Thanks


Generate Code Map: Unable to Connect to the Specified Database

$
0
0

I am attempting to generate a code map using Visual Studio 2017 Enterprise, but receive the following error:

Note the data source: Data Source=(LocalDB)\MSSQLLocalDB. When I search for MSSQLLocalDB in my solution, nothing comes up. My application does not use SQL Server 2016 (which is what I think the connection string is for). It uses 2012. All my connection strings use (localdb)\v11.0.

Fixes I've attempted / notes:

  • I have tried to view the XML file, but "Open the XML Editor" simply closes the .dgml file in Visual Studio.
  • Changing Visual Studio's data connection (Tools -> Options -> Database Tools -> Data Connections) does not work:

  • Installing SQL server components. Most of the SQL Server components one might find in the Visual Studio Installer are already installed:

  • Visual Studio is up to date: 

  • I have seen this issue. Not only is that problem for VS2012, the solutions are for web.config. My app is a desktop app, so no web.config. But none of the projects' app.config contain a reference to (LocalDB)\MSSQLLocalDB anyway.

Thinking that it might have to do with the latest version of SSDT (15.8.1) no longer supporting SQL Server 2012, I checked the version. It is 15.1.6: 

  • Visual Studio is running on Windows 7 Ultimate, SP1, 64-bit.

Call Webservice from Azure Portal

$
0
0

Dear friends,

Do you know the best way to consume a public webservice from azure PAS environment?

Regards

PP


Visit My Business Intelligence Blog - If your question is answered, please mark as answered.

Require Best Approach for Load millions of data to flat file or files in ssis and move to SFTP

$
0
0

Hi All,

My name is Sai. I want a best approach to design a SSIS package in following scenario and also i want to make sure to  rerun @failure point if it is failure.

I have DW table with millions of rows and want to load in to CSV file or files( one file or multiple files fine which is efficient) . After uploading complete these files will move to SFTP server location. This table have lot of history data like early wise.and also i need to look failure scenarios like package failed while creating or uploading or moving file to SFTP like those scenarios to start from failure pint or best way to roll back or restart package possibilities.

can you some please share your best approaches or solutions to full fill this assignment.

Thanks in advance.

How can I deploy a dtsx package which can run without needing type password in connection management

$
0
0

Dear MS:

   As a beginner, I recently involved in a Legacy database migration project, as I upgraded the dts to dtsx package as guilde, and deploy them to customer, they reported that they are confuse at typing the password each time when running the DTS in SSIS after import the package, Can I fix the password and delivery to them, is there detail instruction guide on that?, your solution will be appreciated, thanks


MSDN Deadlock issue

SQL 2008 Ent R2 - Visual Studio Business Intelligence Development Studio – BIDS - Issues after moving from Windows 7 to Windows 10 Computer.

$
0
0

I have a BIDS package that after transitioning from a Windows 7 computer to a Windows 10 computer, started getting the below errors when trying to run the package. After doing some research, I have verified that for the SQL Server 2008 Set-up, I made sure that Business Intelligence Development Studio, Integrations Services, Management Tools - basic, Management Tools - Complete, SQL Client Connectivity SDK were installed. I also made sure that under Project --> Debugging --> Run64BitRuntime was set to"True" (I'm running on 64-bit Windows 10).

I have removed the folder path names for protection of my client's privacy. The package pulls information and then drops it into an access database on the file path. 

Any insight/help on this would be greatly appreciated.

Error Message:  


==================================

Package Validation Error (Package Validation Error)

===================================

Error at Data Flow Task 1 [OLE DB Destination [168]]: SSIS Error Code DTS_E_CANNOTACQUIRECONNECTIONFROMCONNECTIONMANAGER.  The AcquireConnection method call to the connection manager "FolderPathNameRemoved" failed with error code 0xC0209302.  There may be error messages posted before this with more information on why the AcquireConnection method call failed.

Error at Data Flow Task 1 [SSIS.Pipeline]: component "OLE DB Destination" (168) failed validation and returned error code 0xC020801C.

Error at Data Flow Task 1 [SSIS.Pipeline]: One or more component failed validation.

Error at Data Flow Task 1: There were errors during task validation.

Error at TicketAudit [Connection manager "FolderPathRemoved"]: SSIS Error Code DTS_E_OLEDB_NOPROVIDER_ERROR.  The requested OLE DB provider Microsoft.ACE.OLEDB.12.0 is not registered. Error code: 0x00000000.
An OLE DB record is available.  Source: "Microsoft OLE DB Service Components"  Hresult: 0x80040154  Description: "Class not registered".

 (Microsoft.DataTransformationServices.VsIntegration)

------------------------------
Program Location:

   at Microsoft.DataTransformationServices.Project.DataTransformationsPackageDebugger.ValidateAndRunDebugger(Int32 flags, DataWarehouseProjectManager manager, IOutputWindow outputWindow, DataTransformationsProjectConfigurationOptions options)
   at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, ProjectItem startupProjItem, DataTransformationsProjectConfigurationOptions options)
   at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchActivePackage(Int32 launchOptions)
   at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.LaunchDtsPackage(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)
   at Microsoft.DataTransformationServices.Project.DataTransformationsProjectDebugger.Launch(Int32 launchOptions, DataTransformationsProjectConfigurationOptions options)

Lookup no match to json

$
0
0
Hi,



Is any way to redirect the rows from lookup transformation to json output without using newtonsoft? And from json to sql table having just 1 column to store json output. 



Please suggest.

Thanks

Cannot specify column delimiter for flat file connection manager in BI Studio

$
0
0

I have a tab-separate text file that I want to load using SSIS. When I try to create a Flat File Connection Manager, and switch to the "Columns" page, the "Column Delimiter" field is disabled (grayed). The row delimiter is {LF}, which is what I want, but the preview shows a single column. I can't find any way to enable the column delimiter field and specify that I want a tab delimiter.

Moreover, if I close the dialog, then try to edit the connection manager, try to modify the row delimiter, and hit "refresh" - the dialog simply closes!

I even tried to modify the .dtsx file manually to create the setup I want but even weirder things happen. For example, changing the row delimiter in the .dtsx file has no effect, but changing the column delimiter in the file and then re-opening in BI studio shows that it actually changes the row delimiter!

I'd appreciate any help with this, it's really frustrating since this is pretty much the first step I've ever taken with integration services and I thought this would be fairly straightforward.

Thanks,

Yair Halevi (Spock)


Is Oracle 18c compatible with Microsoft Connectors by Attunity

$
0
0
Upgrading Oracle to 18c.  We currently utilize Microsoft connectors by Attunity.  These connectors have a stated system requirement that ends at Oracle 12.  I need to know if the Attunity driver will continue to function with Oracle 18c?

Trying to create ETL process such that it copies multiple CSV files inside a folder which resides inside a azure blob (there are multiple folders and each folder have multiple files)

$
0
0

- I have a data flow ready which copies data from one CSV file to destination DB 
- Kind of stuck with the next steps trying to use for each loop 
- my folder structure:  Azure storeage account-- Container-- folder(Date)--folder(VenueName)[multiple venue folders for that date]--multiple .csv files

Thank you in advance for help!

REMOVING MULTIPLE HEADERS FROM SINGLE TEXT FILE

$
0
0

I need to remove multiple headers that are in the flat file. I have multiple days data starting each day with headers in a single file.

Is there a way in SSIS I can remove multiple headers ?

Thanks in advance!


ZK

Getting new access_token using client_credential

$
0
0

Hi guys,

Please I need help with a C# code that can help me get a new access_token from an api using the client_credntials using the variable below:

{
"client_id" : "client_id",
"client_secret":"client_secret",
"grant_type":"client_credentials",
"scope":"api"

Thanks


me

FTP File Properties

$
0
0
I'm using a script task. How do you connect the FTP site to loop through the files to get the most current file by the LastModifiedDate?
Viewing all 24688 articles
Browse latest View live


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