Showing posts with label dts. Show all posts
Showing posts with label dts. Show all posts

Wednesday, March 21, 2012

Moving SQL Server installation (dbs, logins, replication, jobs, DTS etc) to new server

I need to move an entire SQL Server installation (databases, logins,
replication, jobs, DTS etc) to a new physical server.
What method requires the least manual intervention? Ideally I would like to
not have to reenter user passwords, and the replication to pick up with the
remote SQL Servers where it left off etc.
If I restored master, distribution, msdb and all user databases to the new
server, would that recreate the entire state of the SQL Server installation?
Would I also need to rename the new server with the old server's name?
Hi Laurence,
It might be helpful to check out :
http://vyaskn.tripod.com/moving_sql_server.htm
Nathan H. Omukwenyi, MVP [SQL Server]
"Laurence Neville" <laurenceneville@.hotmail.com> wrote in message
news:OdQe7zm5GHA.3452@.TK2MSFTNGP05.phx.gbl...
>I need to move an entire SQL Server installation (databases, logins,
>replication, jobs, DTS etc) to a new physical server.
> What method requires the least manual intervention? Ideally I would like
> to not have to reenter user passwords, and the replication to pick up with
> the remote SQL Servers where it left off etc.
> If I restored master, distribution, msdb and all user databases to the new
> server, would that recreate the entire state of the SQL Server
> installation? Would I also need to rename the new server with the old
> server's name?
>
|||I'd also recommend Vyas's reference for the general properties.
Replicationwise, you must have the same servername, or else you'll need to
script out the replication setup, change the references to the server name,
apply the scripts and then initialize the subscribers. If you can name the
new box with the netbios name of the old one before installing SQL Server
and restoring the databases, you should be fine. For this to work, you'll
need to stop replication and take the old server off the domain (or rename
it).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .
|||Thanks for both of your replies. I read the article and understand the
technique.
The only thing I am concerned about is where Vyas says "Install the exact
same version of Windows operating system on the new server.". My old server
is Windows 2000 and the new one is Windows 2003. Is it really critical that
the Windows versions are identical? What effect could the Windows version
have within SQL Server?
Thanks
"Paul Ibison" <Paul.Ibison@.Pygmalion.Com> wrote in message
news:%23psVtas5GHA.3592@.TK2MSFTNGP05.phx.gbl...
> I'd also recommend Vyas's reference for the general properties.
> Replicationwise, you must have the same servername, or else you'll need to
> script out the replication setup, change the references to the server
> name, apply the scripts and then initialize the subscribers. If you can
> name the new box with the netbios name of the old one before installing
> SQL Server and restoring the databases, you should be fine. For this to
> work, you'll need to stop replication and take the old server off the
> domain (or rename it).
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com .
>
|||My guess is that he is referring to memory/processor settings which are
restricted by the windows installation. These are partially configured in
the master database using sp_configure, and if you are restoring the master
database there'll be some dependency there. Alternatively, he might have
been referring to MS DTC (used in immediate updating subscribers for
replication) or windows firewall settings if these defaults are different on
different windows versions.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .

Moving SQL Server installation (dbs, logins, replication, jobs, DTS etc) to new server

