dbTalk Databases Forums  

Send Mail DTS hangs when scheduled as a job.

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


Discuss Send Mail DTS hangs when scheduled as a job. in the microsoft.public.sqlserver.dts forum.



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

Default Send Mail DTS hangs when scheduled as a job. - 01-12-2006 , 11:30 AM






Hi All,
I have a DTS package which runs a stored proc, copies the result in an
xls and mails the xls to me.
The package runs fine when executed manually, but when it is scheduled
as a job, it seems to hang.
After some testing I found that it hangs at the 'Mail Sending' part.
If the Send Mail task is removed, the package job runs perfectly fine.
I tried testing the SQL Mail profile, but that too seems to hang.
Does anybody have any idea why this is happening?

Any pointers to this would be greatly appreciated!!


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

Default Re: Send Mail DTS hangs when scheduled as a job. - 01-14-2006 , 07:42 AM






Hello snigs,

There is a huge amount of difference between a package that executes as a
job and one that is executed interactively. Most of the differences pertain
to location and permissions.

Have a read of this

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

Allan



Quote:
Hi All,
I have a DTS package which runs a stored proc, copies the result in an
xls and mails the xls to me.
The package runs fine when executed manually, but when it is scheduled
as a job, it seems to hang.
After some testing I found that it hangs at the 'Mail Sending' part.
If the Send Mail task is removed, the package job runs perfectly fine.
I tried testing the SQL Mail profile, but that too seems to hang.
Does anybody have any idea why this is happening?
Any pointers to this would be greatly appreciated!!




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.