Solved

Using VB and DTS

Posted on 2009-04-08
8
161 Views
Last Modified: 2013-11-30
Hi
I have a vb application working with DTS.  All works fine when I have SQL installed on a local PC but when I execute the application from a machine that does not have SQL installed it does not load the data and trows a run time error:
Run Time Error '52,
Bad File name or Number

I used VBs package and deployment wizard to set up the application to ensure I had all the dlls.  I reregisterd the dtspkg.dll file but no joy.

Is there something else we need in order to run this?

Any help would be great

Thanks
0
Comment
Question by:ITHELPME
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 8

Accepted Solution

by:
Haris V earned 250 total points
Comment Utility
0
 

Author Comment

by:ITHELPME
Comment Utility
Thanks for your help, None of the sites suggested had anything regarding running it from an in-house application as opposed to a vb application

Is there anyting I need to install on the users pc in order to run dts
0
 
LVL 30

Assisted Solution

by:nmcdermaid
nmcdermaid earned 250 total points
Comment Utility
What do you mean by 'in-house' vs 'vb'? in-house means it was developed in house and vb is just a language.
There is also this page:
http://www.sqldts.com/225.aspx
 
0
 

Author Comment

by:ITHELPME
Comment Utility
It is an application installed witihin the organanisation and vb is the programming language that is used.

When I register the dlls on the machines it gives me an error indicating that they may be corrupt, is there a plcae where I can download the correct dlls and more uptodate onces.

We use Win2k Professional

0
Do You Know the 4 Main Threat Actor Types?

Do you know the main threat actor types? Most attackers fall into one of four categories, each with their own favored tactics, techniques, and procedures.

 
LVL 30

Expert Comment

by:nmcdermaid
Comment Utility
From a licencing standpoint, you can't just go and register DLL's, you have to buy a licence and install the whole thing.
You would need to register them in the right order (or put them in the same folder as your executable), and you would also need to ensure they suit your OS (x86 or x64)
0
 
LVL 75

Expert Comment

by:Anthony Perkins
Comment Utility
>>
Run Time Error '52,
Bad File name or Number
<<
You do realize this error has nothing whatsoever to do with the DTS dll's?  The error is simply telling you that the workstation executing the DTS package does not have access to the file.  So even if we were to clarify that you are allowed to distribute the DTS dll's and how to do it, it would not help you one iota with our original problem.
0
 
LVL 75

Expert Comment

by:Anthony Perkins
Comment Utility
And this:
our original problem.

Of course, should have read:
your original problem.
0
 

Author Closing Comment

by:ITHELPME
Comment Utility
It was the registering of the DLLs

I did not only get run time error this only happend once, the websites were helpful
0

Featured Post

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

Enums (shorthand for ‘enumerations’) are not often used by programmers but they can be quite valuable when they are.  What are they? An Enum is just a type of variable like a string or an Integer, but in this case one that you create that contains…
If you need to start windows update installation remotely or as a scheduled task you will find this very helpful.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.

728 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

9 Experts available now in Live!

Get 1:1 Help Now