I need to move an entire SQL Server installation (databases, logins,
replication, jobs, DTS etc) to a new physical server.
What method requires the least manual intervention? Ideally I would like to
not have to reenter user passwords, and the replication to pick up with the
remote SQL Servers where it left off etc.
If I restored master, distribution, msdb and all user databases to the new
server, would that recreate the entire state of the SQL Server installation?
Would I also need to rename the new server with the old server's name?
Hi Laurence,
It might be helpful to check out :
http://vyaskn.tripod.com/moving_sql_server.htm
Nathan H. Omukwenyi, MVP [SQL Server]
"Laurence Neville" <laurenceneville@.hotmail.com> wrote in message
news:OdQe7zm5GHA.3452@.TK2MSFTNGP05.phx.gbl...
>I need to move an entire SQL Server installation (databases, logins,
>replication, jobs, DTS etc) to a new physical server.
> What method requires the least manual intervention? Ideally I would like
> to not have to reenter user passwords, and the replication to pick up with
> the remote SQL Servers where it left off etc.
> If I restored master, distribution, msdb and all user databases to the new
> server, would that recreate the entire state of the SQL Server
> installation? Would I also need to rename the new server with the old
> server's name?
>
|||I'd also recommend Vyas's reference for the general properties.
Replicationwise, you must have the same servername, or else you'll need to
script out the replication setup, change the references to the server name,
apply the scripts and then initialize the subscribers. If you can name the
new box with the netbios name of the old one before installing SQL Server
and restoring the databases, you should be fine. For this to work, you'll
need to stop replication and take the old server off the domain (or rename
it).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .
|||Thanks for both of your replies. I read the article and understand the
technique.
The only thing I am concerned about is where Vyas says "Install the exact
same version of Windows operating system on the new server.". My old server
is Windows 2000 and the new one is Windows 2003. Is it really critical that
the Windows versions are identical? What effect could the Windows version
have within SQL Server?
Thanks
"Paul Ibison" <Paul.Ibison@.Pygmalion.Com> wrote in message
news:%23psVtas5GHA.3592@.TK2MSFTNGP05.phx.gbl...
> I'd also recommend Vyas's reference for the general properties.
> Replicationwise, you must have the same servername, or else you'll need to
> script out the replication setup, change the references to the server
> name, apply the scripts and then initialize the subscribers. If you can
> name the new box with the netbios name of the old one before installing
> SQL Server and restoring the databases, you should be fine. For this to
> work, you'll need to stop replication and take the old server off the
> domain (or rename it).
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com .
>
|||My guess is that he is referring to memory/processor settings which are
restricted by the windows installation. These are partially configured in
the master database using sp_configure, and if you are restoring the master
database there'll be some dependency there. Alternatively, he might have
been referring to MS DTC (used in immediate updating subscribers for
replication) or windows firewall settings if these defaults are different on
different windows versions.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .
sql

Moving SQL Server installation (dbs, logins, replication, jobs, DTS etc) to new server

I need to move an entire SQL Server installation (databases, logins,
replication, jobs, DTS etc) to a new physical server.
What method requires the least manual intervention? Ideally I would like to
not have to reenter user passwords, and the replication to pick up with the
remote SQL Servers where it left off etc.
If I restored master, distribution, msdb and all user databases to the new
server, would that recreate the entire state of the SQL Server installation?
Would I also need to rename the new server with the old server's name?Hi Laurence,
It might be helpful to check out :
http://vyaskn.tripod.com/moving_sql_server.htm
Nathan H. Omukwenyi, MVP [SQL Server]
"Laurence Neville" <laurenceneville@.hotmail.com> wrote in message
news:OdQe7zm5GHA.3452@.TK2MSFTNGP05.phx.gbl...
>I need to move an entire SQL Server installation (databases, logins,
>replication, jobs, DTS etc) to a new physical server.
> What method requires the least manual intervention? Ideally I would like
> to not have to reenter user passwords, and the replication to pick up with
> the remote SQL Servers where it left off etc.
> If I restored master, distribution, msdb and all user databases to the new
> server, would that recreate the entire state of the SQL Server
> installation? Would I also need to rename the new server with the old
> server's name?
>|||I'd also recommend Vyas's reference for the general properties.
Replicationwise, you must have the same servername, or else you'll need to
script out the replication setup, change the references to the server name,
apply the scripts and then initialize the subscribers. If you can name the
new box with the netbios name of the old one before installing SQL Server
and restoring the databases, you should be fine. For this to work, you'll
need to stop replication and take the old server off the domain (or rename
it).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .|||Thanks for both of your replies. I read the article and understand the
technique.
The only thing I am concerned about is where Vyas says "Install the exact
same version of Windows operating system on the new server.". My old server
is Windows 2000 and the new one is Windows 2003. Is it really critical that
the Windows versions are identical? What effect could the Windows version
have within SQL Server?
Thanks
"Paul Ibison" <Paul.Ibison@.Pygmalion.Com> wrote in message
news:%23psVtas5GHA.3592@.TK2MSFTNGP05.phx.gbl...
> I'd also recommend Vyas's reference for the general properties.
> Replicationwise, you must have the same servername, or else you'll need to
> script out the replication setup, change the references to the server
> name, apply the scripts and then initialize the subscribers. If you can
> name the new box with the netbios name of the old one before installing
> SQL Server and restoring the databases, you should be fine. For this to
> work, you'll need to stop replication and take the old server off the
> domain (or rename it).
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com .
>|||My guess is that he is referring to memory/processor settings which are
restricted by the windows installation. These are partially configured in
the master database using sp_configure, and if you are restoring the master
database there'll be some dependency there. Alternatively, he might have
been referring to MS DTC (used in immediate updating subscribers for
replication) or windows firewall settings if these defaults are different on
different windows versions.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .

