12.09.2012, 19:11 | #1 |
Участник
|
emeadaxsupport: Microsoft Dynamics AX 2012 Form based Authentication provider has wrong connection string when the aspnetdb is created on a separate server.
Источник: http://blogs.msdn.com/b/axsupport/ar...te-server.aspx
============== Lately we run into following issue. Following the WhitePaper Flexible Authentication in Microsoft Dynamics AX 2012 you create Form Based authentication provider using following command: Add-AXSharepointClaimsAuthenticationProvider -Type Forms -Name FormsAuth - SigningCertificate $SigningCert -Credential $Cred -Port 7000 - SSLCertificate $SSLCert That works perfectly fine when you aspnetdb database is located on the same server as SharePoint. If you have database on other server then in web.config located in: C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\\ So if you look on above example it will be C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\LAYOUTS\FormsAuth\ You can see that connectionString tag has following value: In situation when your aspnetdb would is on different server in the minute you try to log using Form Based authentication you will get error and you will be unable to login. You can work around it in two ways:
You can get error New-AXUser : The entry 'FormsDB' has already been added. (C:\Program Files\Common Files\Microsoft Shared\Web Server Extensions\14\TEMPLATE\Layouts\FormsAuth\web.config line 39) Источник: http://blogs.msdn.com/b/axsupport/ar...te-server.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|
|
|