dbTalk Databases Forums  

Text file created when DTS Exec by vbscript not stored on path

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


Discuss Text file created when DTS Exec by vbscript not stored on path in the microsoft.public.sqlserver.dts forum.



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

Default Text file created when DTS Exec by vbscript not stored on path - 06-02-2006 , 11:58 PM






I am using a vbscript that Exec a DTS. The DTS command string is
created with global variables that are passed to the select and used to
name the file that is created.

In the DTS the file path is defined and the variable with the file name
is associated. The path points to a shared folder on the workstation I
am using while developing the DTS.

As I reached the completion of the script and DTS, the storing of the
file no longer followed the defined path, but the DTS started sending
the file to a different drive. The drive\folder to which the file is
being sent is my network user folder that is on a distributed file
system. This drive\folder is mapped and is available to me every time
I log in to the network. I am at a complete loss to explain why the
file storage location changed. I have checked the DTS and all appears
as it should.

I don't know if this is a DTS thing or a network user profile thing.
Has anyone seen anything like this?

I can be more detailed with the DTS and Script, if needed.

Thanks


Reply With Quote
  #2  
Old   
Allan Mitchell
 
Posts: n/a

Default Re: Text file created when DTS Exec by vbscript not stored on path - 06-04-2006 , 05:14 PM






Hello raglin,


Could you be a bit more specific about when you say about naming the file?
What happens if you just send the file locally i.e. not to the DFS?

Allan

Quote:
I am using a vbscript that Exec a DTS. The DTS command string is
created with global variables that are passed to the select and used
to name the file that is created.

In the DTS the file path is defined and the variable with the file
name is associated. The path points to a shared folder on the
workstation I am using while developing the DTS.

As I reached the completion of the script and DTS, the storing of the
file no longer followed the defined path, but the DTS started sending
the file to a different drive. The drive\folder to which the file is
being sent is my network user folder that is on a distributed file
system. This drive\folder is mapped and is available to me every time
I log in to the network. I am at a complete loss to explain why the
file storage location changed. I have checked the DTS and all appears
as it should.

I don't know if this is a DTS thing or a network user profile thing.
Has anyone seen anything like this?

I can be more detailed with the DTS and Script, if needed.

Thanks




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.