Moving SQL Server installation (dbs, logins, replication, jobs, DTS etc) to new server

I need to move an entire SQL Server installation (databases, logins,
replication, jobs, DTS etc) to a new physical server.
What method requires the least manual intervention? Ideally I would like to
not have to reenter user passwords, and the replication to pick up with the
remote SQL Servers where it left off etc.
If I restored master, distribution, msdb and all user databases to the new
server, would that recreate the entire state of the SQL Server installation?
Would I also need to rename the new server with the old server's name?Hi Laurence,
It might be helpful to check out :
http://vyaskn.tripod.com/moving_sql_server.htm
Nathan H. Omukwenyi, MVP [SQL Server]
"Laurence Neville" <laurenceneville@.hotmail.com> wrote in message
news:OdQe7zm5GHA.3452@.TK2MSFTNGP05.phx.gbl...
>I need to move an entire SQL Server installation (databases, logins,
>replication, jobs, DTS etc) to a new physical server.
> What method requires the least manual intervention? Ideally I would like
> to not have to reenter user passwords, and the replication to pick up with
> the remote SQL Servers where it left off etc.
> If I restored master, distribution, msdb and all user databases to the new
> server, would that recreate the entire state of the SQL Server
> installation? Would I also need to rename the new server with the old
> server's name?
>|||I'd also recommend Vyas's reference for the general properties.
Replicationwise, you must have the same servername, or else you'll need to
script out the replication setup, change the references to the server name,
apply the scripts and then initialize the subscribers. If you can name the
new box with the netbios name of the old one before installing SQL Server
and restoring the databases, you should be fine. For this to work, you'll
need to stop replication and take the old server off the domain (or rename
it).
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .|||Thanks for both of your replies. I read the article and understand the
technique.
The only thing I am concerned about is where Vyas says "Install the exact
same version of Windows operating system on the new server.". My old server
is Windows 2000 and the new one is Windows 2003. Is it really critical that
the Windows versions are identical? What effect could the Windows version
have within SQL Server?
Thanks
"Paul Ibison" <Paul.Ibison@.Pygmalion.Com> wrote in message
news:%23psVtas5GHA.3592@.TK2MSFTNGP05.phx.gbl...
> I'd also recommend Vyas's reference for the general properties.
> Replicationwise, you must have the same servername, or else you'll need to
> script out the replication setup, change the references to the server
> name, apply the scripts and then initialize the subscribers. If you can
> name the new box with the netbios name of the old one before installing
> SQL Server and restoring the databases, you should be fine. For this to
> work, you'll need to stop replication and take the old server off the
> domain (or rename it).
> Cheers,
> Paul Ibison SQL Server MVP, www.replicationanswers.com .
>|||My guess is that he is referring to memory/processor settings which are
restricted by the windows installation. These are partially configured in
the master database using sp_configure, and if you are restoring the master
database there'll be some dependency there. Alternatively, he might have
been referring to MS DTC (used in immediate updating subscribers for
replication) or windows firewall settings if these defaults are different on
different windows versions.
Cheers,
Paul Ibison SQL Server MVP, www.replicationanswers.com .

Monday, March 19, 2012

moving sql server

