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

Map Output Parameters SSIS Execute SQL Task

$
0
0

I have a stored procedure that takes four input parameters and has one output parameter. I have been trying to get the stored procedure call to work in an SSIS Execute SQL Task, but have had zero luck. I've been checking online and have found examples, but none of them have been successful when I've tried to implement them. It would be great is someone could take a look at what I'm doing and let me know if I'm missing something!

So, here's the text of the procedure:

In my Execute SQL Task, I call the stored procedure:

EXEC dbo.[prc_Insert_ETL_JOB_RUN] ?, ?, ?, ?, ? OUTPUT

I have five variables defined in the Execute SQL Task:

I have one result set that is mapped to a variable called JobrunID:

No matter what I try, I cannot get this simple Execute SQL Task to run! I continually get the "Multiple-step OLEDB operation generated errors" message.

Is there something simple I am missing? I do have the result set set to "single row" in the execute dialog.

Any insight would be GREATLY appreciated!!


A. M. Robinson



SSIS http Connection manager error Unable to connect to Remote server

$
0
0

Hi Experts,

I have created a package which downloads the Excel file from Sharepoint location. I have provided User Name and Password its working fine..

But when i run the same package from Development server, Its throwing an error "unable to connect to Remote Server". 

Somebody please help me ....

Thanks & Regards....

Ram......


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

 

 

How to deploy an SSIS project having EncryptAllWithPassword

$
0
0

I have a PowerShell script that deploys an SSIS project to SSISDB. It works fine for projects using DontSaveWithSensitive protection but fails for projects using EncryptAllWithPassword.

The message in SSISDB.internal.operation_messages is "Failed to deploy the project. Fix the problems and try again later.:The encrypted data in project manifest failed to load. The project manifest is corrupted or if the project is password protected, the specified password is incorrect." (id=380696).

The code I use reads the isPac file, then deploys the project:

[byte[]] $projectFile = [System.IO.File]::ReadAllBytes($isPac)
$project = $folder.DeployProject($proj, $projectFile)

(This code fragment shows up in most examples I have found.)

The DeployProject() method fails. It does not appear to have a mechanism for accepting the password required to perform the decryption.

Any ideas on how the SSDT deployment wizard handles this? Or other strategies?

Thanks.

XML Error

$
0
0

Hi i am trying to extract data from XML file in Data Flow task by using "XML Source" i am getting an error

 

Error at Data Flow Task [XML Source [1]]: The XML Source Adapter does not support mixed content model on Complex Types.

------------------------------
ADDITIONAL INFORMATION:

Pipeline component has returned HRESULT error code 0xC02092A1 from a method call. (Microsoft.SqlServer.DTSPipelineWrap)

 

Please help me

 

Thanks in advance

SSIS Package Deploy

$
0
0
Hello,

I have create SSIS package in VS2010 but when i deploy in sql server 2008R2 in sql agent jobs it does not allow it.

Please help me out how we can deployed VS2010 package in sql server 2008R2

Dynamic Columns Issue!!!!!!!!

import json file into sql table

$
0
0
How do you import a json file like this into a sql table with these columns: color, category, type and code?
{"colors": [
    {"color": "black","category": "hue","type": "primary","code": {"rgba": [255,255,255,1],"hex": "#000"
      }
    },
    {"color": "white","category": "value","code": {"rgba": [0,0,0,1],"hex": "#FFF"
      }
    },
    {"color": "red","category": "hue","type": "primary","code": {"rgba": [255,0,0,1],"hex": "#FF0"
      }
    },
    {"color": "blue","category": "hue","type": "primary","code": {"rgba": [0,0,255,1],"hex": "#00F"
      }
    },
    {"color": "yellow","category": "hue","type": "primary","code": {"rgba": [255,255,0,1],"hex": "#FF0"
      }
    },
    {"color": "green","category": "hue","type": "secondary","code": {"rgba": [0,255,0,1],"hex": "#0F0"
      }
    },
  ]
}


No Execute permission for sp_startjob

$
0
0

I have an Access front-end which calls a stored procedure to execute an SSIS job.  This worked fine until about a week ago, now any attempt to run the jobs throws the error:

The EXECUTE permission was denied on the object 'sp_start_job', database 'msdb', schema 'dbo'.

I think this might have arisen as a result of a Windows update, but although I've searched thoroughly all over the internet I can't find a solution that works.  The jobs run normally when invoked via SSMS.

Issue when trying to Unzip a zipped file using Execute Process Task.

$
0
0

Hello All,

I am facing an issue when trying to unzip a zipped database backup file using execute process task.

I did this in my local machine ( Using Visual Studio 2015 community Version) and I was able to achieve it but when I did the same solution on Client Dev Server ( Using Visual Studio 2017) I am getting an error saying " The process exit code was "2" while the expected was "0".

Below are the expressions I used in Execute Process Task.

