![]() | |
![]() |
| | Thread Tools | Display Modes |
#1
| |||
| |||
|
#2
| |||
| |||
|
|
Hello, Is it possible to change the servername in a scheduled job that executes a dts package? I have 2 sql2000 servers running and I want to move all databases from server A to Server B. I restored all databases, dts packages and jobs. (I've created the jobs using a exported sql script) about 100 jobs But when I start a Job it fails. (I think it fails because its using the dtsrun ~xxxxxxxxxxxxx command. and the servername / is somewhere encrypted.) How can I easily modify all jobs without to modify each manually? |
#3
| |||
| |||
|
|
Hello YRREB, Do you have an error message? It could be the encrypted DTSRun command but then again it may not be. When you created the job scripts did you change the servername in them? Allan Hello, Is it possible to change the servername in a scheduled job that executes a dts package? I have 2 sql2000 servers running and I want to move all databases from server A to Server B. I restored all databases, dts packages and jobs. (I've created the jobs using a exported sql script) about 100 jobs But when I start a Job it fails. (I think it fails because its using the dtsrun ~xxxxxxxxxxxxx command. and the servername / is somewhere encrypted.) How can I easily modify all jobs without to modify each manually? |
#4
| |||
| |||
|
|
This is the error message: (for all jobs) Executed as user: domain\user. DTSRun: Loading... Error: -2147217843 (80040E4D); Provider Error: 18456 (4818) Error string: Login failed for user 'domain\user'. Error source: Microsoft OLE DB Provider for SQL Server Help file: Help context: 0. Process Exit Code 1. The step failed. I did a generate sql script on the jobs and copied the preview. then I executed the sql query on the new server. (this server has a different server name). the automaticly generated script contains dtsrun ~xxxxx. (I can't change it in here) is it possible to change the servername for all jobs? "Allan Mitchell" wrote: Hello YRREB, Do you have an error message? It could be the encrypted DTSRun command but then again it may not be. When you created the job scripts did you change the servername in them? Allan Hello, Is it possible to change the servername in a scheduled job that executes a dts package? I have 2 sql2000 servers running and I want to move all databases from server A to Server B. I restored all databases, dts packages and jobs. (I've created the jobs using a exported sql script) about 100 jobs But when I start a Job it fails. (I think it fails because its using the dtsrun ~xxxxxxxxxxxxx command. and the servername / is somewhere encrypted.) How can I easily modify all jobs without to modify each manually? |
#5
| |||
| |||
|
|
This is the error message: (for all jobs) Executed as user: domain\user. DTSRun: Loading... Error: -2147217843 (80040E4D); Provider Error: 18456 (4818) Error string: Login failed for user 'domain\user'. Error source: Microsoft OLE DB Provider for SQL Server Help file: Help context: 0. Process Exit Code 1. The step failed. I did a generate sql script on the jobs and copied the preview. then I executed the sql query on the new server. (this server has a different server name). the automaticly generated script contains dtsrun ~xxxxx. (I can't change it in here) is it possible to change the servername for all jobs? "Allan Mitchell" wrote: Hello YRREB, Do you have an error message? It could be the encrypted DTSRun command but then again it may not be. When you created the job scripts did you change the servername in them? Allan Hello, Is it possible to change the servername in a scheduled job that executes a dts package? I have 2 sql2000 servers running and I want to move all databases from server A to Server B. I restored all databases, dts packages and jobs. (I've created the jobs using a exported sql script) about 100 jobs But when I start a Job it fails. (I think it fails because its using the dtsrun ~xxxxxxxxxxxxx command. and the servername / is somewhere encrypted.) How can I easily modify all jobs without to modify each manually? |
![]() |
| Thread Tools | |
| Display Modes | |
| |