dbTalk Databases Forums  

SQL2000 DTS question

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


Discuss SQL2000 DTS question in the microsoft.public.sqlserver.dts forum.



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

Default SQL2000 DTS question - 02-13-2006 , 10:08 AM






i am using Darren Green's spExecutePKGGlobalVariables to execute a Package.
This package access a txt File in an other server and transfers data to SQL
server.

When i open Query Analyzer in the SQL Server Machine and execute package as
follows,it
fails.

EXEC spExecutePKGGlobalVariables
@Server='BZSQL2000',
@PkgName='TRANSFER2',
@IntSecurity=0,
@UserName ='sa',
@ServerPWD = '',
@GlobalV_1='SOURCEPATH=\\BZSRV\TXTFILES\TEST.TXT'

But if i change the Sourcepath , something like C:\TEST.TXT , it succeeds.

In the SQL Server Machine , I open the package in the EM, change the
sourcepath to network share and run the package , it succeeds!

it may be something about Security Context of the package running , but i
am not good at security issues.
what can i do to make the the package work with a network share when
executed within the sp in the query analyzer.

Thanks for your help.





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.