Wrox Programmer Forums
Go Back   Wrox Programmer Forums > SQL Server > SQL Server DTS
|
SQL Server DTS Discussion specific to Data Transformation Service with SQL Server. General SQL Server discussions should use the general SQL Server forum. Readers of the book Professional SQL Server 2000 DTS with questions specific to that book should post in that book forum.
Welcome to the p2p.wrox.com Forums.

You are currently viewing the SQL Server DTS section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
 
Old May 20th, 2005, 02:12 PM
Registered User
 
Join Date: May 2005
Posts: 2
Thanks: 0
Thanked 0 Times in 0 Posts
Default Save a text file on SQL Server

I have a DTS package that loads a text file from a folder on the Server that hosts the SQL Server to a table in the SQl database.

I can do this comfortably if I execute the DTS package through Enterprise Manager on my machine. I(as an user) have access to the Server that hosts the SQL server and I am able to provide a path like L:\Microsoft SQL Server\MSSQL\FDCHClaims_Info.


But when I execute the DTS package from a client application, the application does not seem to have access to the folder on the Server that hosts the SQL server. When I try and execute the DTS Package, I assume that the SQLAgent will have access to the folder. But it take authentication of the client and since the client is not authorized to access the folder, the DTS fails.

Is there a way to get to the file system of the Server that hosts the SQL Server through the database authentication.

 
Old May 20th, 2005, 03:48 PM
Friend of Wrox
 
Join Date: Nov 2003
Posts: 625
Thanks: 0
Thanked 0 Times in 0 Posts
Send a message via MSN to jemacc
Default

You can try this

1-create a job for the dts package
2-Create a store procedure that calls that job and give the client rights to run that store procedure.


Jaime E. Maccou
 
Old January 3rd, 2007, 07:35 AM
Registered User
 
Join Date: Jan 2007
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default

hi, i want to save the image file on sql server's file system through the tools of database, not using asp upload and any other involving upload of the file. This approch i have used in oracle using java source and utl_file package. i want the analogy of this in sql server 2000.

please help urgent.
thanks in advance






Similar Threads
Thread Thread Starter Forum Replies Last Post
how to insert text file in sql server database sharvari_mothe Java Databases 3 June 5th, 2007 07:25 AM
Save PDF file as text file in VB.Net kvenkatu Classic ASP Basics 0 April 7th, 2006 01:09 PM
save a PDF file as text file through VB. NET kvenkatu VB.NET 0 April 6th, 2006 12:15 PM
Upload a Text file from a Web Client to SQL Server petercyriljones Classic ASP Professional 0 May 20th, 2005 10:26 AM
import text file to SQL Server DB via DTS pabloron SQL Server 2000 0 July 31st, 2003 06:41 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.