Solved

Using VB and DTS

Posted on 2009-04-08
8
175 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
  • 3
  • 2
  • 2
  • +1
8 Comments
 
LVL 8

Accepted Solution

by:
Haris V earned 250 total points
ID: 24096833
0
 

Author Comment

by:ITHELPME
ID: 24097779
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
ID: 24103107
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
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:ITHELPME
ID: 24105222
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
 
LVL 30

Expert Comment

by:nmcdermaid
ID: 24115012
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
ID: 24124197
>>
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
ID: 24124205
And this:
our original problem.

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

Author Closing Comment

by:ITHELPME
ID: 31570376
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

[Webinar] How Hackers Steal Your Credentials

Do You Know How Hackers Steal Your Credentials? Join us and Skyport Systems to learn how hackers steal your credentials and why Active Directory must be secure to stop them. Thursday, July 13, 2017 10:00 A.M. PDT

Question has a verified solution.

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

I have a large data set and a SSIS package. How can I load this file in multi threading?
This article describes how to use a set of graphical playing cards to create a Draw Poker game in Excel or VB6.
Using examples as well as descriptions, and references to Books Online, show the different Recovery Models available in SQL Server and explain, as well as show how full, differential and transaction log backups are performed
Viewers will learn how to use the INSERT statement to insert data into their tables. It will also introduce the NULL statement, to show them what happens when no value is giving for any given column.
Suggested Courses

635 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