Is there a tool awailable that can help me move databases, DTS packages and
logins from server A to server B?.
best regards
Trond
Not one tool that does all for you, at least not the best way. AFAIK. However,below links should get
you started:
Moving SQL Server Databases
http://www.support.microsoft.com/?id=224071
Moving Databases between Servers
http://www.support.microsoft.com/?id=314546
Using WITH MOVE in a Restore to a New Location with Detach/Attach
http://support.microsoft.com/?id=221465
How To Transfer Logins and Passwords Between SQL Servers
http://www.support.microsoft.com/?id=246133
Mapping Logins & SIDs after a Restore
http://www.support.microsoft.com/?id=298897
Utility to map users to the correct login
http://www.dbmaint.com/SyncSqlLogins.asp
How to Resolve Permission Issues When a Database Is Moved Between SQL Servers
http://www.support.microsoft.com/?id=240872
User Logon and/or Permission Errors After Restoring Dump
http://www.support.microsoft.com/?id=168001
Disaster Recovery Articles for SQL Server
http://www.support.microsoft.com/?id=307775
Tibor Karaszi, SQL Server MVP
http://www.karaszi.com/sqlserver/default.asp
http://www.solidqualitylearning.com/
"Trond Hoiberg" <hoeiber@.online.no> wrote in message news:%23Z3XodunEHA.2900@.TK2MSFTNGP09.phx.gbl...
> Is there a tool awailable that can help me move databases, DTS packages and
> logins from server A to server B?.
> best regards
> Trond
>

Friday, March 9, 2012

Moving sql 2000 DTS packages to sql 2005 standard edition

I have been tasked with upgrading around 150 SQL Server 2000 DTS packages to SSIS in SQL Server 2005 standard edition. I made a backup of the 2000 database upon which the DTS packages operate and restored it to the SQL 2005 server. So far, so good. I have the database in place. Now I need to get the DTS packages themselves into the SLQ 2005 server. I think I need to check my install and make sure that I have the SQL Server 2000 DTS services installed on the SQL 2005 server. I can do that.

However, I wonder what would be the most effective way to physically get the packages from the SQL 2000 server to the SQL 2005 server. Should I use structured storage files? If so, how do I go about opening them in SQL 2005 in order to save them to SQL server 2005?

I should mention that these packages make heavy use of ActiveX scripting so I am looking at rewriting them from scratch to be SSIS packages. I just need the packages on the SQL Server 2005 box so I can make sure I am creating exactly the same functionality in 2005 as existed in SQL server 2000. Each DTS 2000 individual package tends to be fairly simple and I think I can greatly improve the process by consolidating them.

Thanks in advance for any advice.

S. Wells

You'll need the DTS2000 editor by teh sounds of it. Downloadable from here: http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en

-Jamie

|||

Thanks Jamie,

It does appear that this will give me what I need. I had read another, earlier, post on the forum that indicated the legacy components did not have to be separately installed now that 2005 is in production release if one had chosen to install integration services. I did not realize that the designer was not installed as part of the legacy DTS components install. I looked all over the BI interface and could not see where I could open a DTS package and then save it to SQL 2005.

Again, thanks.

S. Wells

|||

Just a quick note to say that there is a new version (an update to the previous link):

Instead of:

Feature Pack for Microsoft SQL Server 2005 - November 2005
http://www.microsoft.com/downloads/details.aspx?familyid=d09c1d60-a13c-4479-9b91-9e8b9d835cdc&displaylang=en

Download from:

Feature Pack for Microsoft SQL Server 2005 - April 2006
http://www.microsoft.com/downloads/details.aspx?FamilyID=df0ba5aa-b4bd-4705-aa0a-b477ba72a9cb&DisplayLang=en

6th item down:

Microsoft SQL Server 2000 DTS Designer Components

The Microsoft SQL Server 2000 Data Transformation Services (DTS) package designer is a design tool used by developers and administrators of SQL Server 2005 servers to edit and maintain existing DTS packages until they can be upgraded or recreated in the SQL Server 2005 Integration Services package format. After installing this download, SQL Server 2005 users can continue to edit and maintain existing DTS packages from the Object Explorer in SQL Server 2005 Management Studio and from the Execute DTS 2000 Package Task Editor in Business Intelligence Development Studio, without needing to reinstall the SQL Server 2000 tools. The DTS package designer in this download was formerly accessed from the Data Transformation Services node in SQL Server 2000 Enterprise Manager.
Audience(s): Customer, Developer
X86 Package (SQLServer2005_DTS.msi) - 5088 KB

Also look at

SQL Server 2005 Books Online

SQL Server 2005 Integration Services Backward Compatibility
Updated: 17 July 2006
http://msdn2.microsoft.com/en-us/library/ms143706.aspx

