27.02.2013, 21:11 | #1 |
Участник
|
Axilicious:AX2012 R2 : DB Sync – Failed to create a session
Источник: http://www.ksaelen.be/wordpresses/dy...ate-a-session/
============== Thanks to a Kevin Roos, for spending the time to look into this one! We have been seeing the following error lately in AX2012 R2: Failed to create a session; confirm that the user has the proper privileges to log on to Microsoft Dynamics A closer look into this learned that this is linked to the new partitions feature. It seems the UserInfo table is not correctly updated and the partition administrator is not updated correctly when you restore an existing DB or the Demo database. To fix this, you can do the following.
DECLARE @NetworkDomain nvarchar(255); DECLARE @NetworkAlias nvarchar(80); DECLARE @SID nvarchar(124); DECLARE @InitialPartition BIGINT; SELECT @InitialPartition=Recid FROM PARTITIONS WHERE PARTITIONKEY=N'Initial' SELECT @NetworkAlias=NETWORKALIAS,@NetworkDomain=NETWORKDOMAIN,@SID=SID FROM USERINFO WHERE PARTITION=@InitialPartition AND ID = N'Admin' UPDATE USERINFO SET NETWORKDOMAIN=@NetworkDomain,NETWORKALIAS=@NetworkAlias,SID=@SID WHERE PARTITION != @InitialPartition AND ID = N'Admin' Источник: http://www.ksaelen.be/wordpresses/dy...ate-a-session/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|