dbTalk Databases Forums  

vb.net program does not execute in scheduled dts package

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


Discuss vb.net program does not execute in scheduled dts package in the microsoft.public.sqlserver.dts forum.



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

Default vb.net program does not execute in scheduled dts package - 01-09-2004 , 02:23 PM






I wrote a simple vb.net program to identify and track the number and
size of backup files for the default instance of SQL Server 2000 SP3
instance on a Windows 2000 Server.

This program is set up to run in a dts package. When a job that
executes the dts package runs, the vb.net program does not run and no
errors are reported. The only activity in profiler is exec
msdb..sp_get_dtspackage N'dts_PACKAGENAME', null, null

I had thought that the problem was within the program or the permissions
of the SQL Server Agent account. However, the program runs as expected
when I manually execute the dts package or double-click on the .exe file
while I am logged in with SQL Server Agent account.

Any thoughts as what I can check out next?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

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

Default Re: vb.net program does not execute in scheduled dts package - 01-09-2004 , 02:29 PM






That is good unless the job is not executing as the Agent Account. If the
job is not owned by a member of the sysadmin role then the package is
executed as the Agent Proxy Account.



--
--

Allan Mitchell MCSE,MCDBA, (Microsoft SQL Server MVP)
www.allisonmitchell.com - Expert SQL Server Consultancy.
www.SQLDTS.com - The site for all your DTS needs.
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org


"Mark Lane" <majalane (AT) hotmail (DOT) com> wrote

Quote:
I wrote a simple vb.net program to identify and track the number and
size of backup files for the default instance of SQL Server 2000 SP3
instance on a Windows 2000 Server.

This program is set up to run in a dts package. When a job that
executes the dts package runs, the vb.net program does not run and no
errors are reported. The only activity in profiler is exec
msdb..sp_get_dtspackage N'dts_PACKAGENAME', null, null

I had thought that the problem was within the program or the permissions
of the SQL Server Agent account. However, the program runs as expected
when I manually execute the dts package or double-click on the .exe file
while I am logged in with SQL Server Agent account.

Any thoughts as what I can check out next?



*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!



Reply With Quote
  #3  
Old   
Mark Lane
 
Posts: n/a

Default Re: vb.net program does not execute in scheduled dts package - 01-12-2004 , 11:44 AM



Thank you for your feedback.

Unfortunately the job is owned by a member of the sysadmin role.

*** Sent via Developersdex http://www.developersdex.com ***
Don't just participate in USENET...get rewarded for it!

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.