Any help is really appreciated.

Thank you.

ADO NET data source doesn't accept dynamic variable?

$
0
0
Hi, I created an execute sql task to select max(date), then passed the result to a variable, then followed by a data flow which pulls data from ADO SOURCE (ORACLE), I used this variable as parameter in Expressions/Property: ADO NET SOURCE.SqlCommand "select ... from Oracle table where datecolm>to_date (' " +@variable+" ')", but it didn't read as Evaluated value showed ...to_date(' '). the package failed. But if I replace by another variable with hard code value '30-JUL-18', everything works. So my question is if ADO NET source doesn't accept dynamic variable, in this case, which is the result set variable for a sql statement? Is there a way to work around? Thanks!

SSIS - error hresult e_fail has been returned from the call to a com component

$
0
0

Hello.

I am working with visual studio 2017 pro.

Everything was working fine until last week and then I couldn't get into the script task.

I tried uninstalling the SSDT and installing it again, but it didn't work.

I uninstall SSDT and visual studio and install everything again.

Everything worked fine for 10 minutes and now, my ssis projects are not loading.

I get the following error: error hresult e_fail has been returned from the call to a com component

The rest of the projects work, just not the SSIS ones.

Sequence Container Executes twice

$
0
0

Good day,

I have a sequence container with 3 sql tasks, on sequnce container i have error handling onerror only to email users with propagate=false

however the issue comes that the container runs twice, i have no idea why.

On onError only for container, i tried the dummy script task with packagename=sourcename but i dont have a system variable sourcename

I removed the onerror and it still executes twice, moved to new container same thing.

Any ideas please

SSIS execute package error "Failed to acquire connection", Connection may not be configured correctly or may not have the right permissions on this connection".

$
0
0

Background: I recently configured and executed an SSIS package in SSDT 2015. This package consists of 1 - Execute SQL Task that does a simple delete from table.And 1- Data flow task, that pulls data from a vertica table and loads into a SQL Server table. Executing this package on my local computer through SSDT works perfectly fine. I have deployed this package to a SQL server Enterprise (64 bit) version 13./ 2016 succesfully, but when i EXECUTE. I get errors for the connections. To remove all the extra errors, i decided to remove the data flow and simply create a test package with just 1- execute sql task (delete from table), tested that out in SSDT (everything ran fine). So, i deployed again and got the below errors: How do i configure my package to connect the same way it does when i run it through SSDT?

SSIS Data transfer issue having Geometry datatype

$
0
0

Hi,

I have a DFT task wherein both source and destination have Geometry data type column which is giving me error.  I have looked at some solutions using script component but am not still not able to come to a working solution.  In my case both source and destination are geometry so is there any simple solution to this?  


SSIS http Connection manager error Unable to connect to Remote server

$
0
0

Hi Experts,

I have created a package which downloads the Excel file from Sharepoint location. I have provided User Name and Password its working fine..

But when i run the same package from Development server, Its throwing an error "unable to connect to Remote Server". 

Somebody please help me ....

Thanks & Regards....

Ram......


SSIS datatype issue

$
0
0

Hi ,

i am trying to load data from oracle to SQL server,after 1000 records i am getting below error.

and also for more information [start_date] and [end_date] has the datatype datetime.

any one please explain me about this error.

 "There was an error with Landing.Inputs[OLE DB Destination Input].Columns[START_DATE] on Landing.Inputs[OLE DB Destination Input]. The column status returned was: "Conversion failed because the data value overflowed the specified type."."

Thanks,

Data migration from MYSQL to SQLSERVER

$
0
0

Hi everyone,

When trying to migrate data from MYSQL to SQLSERVER via SSIS. Foreign characters comes as ????.

In MYSQL Column is varchar CHARACTER SET utf8 COLLATE utf8_unicode_ci and in SQL Server its NVARCHAR.

Tried changing the code page in ODBC Connection Manager still getting ?????.

Tried enabling data viewer and see the data even there its ???? instead of arabic and chinese 

Thanks,

Deepak


SSIS fails when attempting to execute AZcopy via execute task using SQL Agent Job - error "The process exit code was "8" while the expected was "0""

$
0
0

The Package runs perfectly when run on the remote desktop. 

Only fails when run via the SQL Agent Job, and returns the error - The process exit code was "8" while the expected was "0"

Does Exit code "8" refer to anything in particular? (Or is this a generic message.)

Any advice would be appreciated. 

Laod Excel from ShrePoint to Local Machine using SSIS

$
0
0

Hi,

I have files in Excel files in SharePoint, from there I need to Download in Local Machine using SSIS.

I am using Connection Manager provided by KingswaySoft(Link)

and successfully downloading files from SP but  the limitation is I cannot use it in Production environment.

Please provide your help. 

Thanks


Pankaj

Viewing all 24688 articles
Browse latest View live


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