Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS 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 November 8th, 2006, 06:16 AM
Registered User
 
Join Date: Nov 2006
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to dan_code
Default VB.NET: recognize errors using DTS:Package2 object

Hy guys.

I use dts.package2 object to execute a SqlServer DTS from my Vb.NET application. My DTS includes 3 SQL Tasks. If I have an error in one of them, the Execute method of dts.package2 object don't recognize some error, so my application continue. Now I read this topic:

http://p2p.wrox.com/topic.asp?TOPIC_ID=33898

I uderstood that, after executing the Execute method, I can look at the ExecutionResult property of every DTS.Step2 object of DTS.Package2 to recognize every error. My problem is that in my DTS I have 3 SQl Tasks, but oDts.Steps.count property of my object is valorized at 0. Why not 3?

Thank you in advance






Similar Threads
Thread Thread Starter Forum Replies Last Post
Recognize errors using DTS.Package2 object dan_code General .NET 0 November 8th, 2006 06:14 AM
DTS and VB.NET jelenavukicevic SQL Server DTS 0 June 14th, 2006 02:50 AM
converting DTS package from VB 6 to VB .NET petroleo Pro VB Databases 0 August 18th, 2003 05:01 PM
DTS packages from VB 6 to VB .NET petroleo SQL Server DTS 0 August 18th, 2003 04:59 PM
Errors in Chapter 1?? ASP.NET 1.0 with VB.NET jaksel BOOK: Beginning ASP.NET 1.0 2 August 18th, 2003 01:02 AM





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