![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
I have a DTS package that I can execute successfully through enterprise manager... however, if I sechedule it or run it through the command prompt... it fails with a weird error: -2147221499: Need to run the object to perform this operation. I have found that if I remove some fields from the transform data task... the package will run through the scheduler. I am totally stumped and need this to work. Does anyone have any suggestions? Thanks |
#3
| |||
| |||
|
|
I have a DTS package that I can execute successfully through enterprise manager... however, if I sechedule it or run it through the command prompt... it fails with a weird error: -2147221499: Need to run the object to perform this operation. I have found that if I remove some fields from the transform data task... the package will run through the scheduler. I am totally stumped and need this to work. Does anyone have any suggestions? Thanks |
#4
| |||
| |||
|
|
-----Original Message----- In message <0dbd01c3f643$a5e11820$3a01280a (AT) phx (DOT) gbl>, Frank anonymous (AT) discussions (DOT) microsoft.com> writes I have a DTS package that I can execute successfully through enterprise manager... however, if I sechedule it or run it through the command prompt... it fails with a weird error: -2147221499: Need to run the object to perform this operation. I have found that if I remove some fields from the transform data task... the package will run through the scheduler. I am totally stumped and need this to work. Does anyone have any suggestions? Thanks Not familiar with the error, but scheduled packages often cause problems since they normally involve a change in execution location and security context when compared to packages being developed on a local machine. Plenty of posts about that on this group, but nothing concrete about the error. I would log onto the server itself, under the same account as used by the SQL Server agent service and manually run the package and see if you get any more error info from the execution dialog. Also turn on the package log file and data pump log fle, and also the log to SQL server option. -- Darren Green (SQL Server MVP) DTS - http://www.sqldts.com PASS - the definitive, global community for SQL Server professionals http://www.sqlpass.org . |
#5
| |||
| |||
|
|
Interestingly enough... When I log on the actual server and run the DTS Package locally on through Enterprise Manager. Enterprise manager crashes. So I don't even need to schedule it to make it fail. However, I go back to my pc and run the same package through Enterprise manager... the package runs fine. So you are on to something here... exactly what I am not certain. I do have a different version of enterprise manager installed on my PC versers what is on the server. |
![]() |
| Thread Tools | |
| Display Modes | |
| |