Quantcast
Channel: SQL Server Database Engine forum
Viewing all articles
Browse latest Browse all 12963

Error - sp_migrate_user_to_contained cannot be used to copy a password to an old hash algorithm.

$
0
0

Hi,

I am using SQL Server 2012 and using contained database features.

I need to take db backup from SQL Server 2008 and restore on SQL Server 2012 and i have to use contained database features.

But when i am running below query to migrate login to contained then getting error ---

sp_migrate_user_to_contained
@username = N'Login_Name',
@rename = N'keep_name',
@disablelogin = N'disable_login' ;

Getting following error -

Msg 12822, Level 16, State 1, Procedure sp_migrate_user_to_contained, Line 1
sp_migrate_user_to_contained cannot be used to copy a password to an old hash algorithm.


Mark As Answer If My Reply Is Helpful<br/> Thanks<br/> Neeraj Bhandari (MCTS - Sql Server 2008)


Viewing all articles
Browse latest Browse all 12963

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>