dbTalk Databases Forums  

Remote DTS

microsoft.public.sqlserver.dts microsoft.public.sqlserver.dts


Discuss Remote DTS in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
NH
 
Posts: n/a

Default Remote DTS - 06-23-2005 , 10:44 AM






I have a SQL server which I use to store Itemised phone bills. The bills come
on a flat file on a CD which I then use a DTS package to bulk insert into a
table..

I now want to give this task to a user to do, but I have no 'front end', and
I don;t want to teach someone how to use DTS..

Can anyone suggest a way of running a DTS package from a local machine which
imports a file which is on a CD in the lacal machine's CD drive, ideally from
a shortcut?

What I have tried is to use the DTSLOAD.EXE and pass a global variable like
"E:\BILLFILE.CSV" to the DTS package to be used as the data source, but I
always get 'Cannot find specified file' presumably because the server is
looking for the file in it's own "E:" drive...

Thanks

Nick

Reply With Quote
  #2  
Old   
PaulaPompey
 
Posts: n/a

Default RE: Remote DTS - 06-24-2005 , 06:34 AM






Try using the full UNC path back to the users CD drive

"NH" wrote:

Quote:
I have a SQL server which I use to store Itemised phone bills. The bills come
on a flat file on a CD which I then use a DTS package to bulk insert into a
table..

I now want to give this task to a user to do, but I have no 'front end', and
I don;t want to teach someone how to use DTS..

Can anyone suggest a way of running a DTS package from a local machine which
imports a file which is on a CD in the lacal machine's CD drive, ideally from
a shortcut?

What I have tried is to use the DTSLOAD.EXE and pass a global variable like
"E:\BILLFILE.CSV" to the DTS package to be used as the data source, but I
always get 'Cannot find specified file' presumably because the server is
looking for the file in it's own "E:" drive...

Thanks

Nick

Reply With Quote
  #3  
Old   
NH
 
Posts: n/a

Default RE: Remote DTS - 06-24-2005 , 09:20 AM



Sorry, I forgot to mention that I had already tried that with no luck...

"PaulaPompey" wrote:

Quote:
Try using the full UNC path back to the users CD drive

"NH" wrote:

I have a SQL server which I use to store Itemised phone bills. The bills come
on a flat file on a CD which I then use a DTS package to bulk insert into a
table..

I now want to give this task to a user to do, but I have no 'front end', and
I don;t want to teach someone how to use DTS..

Can anyone suggest a way of running a DTS package from a local machine which
imports a file which is on a CD in the lacal machine's CD drive, ideally from
a shortcut?

What I have tried is to use the DTSLOAD.EXE and pass a global variable like
"E:\BILLFILE.CSV" to the DTS package to be used as the data source, but I
always get 'Cannot find specified file' presumably because the server is
looking for the file in it's own "E:" drive...

Thanks

Nick

Reply With Quote
  #4  
Old   
NH
 
Posts: n/a

Default RE: Remote DTS - 06-24-2005 , 09:31 AM



Sorry, scratch that - it DOES work. It was my code which didn't support UNC
paths..

Thanks for making me re-check my code...

Nick

"NH" wrote:

Quote:
Sorry, I forgot to mention that I had already tried that with no luck...

"PaulaPompey" wrote:

Try using the full UNC path back to the users CD drive

"NH" wrote:

I have a SQL server which I use to store Itemised phone bills. The bills come
on a flat file on a CD which I then use a DTS package to bulk insert into a
table..

I now want to give this task to a user to do, but I have no 'front end', and
I don;t want to teach someone how to use DTS..

Can anyone suggest a way of running a DTS package from a local machine which
imports a file which is on a CD in the lacal machine's CD drive, ideally from
a shortcut?

What I have tried is to use the DTSLOAD.EXE and pass a global variable like
"E:\BILLFILE.CSV" to the DTS package to be used as the data source, but I
always get 'Cannot find specified file' presumably because the server is
looking for the file in it's own "E:" drive...

Thanks

Nick

Reply With Quote
Reply




Thread Tools
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

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.