when i am executing SP which has following execute script in SSIS using Execute SQL task I am getting the error "Executing the query "Exec Windows.[uspInsertImportEventLog] ?, ?output" failed with the following error: "Must declare the scalar variable "@P2output"
DECLARE @RC int
DECLARE @ComputerName GenericName
DECLARE @ImportEventLogID int
-- TODO: Set parameter values here.
EXECUTE @RC = [PrinterInventory].[Windows].[uspInsertImportEventLog]
@ComputerName
,@ImportEventLogID OUTPUT
GO
I have also attached the image which i am doing in SSIS.
Thanks for your help.