dbTalk Databases Forums  

DTS Execution error from remote computer

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


Discuss DTS Execution error from remote computer in the microsoft.public.sqlserver.dts forum.



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

Default DTS Execution error from remote computer - 01-28-2004 , 12:20 PM






--SQL SERVER 2000--
I created a DTS Package to export to a text file and when
i execute it on the SQL server itself it works fine. But
if i execute it from a sql client workstation it gives me
an error that say's "Error Opening Data File: The Device
is Not Ready". Hmmmm having trouble finding a solution,
any pointers would be apprecaited.

Thank you

Tim
--Do not respond to email address thank you...

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

Default Re: DTS Execution error from remote computer - 01-28-2004 , 01:37 PM






DTS looks for things in relation to the place where the start button is
pushed so drive mappings etc are very important.
So if on the server you hae a mapped X drive and on your PC you do not, this
would cause an error.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Tim" <uce (AT) ftc (DOT) gov> wrote

Quote:
--SQL SERVER 2000--
I created a DTS Package to export to a text file and when
i execute it on the SQL server itself it works fine. But
if i execute it from a sql client workstation it gives me
an error that say's "Error Opening Data File: The Device
is Not Ready". Hmmmm having trouble finding a solution,
any pointers would be apprecaited.

Thank you

Tim
--Do not respond to email address thank you...



Reply With Quote
  #3  
Old   
Rand Boyd [MSFT]
 
Posts: n/a

Default RE: DTS Execution error from remote computer - 01-28-2004 , 02:37 PM



What drive are you exporting the text file to? Does that dive letter exist
on the client machine? When you execute the DTS package on the client
machine all the work is done local to that machine. Try using a UNC path to
the file if you are not already doing that.

Rand
This posting is provided "as is" with no warranties and confers no rights.


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

Default RE: DTS Execution error from remote computer - 01-28-2004 , 03:21 PM



Everything is local to the SQL server... The drive is the
D drive on the server... it runs fine on the server it's
just when i open it from the out side and execute it, it
fails....

Thanks

Tim


Quote:
-----Original Message-----
What drive are you exporting the text file to? Does that
dive letter exist
on the client machine? When you execute the DTS package
on the client
machine all the work is done local to that machine. Try
using a UNC path to
the file if you are not already doing that.

Rand
This posting is provided "as is" with no warranties and
confers no rights.

.


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

Default Re: DTS Execution error from remote computer - 01-28-2004 , 03:36 PM



Do you have a D drive?
Do you have the same directory structure?
Is this a source or destination connection.?
If Source is the text file on your local D drive in the correct folder?


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Tim" <uce (AT) ftc (DOT) gov> wrote

Quote:
Everything is local to the SQL server... The drive is the
D drive on the server... it runs fine on the server it's
just when i open it from the out side and execute it, it
fails....

Thanks

Tim


-----Original Message-----
What drive are you exporting the text file to? Does that
dive letter exist
on the client machine? When you execute the DTS package
on the client
machine all the work is done local to that machine. Try
using a UNC path to
the file if you are not already doing that.

Rand
This posting is provided "as is" with no warranties and
confers no rights.

.




Reply With Quote
  #6  
Old   
Tim
 
Posts: n/a

Default Re: DTS Execution error from remote computer - 01-28-2004 , 06:01 PM



The job export a single column from a table to a text
file on the SQL server's D drive reguarless what computer
it runs from...

thanks

Tim

Quote:
-----Original Message-----
Do you have a D drive?
Do you have the same directory structure?
Is this a source or destination connection.?
If Source is the text file on your local D drive in the
correct folder?


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Tim" <uce (AT) ftc (DOT) gov> wrote in message
news:5a5c01c3e5e4$a0f0b6a0$a301280a (AT) phx (DOT) gbl...
Everything is local to the SQL server... The drive is
the
D drive on the server... it runs fine on the server
it's
just when i open it from the out side and execute it,
it
fails....

Thanks

Tim


-----Original Message-----
What drive are you exporting the text file to? Does
that
dive letter exist
on the client machine? When you execute the DTS
package
on the client
machine all the work is done local to that machine.
Try
using a UNC path to
the file if you are not already doing that.

Rand
This posting is provided "as is" with no warranties
and
confers no rights.

.



.


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

Default Re: DTS Execution error from remote computer - 01-29-2004 , 12:55 AM



OK so let me recap then

You have a package which exports to text file
That text file location is on the D drive
If the file location is defined as d:\.... then wherever you execute the
package must have that directory and drive structure.
If you are using UNC then you can place the file wherever you want so long
as you have the permissions.
When you executed it on the server was it the same account you are currently
using?

The error suggests that it cannot open the text file devide because the
location specified does not exist relative to the local computer.

--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Tim" <anonymous (AT) discussions (DOT) microsoft.com> wrote

Quote:
The job export a single column from a table to a text
file on the SQL server's D drive reguarless what computer
it runs from...

thanks

Tim

-----Original Message-----
Do you have a D drive?
Do you have the same directory structure?
Is this a source or destination connection.?
If Source is the text file on your local D drive in the
correct folder?


--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Tim" <uce (AT) ftc (DOT) gov> wrote in message
news:5a5c01c3e5e4$a0f0b6a0$a301280a (AT) phx (DOT) gbl...
Everything is local to the SQL server... The drive is
the
D drive on the server... it runs fine on the server
it's
just when i open it from the out side and execute it,
it
fails....

Thanks

Tim


-----Original Message-----
What drive are you exporting the text file to? Does
that
dive letter exist
on the client machine? When you execute the DTS
package
on the client
machine all the work is done local to that machine.
Try
using a UNC path to
the file if you are not already doing that.

Rand
This posting is provided "as is" with no warranties
and
confers no rights.

.



.




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.