General Compatibility between DTS and SSIS
Because Integration Services is an entirely new product, and not a version upgrade, you will not encounter software conflicts between DTS and SSIS.

You can install both DTS and SSIS on the same server.
You can run both DTS and SSIS packages on the same server when both products are installed. You can run DTS packages, even when the SQL Server 2000 tools are not present, by using an updated version of the DTS runtime that is installed with Integration Services.
You can save DTS packages in the MSDB database of a SQL Server 2000 or SQL Server 2005 instance. You can save SSIS packages only on a SQL Server 2005 instance.
You can edit DTS packages, even when the SQL Server 2000 tools are not present, by using an updated version of the DTS Designer that is available for download. You cannot edit DTS packages in Business Intelligence Development Studio. You can edit SSIS packages only in BI Development Studio.

Monday, February 20, 2012

Moving Logins

What is the best procedure to move database logins between servers ?
DTS logins over? Should i move the logins first then the user databases or is it the other way around ?Not sure of the best way...

Last time I did it, I did the following;

Create a blank db of same name on destination Server.
Used the transfer logins DTS
Detached the blank DB
Attached the Production DB
Ran the sp_change_users_login for each transfered login.

This worked a treat, however you need to run the SP for each user which could prove a pita if you have many logins.

:@.)|||Install these two scripts on the source database and EXEC sp_help_revlogin. You will then have a script to copy and run on the destination server. It will transfer the SIDs for you so you don't have to do any synching with sp_change_user_login.

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

