|
19.04.2010, 11:05 | #1 |
Участник
|
Pawan's Ax blog: Run AIF Without Active Directory
Источник: http://pawansaxblog.blogspot.com/201...directory.html
============== On a local system where there is no network you can RUN AIF. But you need to make slight changes to AIFUtil class. This class queries the domain server (Active directory) to retrieve the user SID … In no network, the domain server is not available. So it can never query domain server. To avoid this do following: 1. Open AOT (icon in toolbar of ax client) 2. Expand classes treenode 3. Search for AIFUtil 4. Double click on this class and search for the method (left panel) with the name 'getWindowsUserSID' 5. At the bottom there is an assignment to userSid: userSid = util.GetUserSid(domain, alias); 6. This code must be commented like this: // userSid = util.GetUserSid(domain, alias); 7. And be replaced with the SID of your user that you are using to import documents into AX. How can you find out the SID of your user? That you can find in the AX database -> table 'dbo.userinfo'. There is a field which contains a SID. Copy the value of that field to the new code line in AIF util class as below: userSid = 'S-1-5-21-1230085639-4049897806-2686723225-1141'; 8. Compile the aifUtil class 9. Unplug your network Restart AX service and try Источник: http://pawansaxblog.blogspot.com/201...directory.html
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору. |
|