dbTalk Databases Forums  

sp_grantdbaccess causes nested DTS failure

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


Discuss sp_grantdbaccess causes nested DTS failure in the microsoft.public.sqlserver.dts forum.



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

Default sp_grantdbaccess causes nested DTS failure - 06-15-2006 , 11:02 AM






Hoping I can acquire some insight or workaround to my problem. I'm on SQL2K
SP4..DTS. What I'm doing is running a stored procedure from an execute SQL
task that contains an sp_grantdbaccess call. The task and the DTS work as
intended......but when I run the DTS from another DTS(as a run package task)
I get a failure on that step..why? Because somehow the message "[SOME_USER]
added to role [SOME_ROLE] granted database access to [SOME_USER]." has
bubbled up to the parent DTS package and causes the step to fail even though
it does not if the child DTS is directly run. What's going on here?


Thanks for reading.


Jon



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.