/****** Object: Stored Procedure dbo.sp_help_revlogin Script Date: 6/21/2004 10:04:05 PM ******/
ALTER PROCEDURE sp_help_revlogin @.login_name
sysname = NULL
AS
--Declare needed variables.
DECLARE
@.name sysname,
@.xstatus int,
@.binpwd varbinary (256),
@.txtpwd sysname,
@.tmpstr varchar (256),
@.SID_varbinary varbinary(85),
@.SID_string varchar(256),
@.dbname varchar(255)
--Determine whether to process one login or all. Set up cursor accordingly.
IF (@.login_name IS NULL)
BEGIN
DECLARE login_curs CURSOR FOR
SELECT
sxl.sid,
sxl.name,
sxl.xstatus,
sxl.password,
sd.name AS dbname
FROM
master..sysxlogins sxl
INNER JOIN master..sysdatabases sd ON sxl.dbid = sd.dbid
WHERE
sxl.srvid IS NULL
AND sxl.name <> 'sa'
END
ELSE
BEGIN
DECLARE login_curs CURSOR FOR
SELECT
sxl.sid,
sxl.name,
sxl.xstatus,
sxl.password,
sd.name AS dbname
FROM
master..sysxlogins sxl
INNER JOIN master..sysdatabases sd ON sxl.dbid = sd.dbid
WHERE
sxl.srvid IS NULL
AND sxl.name <> @.login_name
END
OPEN login_curs
FETCH NEXT FROM login_curs
INTO
@.SID_varbinary,
@.name,
@.xstatus,
@.binpwd,
@.dbname
--If no logins found, exit the procedure.
IF (@.@.fetch_status = -1)
BEGIN
PRINT 'No login(s) found.'
CLOSE login_curs
DEALLOCATE login_curs
RETURN -1
END
SELECT @.tmpstr = '/* sp_help_revlogin script '
PRINT @.tmpstr
SELECT @.tmpstr =
'** Generated ' + CONVERT (varchar, GETDATE()) + ' on ' + @.@.SERVERNAME + ' */'
PRINT @.tmpstr
PRINT ''
PRINT 'DECLARE @.pwd sysname'
WHILE (@.@.fetch_status <> -1)
BEGIN
IF (@.@.fetch_status <> -2)
BEGIN
PRINT ''
SET @.tmpstr = '-- Login: ' + @.name
PRINT @.tmpstr
IF (@.xstatus & 4) = 4
BEGIN -- NT authenticated account/group
IF (@.xstatus & 1) = 1
BEGIN -- NT login is denied access
SET @.tmpstr = 'EXEC master..sp_denylogin ''' + @.name + ''''
PRINT @.tmpstr
END
ELSE
BEGIN -- NT login has access
SET @.tmpstr = 'EXEC master..sp_grantlogin ''' + @.name + ''''
PRINT @.tmpstr
END
END
ELSE
BEGIN -- SQL Server authentication

IF (@.binpwd IS NOT NULL)
BEGIN -- Non-null password

EXEC sp_hexadecimal @.binpwd, @.txtpwd OUT
IF (@.xstatus & 2048) = 2048
BEGIN
SET @.tmpstr = 'SET @.pwd = CONVERT (varchar(256), ' + @.txtpwd + ')'
END
ELSE
BEGIN
SET @.tmpstr = 'SET @.pwd = CONVERT (varbinary(256), ' + @.txtpwd + ')'
END

PRINT @.tmpstr
EXEC sp_hexadecimal @.SID_varbinary,@.SID_string OUT
SET @.tmpstr =
'EXEC master..sp_addlogin ''' + @.name + ''', @.pwd, @.sid = ' + @.SID_string + ', @.encryptopt = '
END
ELSE
BEGIN
BEGIN

-- Null password
EXEC sp_hexadecimal @.SID_varbinary,@.SID_string OUT
SET @.tmpstr =
'EXEC master..sp_addlogin ''' + @.name + ''', NULL, @.sid = ' + @.SID_string + ', @.encryptopt = '
END
END
IF (@.xstatus & 2048) = 2048
BEGIN
-- login upgraded from 6.5
SET @.tmpstr = @.tmpstr + '''skip_encryption_old'''
PRINT @.tmpstr
END
ELSE
BEGIN
SET @.tmpstr = @.tmpstr + '''skip_encryption'''
PRINT @.tmpstr
END
END
--Add the default database.
SET @.tmpstr = 'EXEC master..sp_defaultdb ''' + @.name + ''',''' + @.dbname + ''''
PRINT @.tmpstr
END
FETCH NEXT FROM login_curs
INTO
@.SID_varbinary,
@.name,
@.xstatus,
@.binpwd,
@.dbname
END
CLOSE login_curs
DEALLOCATE login_curs
RETURN 0

GO

SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO

SET QUOTED_IDENTIFIER ON
GO
SET ANSI_NULLS ON
GO

/****** Object: Stored Procedure dbo.sp_hexadecimal Script Date: 6/21/2004 10:05:58 PM ******/
ALTER PROCEDURE sp_hexadecimal
@.binvalue varbinary(256),
@.hexvalue varchar(256) OUTPUT
AS
DECLARE @.charvalue varchar(256)
DECLARE @.i int
DECLARE @.length int
DECLARE @.hexstring char(16)
SELECT @.charvalue = '0x'
SELECT @.i = 1
SELECT @.length = DATALENGTH (@.binvalue)
SELECT @.hexstring = '0123456789ABCDEF'
WHILE (@.i <= @.length)
BEGIN
DECLARE @.tempint int
DECLARE @.firstint int
DECLARE @.secondint int
SELECT @.tempint = CONVERT(int, SUBSTRING(@.binvalue,@.i,1))
SELECT @.firstint = FLOOR(@.tempint/16)
SELECT @.secondint = @.tempint - (@.firstint*16)
SELECT @.charvalue = @.charvalue +
SUBSTRING(@.hexstring, @.firstint+1, 1) +
SUBSTRING(@.hexstring, @.secondint+1, 1)
SELECT @.i = @.i + 1
END
SELECT @.hexvalue = @.charvalue

GO

SET QUOTED_IDENTIFIER OFF
GO
SET ANSI_NULLS ON
GO|||Dang!

Yeah, forget to mention you have to run an SP on the source...

Details can be found at..

http://support.microsoft.com/default.aspx?kbid=246133#4|||Yes. You install both scripts in the master database on the source server. You execute sp_help_revlogin. You then run the permissions script it gives you on the destination. BTW, this version is a little bit different then the MS version. Be sure to include the sp_hex procedure also.

Moving log file on Error detected...

Hi,

I have created a DTS package that executes another one... and if that one gets some sort of an error i want to move his log file to another location...

What is going on is that when the error occurs, it is detected and the File System Task tries to move the file an error occurs....

What can this be? Can the file be locked or something like that?

Anyone have tried this kind of aproach?


Best Regards,

Luis,

Its hard to advise how to fix the error if you don't state what the error is.

What error message do you get?

-Jamie