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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 01.10.2010, 20:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,617 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: Error "Cannot access a disposed object" when deploying AX 2009 Enterprise Portal on a SharePoint 2010 server
Источник: http://blogs.msdn.com/b/emeadaxsuppo...10-server.aspx
==============

After following through suggestions on deploying Microsoft Dynamics AX 2009 Role Centers and Enterprise portal (RC+EP) as given here, we ran across another issue when deploying the RC+EP extensions. We get the following error in the DynamicsSetupLog.txt file:



Entering function ConfigureVirtualServerWithNewApplicationPool

Entering function GenerateNewApplicationPoolId
SharePoint_80_07d99c07c0184c8bbce6472ec69f1a87
Leaving function GenerateNewApplicationPoolId
Creating new application pool SharePoint_80_07d99c07c0184c8bbce6472ec69f1a87
An error occurred during setup of Role Centers and Enterprise Portal.
Reason: Cannot access a disposed object.
=== Rolling back setup of Role Centers and Enterprise Portal due to error ===



The above error occurs if:

(a) You are deploying to an existing web site created in SharePoint 2010 and
(b) The application pool user account associated with this web site is not the bcproxy user account

The Application pool associated with the EP web site nust run as the BCProxy user account setup in your AX environment.



To resolve this issue change the application pool account using SharePoint 2010 Administration. Do not directly change the account in the application pool using IIS Manager:

(1) Run SharePoint 2010 Central Administration

(2) Click on Security on the left-hand bar

(3) Under General Security click on Configure managed accounts
 
(4) Click on the link Register Managed Account and add the BCProxy user account that is setup for your AX environment.

(5) Now change the application pool user as follows. Click on Security on the left-hand bar and then under General Security click on Configure service accounts.

(6) From the Select one… drop-down box, select the Web Application Pool associated with your EP Web site and under Select an account for this component, select the BCProxy user account you just added above, and click OK.

(7) Read the message that is displayed and click OK.

(8) Wait for the changes to apply, and if successful, the Security form will be shown again.

(8) Run IIS Manager, and under application pools, verify that the new account is now displayed

(9) Open up an elevated cmd prompt an run IISRESET.EXE /noforce on all your servers in the farm.



--author: Anup Shah--editor: Anup Shah--date: 01/Oct/2010


Источник: http://blogs.msdn.com/b/emeadaxsuppo...10-server.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
emeadaxsupport: Resolving some issues you may experience when creating an AX 2009 Role Center and Enterprise Portal Site using SharePoint Server/Foundation 2010 after installing Microsoft Dynamics AX 2009 SP1 hotfix 2278963 Blog bot DAX Blogs 1 24.09.2010 11:34
Hotfix 2278963 is available for compatibility of SharePoint 2010 with the "Role Centers and Enterprise Portal" for Microsoft Dynamics AX 2009 Service Pack 1 Vadik DAX: База знаний и проекты 0 07.09.2010 22:03
Solutions Monkey: Microsoft SharePoint 2010 Foundation compatibility mode support with Dynamics AX 2009 Service Pack 1 Enterprise Portal Blog bot DAX Blogs 0 13.08.2010 10:05
emeadaxsupport: How to manually deploy ODC Files to Microsoft Dynamics AX 2009 Enterprise Portal Blog bot DAX Blogs 0 17.02.2010 21:07
emeadaxsupport: List of fixes that improve performance of certain features in Dynamics AX 2009 Blog bot DAX Blogs 0 13.10.2009 19:06

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

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

Рейтинг@Mail.ru
Часовой пояс GMT +3, время: 06:19.