If this is your first visit, be sure to check out the FAQ by clicking the link above. You may have to register before you can post: click the register link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below.

 
Go Back  dBforums > Data Access, Manipulation & Batch Languages > ANSI SQL > SQL DTS error catching in .NET

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1 (permalink)  
Old 03-29-04, 11:18
Solius Solius is offline
Registered User
 
Join Date: Dec 2003
Location: Philadelphia
Posts: 6
SQL DTS error catching in .NET

Not quite sure on this one. I need to figure out a way to catch an error that is thrown from a DTS that is being ran by calling a stored procedure in .NET. The Stored procedure contains the execute DTS info.

When I run the function that calls the procedure it seems to work and move onto the next page, but when the database is checked no information has changed due to an error in the DTS. I need to know how to catch that error and handle it so that the user of the app knows there was an error.

Current Process Flow.

Click Upload button ----> function called to use stored procedure ----> Stored Procedure executes DTS ----> DTS fails or completes depending on information -----> Page moves onto Confirmation screen.

Unfortunately it always moves to the confirmation screen whether the DTS fails or not.

Thanks in advance for the help.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On