Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations gkittelson on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

DTS Package From VB

Status
Not open for further replies.

robwilliams71

Programmer
Apr 11, 2003
11
GB
Hi,

I've created a VB package, and trying to run it from a VB project. Works fine on my PC with SQL Enterprise Manager installed, but not on another developers PC.

I've looked on t'internet, and TEK-TIPs and tried registering DLLs.

I've tried both ways in the code - creating a DTS Object

e.g. Set oPkg = CreateObject("DTS.Package")

and also executing a stored procedure which has the command to run a DTS Pckage

i.e Select @CommandLineVarChar = "DTSRun.exe /S XENA\AS_P800_0010 /E /N RMBWST_FIN_COPY_TEST /R"

But neither work, and it doesnt give an error - even stepping through the source code doesnt help.

Any suggestions please as its driving me MAD!!!

Thanks in advance
Rob
 
Does the other PC have the same network drive mappings, and is it able to 'see' the SQL Server? If this is the case, you should probably post some more of the code you are using.

Good Luck,

Alex

Ignorance of certain subjects is a great part of wisdom
 
Permissions on the package ... who is the owner

I was standing in the park, wondering why frisbees got bigger as they came closer... then it hit me!
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top