![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----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! . |
#3
| |||
| |||
|
|
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! . |
#4
| |||
| |||
|
![]() |
| Thread Tools | |
| Display Modes | |
| |