Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9
This is the forum to discuss the Wrox book Professional SQL Server 2005 Integration Services by Brian Knight, Allan Mitchell, Darren Green, Douglas Hinson, Kathi Kellenberger, Andy Leonard, Erik Veerman, Jason Gerard, Haidong Ji, Mike Murphy; ISBN: 9780764584350
Welcome to the p2p.wrox.com Forums.

You are currently viewing the BOOK: Professional SQL Server 2005 Integration Services ISBN: 0-7645-8435-9 section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old August 6th, 2008, 10:43 PM
Registered User
 
Join Date: Aug 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Error Executing Package Chapter 6

Hi I am new to SSIS.

While creating the example package given in Chapter 6 Page 148 - Using SQL output Paramteres to Change Runtime settings

The package failed at the Excute Sql task. The error recieved was

Error: 0xC002F210 at Execute SQL Task, Execute SQL Task: Executing the query "EXEC usp_GetConfigParamValue 'MYAPP', 'MYPARM', 'STRING', @MYVALUE OUTPUT" failed with the following error: "The incoming tabular data stream (TDS) remote procedure call (RPC) protocol stream is incorrect. Parameter 3 ("@MyValue"): Data type 0xE7 has an invalid data length or metadata length.". Possible failure reasons: Problems with the query, "ResultSet" property not set correctly, parameters not set correctly, or connection not established correctly.
Task failed: Execute SQL Task

I downloaded the source code and ran the package. Same error.

Any clues??

Any help well be appreciated.

Thanks

Regards

Sid

 
Old August 12th, 2008, 04:00 PM
Registered User
 
Join Date: Aug 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hi,

Even I'm facing the same problem. Were you able to resolve this error.

Thanks

 
Old August 12th, 2008, 05:26 PM
Registered User
 
Join Date: Aug 2008
Location: , , .
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Hey, this will resolve the issue ..try this

In the Execute SQL Task Editor do the following:
1) General -> Change the ConnectionType to OLEDB
2) General -> Change the SQLStatement to EXEC usp_GetConfigParamValue 'MYAPP', 'MYPARM', 'STRING'
3) General -> Change the ResultSet to Single row
4) Parameter Mapping -> Remove all parameter mapping
5) Result Set -> Add a Result Name of MYFILENAME with a Variable Name of User::MyFile

Finally, change the sproc to the following:
ALTER PROC dbo.usp_GetConfigParamValue(
    @ApplicationName VARCHAR(30),
    @ParameterName VARCHAR(50),
    @ParameterTypeName VARCHAR(30)
)
AS
SET NOCOUNT ON
SELECT 'C:\Execute SQL Sample Changed.txt' AS MYFILENAME
SET NOCOUNT OFF


 
Old October 14th, 2009, 02:45 PM
Registered User
 
Join Date: Oct 2009
Location: Indianapolis, IN
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

Thank you very much! That worked for me.




Similar Threads
Thread Thread Starter Forum Replies Last Post
Chapter 2 Package validation error LesThompson BOOK: Expert SQL Server 2005 Integration Services ISBN: 978-0-470-13411-5 0 October 24th, 2008 01:19 PM
Executing DTS package from Stored Proc irfankhanpathan SQL Server DTS 2 September 28th, 2005 01:12 AM
Executing DTS package from ASP page via SP savoym Classic ASP Basics 0 April 28th, 2005 07:02 AM
Executing a DTS package on value change gyno.bell SQL Server DTS 1 March 1st, 2005 02:50 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.