![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
-----Original Message----- Hello all, I am having serious issues with SQL 7.0 DTS. I am trying setup a nightly job that transfers tables from a production database to a reporting database every night. I have used SQL authentication, and NT authentication, -- I am using the Transfer SQL Objects option (between to SQL servers...even though it is the same server). All my setting look correct. In fact, the job works if I run it myself. If the SQL Agent kicks it off, it dies about 75% with the following error: -2147220299 (800404B5) I have an existing DTS job that copies the same production database to a different reporting database and it works fine every night. So, I tried saving that DTS job as an additional file, made the DB destination change for the second reporting database, and I get the same behavior. Is there a way to turn on some sort of descriptive logging?? Thanks Ryan Hunt . |
#3
| |||
| |||
|
|
A. Mitchell, I read your response to a previous person's question. The job is owned by myself (a domain administrator). I don't recognize the SQLAgentCmdExec acount so I assume the articles is refferring to the service account we use to run our SQL agent... If that is the case, that ID is a local server admin and a system administrator for SQL. Unfortunately, my problem appears different. Any suggestions? Oh, also, we are primarily a SQL 2000 shop. Therefore, I build DTS jobs directly on the server so I am using Enterprise Manager for 7.0. Therefore, when I am running it and when the SQL agent run the DTS job, both are running directly on the server. Thanks Ryan -----Original Message----- Hello all, I am having serious issues with SQL 7.0 DTS. I am trying setup a nightly job that transfers tables from a production database to a reporting database every night. I have used SQL authentication, and NT authentication, -- I am using the Transfer SQL Objects option (between to SQL servers...even though it is the same server). All my setting look correct. In fact, the job works if I run it myself. If the SQL Agent kicks it off, it dies about 75% with the following error: -2147220299 (800404B5) I have an existing DTS job that copies the same production database to a different reporting database and it works fine every night. So, I tried saving that DTS job as an additional file, made the DB destination change for the second reporting database, and I get the same behavior. Is there a way to turn on some sort of descriptive logging?? Thanks Ryan Hunt . |
#4
| |||
| |||
|
|
Hmmmmmmmm OK Change the owner of the job to sa. This will cause the job to execute under the guise of the SQL Server Agent account. Are you a sysadmin in SQL Server ? If you log onto the server as the Agent account and press "GO" in the package what happens? Enable logging in the package If the Agent is a local server admin (Local Account) then it will not see off it's own box. You say you are primarily a 2000 shop but are using 7's EM ? How many steps in the package ? What is the whole error ? What task are you using ? Transfer Objects ? (The Move Databases task appeared in 2000) -- -- 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 Hunt" <ryan.hunt (AT) highwoods (DOT) com> wrote in message news:07a101c38ea8$01490b40$a101280a (AT) phx (DOT) gbl... A. Mitchell, I read your response to a previous person's question. The job is owned by myself (a domain administrator). I don't recognize the SQLAgentCmdExec acount so I assume the articles is refferring to the service account we use to run our SQL agent... If that is the case, that ID is a local server admin and a system administrator for SQL. Unfortunately, my problem appears different. Any suggestions? Oh, also, we are primarily a SQL 2000 shop. Therefore, I build DTS jobs directly on the server so I am using Enterprise Manager for 7.0. Therefore, when I am running it and when the SQL agent run the DTS job, both are running directly on the server. Thanks Ryan -----Original Message----- Hello all, I am having serious issues with SQL 7.0 DTS. I am trying setup a nightly job that transfers tables from a production database to a reporting database every night. I have used SQL authentication, and NT authentication, -- I am using the Transfer SQL Objects option (between to SQL servers...even though it is the same server). All my setting look correct. In fact, the job works if I run it myself. If the SQL Agent kicks it off, it dies about 75% with the following error: -2147220299 (800404B5) I have an existing DTS job that copies the same production database to a different reporting database and it works fine every night. So, I tried saving that DTS job as an additional file, made the DB destination change for the second reporting database, and I get the same behavior. Is there a way to turn on some sort of descriptive logging?? Thanks Ryan Hunt . |
#5
| |||
| |||
|
|
Hmmmmmmmm OK Change the owner of the job to sa. This will cause the job to execute under the guise of the SQL Server Agent account. Are you a sysadmin in SQL Server ? If you log onto the server as the Agent account and press "GO" in the package what happens? Enable logging in the package If the Agent is a local server admin (Local Account) then it will not see off it's own box. You say you are primarily a 2000 shop but are using 7's EM ? How many steps in the package ? What is the whole error ? What task are you using ? Transfer Objects ? (The Move Databases task appeared in 2000) -- -- 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 Hunt" <ryan.hunt (AT) highwoods (DOT) com> wrote in message news:07a101c38ea8$01490b40$a101280a (AT) phx (DOT) gbl... A. Mitchell, I read your response to a previous person's question. The job is owned by myself (a domain administrator). I don't recognize the SQLAgentCmdExec acount so I assume the articles is refferring to the service account we use to run our SQL agent... If that is the case, that ID is a local server admin and a system administrator for SQL. Unfortunately, my problem appears different. Any suggestions? Oh, also, we are primarily a SQL 2000 shop. Therefore, I build DTS jobs directly on the server so I am using Enterprise Manager for 7.0. Therefore, when I am running it and when the SQL agent run the DTS job, both are running directly on the server. Thanks Ryan -----Original Message----- Hello all, I am having serious issues with SQL 7.0 DTS. I am trying setup a nightly job that transfers tables from a production database to a reporting database every night. I have used SQL authentication, and NT authentication, -- I am using the Transfer SQL Objects option (between to SQL servers...even though it is the same server). All my setting look correct. In fact, the job works if I run it myself. If the SQL Agent kicks it off, it dies about 75% with the following error: -2147220299 (800404B5) I have an existing DTS job that copies the same production database to a different reporting database and it works fine every night. So, I tried saving that DTS job as an additional file, made the DB destination change for the second reporting database, and I get the same behavior. Is there a way to turn on some sort of descriptive logging?? Thanks Ryan Hunt . |
#6
| |||
| |||
|
|
Logging in package = Right click Whitespace | Package properties | Logging 7 can use and manipulate 2000 packages Service Pack and Version Compatibility Problems (http://www.sqldts.com/default.aspx?223) Is the error info from the job step details or just the job ? (Little check box top right) Was the package created on 200 and the server is 7 ? If it is then check for non 7 objects (Functions) The logging should tell us where the error is though. have you tried logging in as the SQL Server Agent account and running it from the server ? -- -- 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 Hunt" <ryan.hunt (AT) highwoods (DOT) com> wrote in message news:uKJ1lRzjDHA.360 (AT) TK2MSFTNGP10 (DOT) phx.gbl... - I will perform some testing with owner as SA and as the SQL agent service account -Yes, I am a sysadmin in SQL Server - I will check on this. Again, the schedule kicks it off fine. It runs through about 75% of the copy and comes back with the error below. If I run it locally, it runs the duration. - How do you enable logging in the package? - The agent does not need to leave the server accept through ODBC, where separate accounts are used. In this case, both DB's are on the same server (local). -Sorry, I should have been more clear. We have both SQL 7 and SQL 2000...although ironically, our SQL 7.0 box does the vast majority of our DTS work. Anyway, all developers, admins, etc. use SQL 2000's EM for functionality, etc. However, it is my understand that SQL 7.0 cannot read packages written in 2000 EM so I make sure that all SQL 7.0 DTS jobs are built on the server console using SQL 7.0 EM (installed on the 7.0 server) -Essentially just one or two. Other than the DB connections, that package shows up as one step (transfer objects). -The whole error is: SQL Server Scheduled Job 'PRD TO 0714' (0x9651349E49F0C345A4958124B2577140) - Status: Failed - Invoked on: 10/9/2003 4:17:00 PM - Message: The job failed. The Job was invoked by Schedule 127 (PRD TO 0714). The last step to run was step 1 (PRD TO 0714). -Yes, I am using transfer objects. Thanks in advance for your help. Ryan Hunt "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:OfQBvEvjDHA.1488 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Hmmmmmmmm OK Change the owner of the job to sa. This will cause the job to execute under the guise of the SQL Server Agent account. Are you a sysadmin in SQL Server ? If you log onto the server as the Agent account and press "GO" in the package what happens? Enable logging in the package If the Agent is a local server admin (Local Account) then it will not see off it's own box. You say you are primarily a 2000 shop but are using 7's EM ? How many steps in the package ? What is the whole error ? What task are you using ? Transfer Objects ? (The Move Databases task appeared in 2000) -- -- 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 Hunt" <ryan.hunt (AT) highwoods (DOT) com> wrote in message news:07a101c38ea8$01490b40$a101280a (AT) phx (DOT) gbl... A. Mitchell, I read your response to a previous person's question. The job is owned by myself (a domain administrator). I don't recognize the SQLAgentCmdExec acount so I assume the articles is refferring to the service account we use to run our SQL agent... If that is the case, that ID is a local server admin and a system administrator for SQL. Unfortunately, my problem appears different. Any suggestions? Oh, also, we are primarily a SQL 2000 shop. Therefore, I build DTS jobs directly on the server so I am using Enterprise Manager for 7.0. Therefore, when I am running it and when the SQL agent run the DTS job, both are running directly on the server. Thanks Ryan -----Original Message----- Hello all, I am having serious issues with SQL 7.0 DTS. I am trying setup a nightly job that transfers tables from a production database to a reporting database every night. I have used SQL authentication, and NT authentication, -- I am using the Transfer SQL Objects option (between to SQL servers...even though it is the same server). All my setting look correct. In fact, the job works if I run it myself. If the SQL Agent kicks it off, it dies about 75% with the following error: -2147220299 (800404B5) I have an existing DTS job that copies the same production database to a different reporting database and it works fine every night. So, I tried saving that DTS job as an additional file, made the DB destination change for the second reporting database, and I get the same behavior. Is there a way to turn on some sort of descriptive logging?? Thanks Ryan Hunt . |
#7
| |||
| |||
|
|
Logging in package = Right click Whitespace | Package properties | Logging 7 can use and manipulate 2000 packages Service Pack and Version Compatibility Problems (http://www.sqldts.com/default.aspx?223) Is the error info from the job step details or just the job ? (Little check box top right) Was the package created on 200 and the server is 7 ? If it is then check for non 7 objects (Functions) The logging should tell us where the error is though. have you tried logging in as the SQL Server Agent account and running it from the server ? -- -- 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 Hunt" <ryan.hunt (AT) highwoods (DOT) com> wrote in message news:uKJ1lRzjDHA.360 (AT) TK2MSFTNGP10 (DOT) phx.gbl... - I will perform some testing with owner as SA and as the SQL agent service account -Yes, I am a sysadmin in SQL Server - I will check on this. Again, the schedule kicks it off fine. It runs through about 75% of the copy and comes back with the error below. If I run it locally, it runs the duration. - How do you enable logging in the package? - The agent does not need to leave the server accept through ODBC, where separate accounts are used. In this case, both DB's are on the same server (local). -Sorry, I should have been more clear. We have both SQL 7 and SQL 2000...although ironically, our SQL 7.0 box does the vast majority of our DTS work. Anyway, all developers, admins, etc. use SQL 2000's EM for functionality, etc. However, it is my understand that SQL 7.0 cannot read packages written in 2000 EM so I make sure that all SQL 7.0 DTS jobs are built on the server console using SQL 7.0 EM (installed on the 7.0 server) -Essentially just one or two. Other than the DB connections, that package shows up as one step (transfer objects). -The whole error is: SQL Server Scheduled Job 'PRD TO 0714' (0x9651349E49F0C345A4958124B2577140) - Status: Failed - Invoked on: 10/9/2003 4:17:00 PM - Message: The job failed. The Job was invoked by Schedule 127 (PRD TO 0714). The last step to run was step 1 (PRD TO 0714). -Yes, I am using transfer objects. Thanks in advance for your help. Ryan Hunt "Allan Mitchell" <allan (AT) no-spam (DOT) sqldts.com> wrote in message news:OfQBvEvjDHA.1488 (AT) TK2MSFTNGP12 (DOT) phx.gbl... Hmmmmmmmm OK Change the owner of the job to sa. This will cause the job to execute under the guise of the SQL Server Agent account. Are you a sysadmin in SQL Server ? If you log onto the server as the Agent account and press "GO" in the package what happens? Enable logging in the package If the Agent is a local server admin (Local Account) then it will not see off it's own box. You say you are primarily a 2000 shop but are using 7's EM ? How many steps in the package ? What is the whole error ? What task are you using ? Transfer Objects ? (The Move Databases task appeared in 2000) -- -- 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 Hunt" <ryan.hunt (AT) highwoods (DOT) com> wrote in message news:07a101c38ea8$01490b40$a101280a (AT) phx (DOT) gbl... A. Mitchell, I read your response to a previous person's question. The job is owned by myself (a domain administrator). I don't recognize the SQLAgentCmdExec acount so I assume the articles is refferring to the service account we use to run our SQL agent... If that is the case, that ID is a local server admin and a system administrator for SQL. Unfortunately, my problem appears different. Any suggestions? Oh, also, we are primarily a SQL 2000 shop. Therefore, I build DTS jobs directly on the server so I am using Enterprise Manager for 7.0. Therefore, when I am running it and when the SQL agent run the DTS job, both are running directly on the server. Thanks Ryan -----Original Message----- Hello all, I am having serious issues with SQL 7.0 DTS. I am trying setup a nightly job that transfers tables from a production database to a reporting database every night. I have used SQL authentication, and NT authentication, -- I am using the Transfer SQL Objects option (between to SQL servers...even though it is the same server). All my setting look correct. In fact, the job works if I run it myself. If the SQL Agent kicks it off, it dies about 75% with the following error: -2147220299 (800404B5) I have an existing DTS job that copies the same production database to a different reporting database and it works fine every night. So, I tried saving that DTS job as an additional file, made the DB destination change for the second reporting database, and I get the same behavior. Is there a way to turn on some sort of descriptive logging?? Thanks Ryan Hunt . |
![]() |
| Thread Tools | |
| Display Modes | |
| |