dbTalk Databases Forums  

DTS manual / scheduled

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


Discuss DTS manual / scheduled in the microsoft.public.sqlserver.dts forum.



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

Default DTS manual / scheduled - 10-01-2003 , 03:53 AM






Hello all,

I mentioned this problem earlier, but I found something interesting...

I created a DTS to import an ASCII-file. When I manually start this DTS,
everything is working fine. But when I schedule this one, it fails.

I use real datatype fields in the table and I found out this was the
reason the scheduled DTS failed. So I changed the datatype fields into
numeric and also the scheduled DTS works fine.

But...

The kept the original DTS (with the real datatype fields). I scheduled
this DTS on another system and guess... It was working!

This last system is up-to-date with al the patches and fixes for
Windows. The first one not.

Can anyone tell me which patch / fix is the reason it's working on the
second machine? Does it have anything to do with MDAC, ODBC, or
something else?

Thanks in advance,
Marco.

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

Reply With Quote
  #2  
Old   
Ryan Waight
 
Posts: n/a

Default DTS manual / scheduled - 10-01-2003 , 04:26 AM






It's a permission thing.
When you run it manually it runs as you, when you run it
as a scheduled task it runs as the account SQLServerAgent
is starting as.
Try making the SQL Agent service start as your account.


Quote:
-----Original Message-----
Hello all,

I mentioned this problem earlier, but I found something
interesting...

I created a DTS to import an ASCII-file. When I manually
start this DTS,
everything is working fine. But when I schedule this one,
it fails.

I use real datatype fields in the table and I found out
this was the
reason the scheduled DTS failed. So I changed the
datatype fields into
numeric and also the scheduled DTS works fine.

But...

The kept the original DTS (with the real datatype
fields). I scheduled
this DTS on another system and guess... It was working!

This last system is up-to-date with al the patches and
fixes for
Windows. The first one not.

Can anyone tell me which patch / fix is the reason it's
working on the
second machine? Does it have anything to do with MDAC,
ODBC, or
something else?

Thanks in advance,
Marco.

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


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

Default Re: DTS manual / scheduled - 10-01-2003 , 04:44 AM



Here is a good article abut running DTS as a scheduled job

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

--
--

Allan Mitchell (Microsoft SQL Server MVP)
MCSE,MCDBA
www.SQLDTS.com
I support PASS - the definitive, global community
for SQL Server professionals - http://www.sqlpass.org

"Ryan Waight" <Ryan_Waight (AT) nospam (DOT) hotmail.com> wrote

Quote:
It's a permission thing.
When you run it manually it runs as you, when you run it
as a scheduled task it runs as the account SQLServerAgent
is starting as.
Try making the SQL Agent service start as your account.


-----Original Message-----
Hello all,

I mentioned this problem earlier, but I found something
interesting...

I created a DTS to import an ASCII-file. When I manually
start this DTS,
everything is working fine. But when I schedule this one,
it fails.

I use real datatype fields in the table and I found out
this was the
reason the scheduled DTS failed. So I changed the
datatype fields into
numeric and also the scheduled DTS works fine.

But...

The kept the original DTS (with the real datatype
fields). I scheduled
this DTS on another system and guess... It was working!

This last system is up-to-date with al the patches and
fixes for
Windows. The first one not.

Can anyone tell me which patch / fix is the reason it's
working on the
second machine? Does it have anything to do with MDAC,
ODBC, or
something else?

Thanks in advance,
Marco.

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




Reply With Quote
  #4  
Old   
Marco Linders
 
Posts: n/a

Default Re: DTS manual / scheduled - 10-01-2003 , 10:54 AM



Hello Ryan,

First of all thanks for your reply.

But it's no permission item. Because when I changed the datatype fields
into numeric, the scheduled job was working.

It seems it has something to do with a missing patch or something.

Regards,
Marco.



*** 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.