Solved

Question About DTS

Posted on 2002-07-10
6
161 Views
Last Modified: 2013-11-30
Hi everyone!  This is probably a simple question, but I'm a beginner using DTS.  

I have a VB application that executes a DTS package when a button is pressed.  Yesterday, while at one of our satellite offices, I tested the program from one workstation and it worked fine, but when I tried it from another I received an error (which I unfortunately forgot to write down).  The error was something vague - something about a "Multi-step OLE DB process failed to execute".  On the 2nd workstation, I even attempted to just execute the DTS package straight from SQL Enterprise Manager and still received the error, so I'm thinking that it doesn't have anything to do with the VB application.  

Can anyone tell me if a client machine uses any particular DLL's when attempting to execute a DTS package on a server?  Any ideas what may cause this?

Thanks,
Brian
0
Comment
Question by:beercat2
  • 4
6 Comments
 
LVL 5

Expert Comment

by:spcmnspff
ID: 7143669
Here's a good place to start:

http://www.sqldts.com/main.asp?nav=1,6,225,0

Although, it sounds to like there might be some resources that aren't available at the client that were at the server when the package was created.  Bear in mind that when executing the package at the server any references to files, network shares, etc need to be located on the server i.e. c:\ refers to \\mysqlserver\c$\ etc.  And when executed on the client (even from enterprise manager) all the resourcces are searched for locally i.e. c:\ now refers to \\localclient\c$\ .  This "local scope" issue can get in the way when attempting to redistribute your package and execute it anywhere other than the server.  The best way around it is to use the UNC paths (as I did in my examples).  This way any references to network resources are universal and absolute.
0
 
LVL 1

Author Comment

by:beercat2
ID: 7143694
Thanks spcmnspff.

I discovered the "local scope" issue you are referring to while developing the app.  There is 1 file involved, a CSV file, but the user selects the file with my app, so the path and filename are local to the machine where the app is running.  And I know it works on some workstations which have the same drives mapped as others where the app doesn't work.

I will be back in the satellite office tomorrow and will investigate the files listed on the link you sent me.  Thanks for your help - I'll let you know if this fixes it.
0
 
LVL 1

Author Comment

by:beercat2
ID: 7146822
No luck.  Both machines have all of the files listed on the SQLDTS.com website.  The problem occurs even if I'm working in Enterprise Manager and I remove everything except the first step - which is a simple SQL statement (a DELETE statement) - from the package.  I still get the error.

"Multiple-step OLE DB operation generated errors.  Check each OLE DB status value, if available.  No work was done."

Any more ideas?
0
Optimizing Cloud Backup for Low Bandwidth

With cloud storage prices going down a growing number of SMBs start to use it for backup storage. Unfortunately, business data volume rarely fits the average Internet speed. This article provides an overview of main Internet speed challenges and reveals backup best practices.

 
LVL 1

Author Comment

by:beercat2
ID: 7154317
Could this be an MDAC issue?
0
 
LVL 1

Author Comment

by:beercat2
ID: 7209222
Well, this was an MDAC issue.  If you create a DTS package on a machine with an older version of MDAC, it can't be run from a client machine with a newer version.
0
 
LVL 1

Accepted Solution

by:
Computer101 earned 0 total points
ID: 7209242
Points refunded and placed in PAQ

Computer101
E-E Moderator
0

Featured Post

Best Practices: Disaster Recovery Testing

Besides backup, any IT division should have a disaster recovery plan. You will find a few tips below relating to the development of such a plan and to what issues one should pay special attention in the course of backup planning.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

This article explains how to reset the password of the sa account on a Microsoft SQL Server.  The steps in this article work in SQL 2005, 2008, 2008 R2, 2012, 2014 and 2016.
Slowly Changing Dimension Transformation component in data task flow is very useful for us to manage and control how data changes in SSIS.
This videos aims to give the viewer a basic demonstration of how a user can query current session information by using the SYS_CONTEXT function
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

14 Experts available now in Live!

Get 1:1 Help Now