dbTalk Databases Forums  

DTS Package from ASP/ASPX page

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


Discuss DTS Package from ASP/ASPX page in the microsoft.public.sqlserver.dts forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
paul@musicmantech.com
 
Posts: n/a

Default DTS Package from ASP/ASPX page - 09-14-2003 , 10:42 AM






Hi,

I am trying to create a DTS package that exports a table to
a text file from a ASP or ASPX page. Every attempt has failed (copy failed). Currently I am trying to create this
file in the directory that contains my .net application.
Is there a better way to accomplish this task?

Paul

************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...

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

Default Re: DTS Package from ASP/ASPX page - 09-14-2003 , 01:04 PM






What was the error for these failures ?

Execute a package from Active Server Pages (ASP)
(http://www.sqldts.com/default.aspx?207)


Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


Reply With Quote
  #3  
Old   
paul@musicmantech.com
 
Posts: n/a

Default Re: DTS Package from ASP/ASPX page - 09-14-2003 , 05:52 PM



Hi Allan,

Thanks for the response. The message is:

Package Failed
Package Copy Data from Agencies to c:\webhost4life_aspnet\aci1\agencies2.txt Step failed.

I can load a text file manually to this dir via FTP. I suppose I could add error handling logic if necessary to better determine the root cause of this error.

Best regards,
Paul Zimmerman


************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP & ASP.NET resources...

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

Default Re: DTS Package from ASP/ASPX page - 09-15-2003 , 01:30 AM



Remember in DTS everything, well nearly everything, is relative to the place
you push the button. So a personal drive mapping of X:\MyFiles\

may have no meaning to anyone else other than you.



--

----------------------------
Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org



"paul zimmerman" <paul (AT) musicmantech (DOT) com> wrote

Quote:
Hi Allan,

Thanks for the response. The message is:

Package Failed
Package Copy Data from Agencies to
c:\webhost4life_aspnet\aci1\agencies2.txt Step failed.

I can load a text file manually to this dir via FTP. I suppose I could add
error handling logic if necessary to better determine the root cause of this
error.
Quote:
Best regards,
Paul Zimmerman


************************************************** ********************
Sent via Fuzzy Software @ http://www.fuzzysoftware.com/
Comprehensive, categorised, searchable collection of links to ASP &
ASP.NET resources...




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.