dbTalk Databases Forums  

Help: I need to move a file from one server to another from a DTS package

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


Discuss Help: I need to move a file from one server to another from a DTS package in the microsoft.public.sqlserver.dts forum.



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

Default Help: I need to move a file from one server to another from a DTS package - 12-30-2004 , 07:26 AM






Hi all

I've tried about everything. My problem is that I have this .asp page
that executes a DTS Package, this package gets some data from a table,
saves it into a text file. No problem so far.
Now I would like to move the file from my server to another server =
FAIL!!!
Wher i run the DTS Package from Enterprise manager there is no problem
the file gets moved ok but when I execute it from my .asp page it
fails.
On the server where the file should end 'everyone' has write rights.

Does anyone know what to do?

Jais, Mondo A/S, Denmark

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

Default Re: I need to move a file from one server to another from a DTS package - 12-30-2004 , 12:18 PM






What error is returned?

It sounds like a permissions problem.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Jais Holstein" <jaisholstein (AT) gmail (DOT) com> wrote

Quote:
Hi all

I've tried about everything. My problem is that I have this .asp page
that executes a DTS Package, this package gets some data from a table,
saves it into a text file. No problem so far.
Now I would like to move the file from my server to another server =
FAIL!!!
Wher i run the DTS Package from Enterprise manager there is no problem
the file gets moved ok but when I execute it from my .asp page it
fails.
On the server where the file should end 'everyone' has write rights.

Does anyone know what to do?

Jais, Mondo A/S, Denmark



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

Default Re: I need to move a file from one server to another from a DTS package - 12-30-2004 , 01:10 PM



Hi Allan

It dosen't really say a lot. I've used the example I fount on
sqldts.com and created an .asp page. When I run the package it tells me
that the step (step3) failed. Thats all.
My package has 3 steps.
1. gather data fra a table and write to text file.
2. rename textfile
3. Move file from server A to server B (Using a .bat file)
I'v modified the package and tried if it was posible to move the file
from one dir to another on Server A and that is ok. I started with only
step 1 and it would just save the file directly on server B but that
didn't work.

Jais




Allan Mitchell wrote:
Quote:
What error is returned?

It sounds like a permissions problem.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Jais Holstein" <jaisholstein (AT) gmail (DOT) com> wrote

Hi all

I've tried about everything. My problem is that I have this .asp
page
that executes a DTS Package, this package gets some data from a
table,
saves it into a text file. No problem so far.
Now I would like to move the file from my server to another server
=
FAIL!!!
Wher i run the DTS Package from Enterprise manager there is no
problem
the file gets moved ok but when I execute it from my .asp page it
fails.
On the server where the file should end 'everyone' has write
rights.

Does anyone know what to do?

Jais, Mondo A/S, Denmark


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

Default Re: I need to move a file from one server to another from a DTS package - 12-30-2004 , 02:11 PM



Have you tried logging execution of the steps to a text file?
This may yield more luck in troubleshooting this.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Jais" <jaisholstein (AT) gmail (DOT) com> wrote

Quote:
Hi Allan

It dosen't really say a lot. I've used the example I fount on
sqldts.com and created an .asp page. When I run the package it tells me
that the step (step3) failed. Thats all.
My package has 3 steps.
1. gather data fra a table and write to text file.
2. rename textfile
3. Move file from server A to server B (Using a .bat file)
I'v modified the package and tried if it was posible to move the file
from one dir to another on Server A and that is ok. I started with only
step 1 and it would just save the file directly on server B but that
didn't work.

Jais




Allan Mitchell wrote:
What error is returned?

It sounds like a permissions problem.

--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Jais Holstein" <jaisholstein (AT) gmail (DOT) com> wrote in message
news:87cdd476.0412300526.3a77a759 (AT) posting (DOT) google.com...
Hi all

I've tried about everything. My problem is that I have this .asp
page
that executes a DTS Package, this package gets some data from a
table,
saves it into a text file. No problem so far.
Now I would like to move the file from my server to another server
=
FAIL!!!
Wher i run the DTS Package from Enterprise manager there is no
problem
the file gets moved ok but when I execute it from my .asp page it
fails.
On the server where the file should end 'everyone' has write
rights.

Does anyone know what to do?

Jais, Mondo A/S, Denmark




Reply With Quote
  #5  
Old   
Jais
 
Posts: n/a

Default Re: I need to move a file from one server to another from a DTS package - 01-03-2005 , 03:02 AM



Hi Allan

Happy newyear to you. I've tried adding an error log. It told me that
it was a permissions problem as you suspected.
That just puzzels me because I changed access rights to the asp page
that executes the DTS package. I now log on with my NT username and
password. I have permission to log on to both server A and B and I have
full rights to the destination folder om server B.
Do you know why it still fails?

Jais


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

Default Re: I need to move a file from one server to another from a DTS package - 01-03-2005 , 08:03 AM



Have you had a look here

http://support.microsoft.com/?kbid=252987

It may be that even though you think you are doing the excuting, you are in fact not.



--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.SQLDTS.com - The site for all your DTS needs.
www.SQLIS.com - SQL Server 2005 Integration Services.
www.Konesans.com


"Jais" <jaisholstein (AT) gmail (DOT) com> wrote

Quote:
Hi Allan

Happy newyear to you. I've tried adding an error log. It told me that
it was a permissions problem as you suspected.
That just puzzels me because I changed access rights to the asp page
that executes the DTS package. I now log on with my NT username and
password. I have permission to log on to both server A and B and I have
full rights to the destination folder om server B.
Do you know why it still fails?

Jais




Reply With Quote
  #7  
Old   
Jais
 
Posts: n/a

Default Re: I need to move a file from one server to another from a DTS package - 01-04-2005 , 04:23 AM



Hi Allan

Success. I've now solved the problem. I think it's a mix of several
things. An former collegue of mine told me that the website in IIS
should run in an isolated process. And the security for the webpage
should be windows authentification. I did all that and restarted the
website and it worked.
Thhank you very much for your help

Jais :-)


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.