AXForum  
Вернуться   AXForum > Microsoft Dynamics AX > DAX Blogs
All
Забыли пароль?
Зарегистрироваться Правила Справка Пользователи Сообщения за день Поиск

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 19.04.2010, 11:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,505 / 847 (80) +++++++
Регистрация: 28.10.2006
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, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Pawan's Ax blog: How to run AIF job Blog bot DAX Blogs 0 19.04.2010 11:05
kamalblogs: Running AIF without Active directory in Dynamics Ax Blog bot DAX Blogs 0 19.04.2010 09:05
Ошибка бизнес-процесса Tarasov E Dynamics CRM: Разработка 9 18.02.2010 14:02
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05
Что дает интеграция Microsoft Dynamics AX с Active Directory??? nicko DAX: Администрирование 10 23.04.2007 23:27

Ваши права в разделе
Вы не можете создавать новые темы
Вы не можете отвечать в темах
Вы не можете прикреплять вложения
Вы не можете редактировать свои сообщения

BB коды Вкл.
Смайлы Вкл.
[IMG] код Вкл.
HTML код Выкл.
Быстрый переход

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 10:45.
Powered by vBulletin® v3.8.5. Перевод: zCarot
Контактная информация, Реклама.