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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 28.07.2010, 03:15   #1  
Blog bot is offline
Blog bot
Участник
 
25,617 / 848 (80) +++++++
Регистрация: 28.10.2006
emeadaxsupport: When browsing AX 2009 Role Centers, you get an error: An unexpected error has occurred on systems with .NET Framework v4.0 installed
Источник: http://blogs.msdn.com/b/emeadaxsuppo...installed.aspx
==============

We recently came across an issue where we can deploy the AX 2009 Role Centers and Enterprise Portal successfully, however when we browe to the portal site we get an error message displayed in the SharePoint web page:
“An unexpected error has occurred.”

Furthermore, no windows event log entries are logged. This is a very general error message and can occur for a multitude of reasons.

Here is a screenshot of the error:


We identified the issue to be the fact that the IIS Web site was running using ASP.NET 4.0 (V4.0.30319) and not ASP.NET 2.0 (v2.0.50727). The .NET Framework 4.0 got installed as part of Windows Update. So creating and new Dynamics AX 2009 Enterprise Portal Site either through WSS admin and/or AX Setup.exe got created with the framework set to v4.0.

To resolve the issue we reset the .NET Framework for the web site to v2.0.50727.

To change the IIS Web server to run using ASP.NET v2.0 on Windows 2008/2008 R2 do the following:
- Run IIS Manager
- On the left hand pane, select the computer name
- Then, on in the Actions pane on the right hand side, select the link “Change .NET Framework Version” and change it to v2.0.50727

If you are running Windows 2003 R2 SP2 the do the following:
- Run IIS Manager
- Expand the web sites
- Secondary mouse click on the web site hosting the Enterprise Portal, and select properties
- Click on ASP.NET tab, and change the ASP.NET version to v2.0.50727



Further information:

If you install any of the AX 2009 extensions that use Windows IIS server (Enterprise Portal, Workflow, AIF web services) on a system that already has .NET Framework 4.0 installed, you may experience similar issues as the default ASP.NET handlers may all map to v4.0 and not v2.0. The issue can be resolved by ressetting the .NET framework that is being used by the web sites and/or the appropriate asp.net handlers in use to use ASP.NET v2.0 handlers. If you are familiar with registering appropriate ASP.NET framework, than you can also use the aspnet_regiis.exe command line tool from the appropriate framework folder.



--author: Anup Shah--editor: Anup Shah--date: 27/Jul/2010


Источник: http://blogs.msdn.com/b/emeadaxsuppo...installed.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 28.07.2010, 08:24   #2  
Wamr is offline
Wamr
----------------
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
 
1,737 / 858 (32) +++++++
Регистрация: 15.01.2002
Адрес: Москва
Записей в блоге: 7
Ну как всегда у MS, совместимость своих же продуктов хромает.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
DynamicsAxSCM: Personalization of Role Centers in Dynamics AX 2009 Blog bot DAX Blogs 0 21.06.2010 16:05
emeadaxsupport: List of fixes that improve performance of certain features in Dynamics AX 2009 Blog bot DAX Blogs 0 13.10.2009 19:06
Solutions Monkey: Microsoft Dynamics AX 2009 Enterprise Portal / Role Centers - Deployment Tips-n-Tricks – 3 Blog bot DAX Blogs 0 27.10.2008 08:05
Solutions Monkey: Microsofty Dynamics AX 2009 Enterprise Portal / Role Centers - Deployment Tips-n-Tricks - 2 Blog bot DAX Blogs 0 30.09.2008 07:07
axStart: Microsoft Dynamics AX 2009 Hot Topics Web Seminar Series Blog bot DAX Blogs 0 06.08.2008 12:05

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

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

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