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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 12.06.2009, 22:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,607 / 848 (80) +++++++
Регистрация: 28.10.2006
gatesasbait: Dynamics AX 2009 SSRS and SSAS Integration Tips
Источник: http://gatesasbait.spaces.live.com/B...B9F5!472.entry
==============

 
Good morning
 
Here's a good list of Resources and Known Issues for SSRS report deployment and Role Centers under Enterprise Portal in AX 2009, for those with access to PartnerSource you can find the original here (link on PartnerSource):
 
Resources
  Known Issues and Solutions

This section lists the most common issues encountered when building the integration between Microsoft Dynamics® AX, SSRS and OLAP and the solution recommended by the Microsoft Dynamics® AX Support team.

Issue:

Error trying to deploy reports
Microsoft Dynamics AX Reporting Project Deployment: The following components have not been installed or are not configured correctly: AL.exe

Solution:

Download and install the Windows SDK for Windows Server 2008 and .NET Framework 3.5  Ensure it is fully installed.
NOTE:  Install regardless of operating system


Issue:

Error trying to deploy reports
System.InvalidOperationException: The following components have not been installed or are not configured correctly: Microsoft Domain-Specific Language Tools

Solution:

Download and install these required components.  Microsoft Visual Studio 2008 Shell (isolated mode) Redistributable Package
  1. Save the download locally
  2. Extract the package
  3. Run the vs_appenvredist.msi
NOTE:  Install regardless of operating system



















Issue:

Error trying to deploy reports
Microsoft Dynamics AX Reporting Project Deployment: ClrBridgeLoader: fatal error :
Microsoft.Dynamics.ClrBridge.dll cannot be loaded. Fatal error: ClrBridge is note loaded.


Solution:

Ensure you are trying to deploy reports from the SSRS server and that you can validate the SSRS server name in the Reporting Servers from within Microsoft Dynamics AX 2009.  If this error appears right after installing the reporting extensions, launch the report deployment tool again.

Issue:

Enterprise Portal (EP) or SSRS Reports don’t run or stop working
An attempt has been made to use a data extension 'AXDATAMETHOD' that is not registered for this report server. (rsDataExtensionNotFound)
or
data extension 'AXQUERY' and 'AXADOMD'

Solution:

Installing or Reinstalling Reporting Extensions will resolve this issue.  As a precaution make a Backup of:
Program Files\Microsoft SQL Server\MSSQL.\Reporting Services\ReportServer folder

NOTE:  SSRS updates or Service Packs may remove entries from rsreportserver.config file.

Issue:

Enterprise Portal (EP) Reports don’t run or stop working
A ProgressTemplate must be specified on UpdateProgress control with ID 'AxProgressControl'

Solution:

You can resolve the issue by using one of the three methods below:
  1. Apply the hotfix from KB957312 to the RTM version
  2. Upgrade to Dynamics AX 2009 SP1
  3. Un-install Microsoft .NET 3.5 SP1 and reinstall Microsoft .NET 3.5 without SP1
Issue:

Report deployment tool Crashes
Attempted to read or write protected memory.  This is often an indication that the memory is corrupt

Solution:

If multiple versions of Dynamics AX are installed on the same server you will need to change your AX 2009 Path in your environment variables ahead of your AX 4.0 path to avoid running the wrong version of DLL’s

Issue:

Error running reports
Error during processing of 'AX_CompanyName' report parameter. (rsReportParameterProcessingError).

Solution:

Process OLAP the cubes to supply data to the reports
or
An incorrect Execution account has been specified in the Reporting Services Configuration Manager

Note:  For SSRS 2008 the BC proxy is required to be the Execution account and for SSRS 2005 an Execution account should not be used.  Also look at application event log for details on other issues.

Important:  Running SSRS in SharePoint integrated mode is not support with Microsoft Dynamics AX

Issue:

Enterprise Portal (EP) web site runs but not the reports in the EP web parts:
Dynamics Adapter LogonAs failed
or
Microsoft.Dynamics.BusinessConnectorNet.LogonFailedException

Solution:

Leave the Execution account blank on SSRS 2005 or set to BC Proxy account on SSRS 2008 (Microsoft Dynamics AX 2009 SP1 only)

NOTE:  SSRS Execution account is set to an account other than BC Proxy Account

Issue:

EP or SSRS Reports don’t run or stop working
Dynamics Adapter LogonAsGuest failed
or
FatalSessionException...

Solution:

The issue is caused by the Reporting Services web site set to anonymous Authentication.  Changing the SSRS website to Integrated and/or un-marking Anonymous Authentication will resolve this issue.

Issue:

Double Hop \ Kerberos Authentication
An Error has occurred while establishing as connection to the Analysis Server
or
Reports don’t display in the EP website from a Client Browser not local to the IIS server
Cannot read information from SQL Server Reporting Services. Validate that the Report Manager URL is correct

Solution:

Setup Service Principle names (SPN) and Delegation to allow the passing of Kerberos certificate

References:
White Paper:  Configuring Kerberos Authentication with Role Centers
KB917409:  How to configure SQL Server 2005 Analysis Services to use Kerberos authentication
MSDN blog:  Enterprise Portal Kerberos Delegation for connecting to Reporting/Analysis Services on a different box
TechNet blog: Understanding Kerberos Double Hop
TechNet webcast: How to understand, implement, and troubleshoot Kerberos double-hop authentication


Issue:

Office Data Connection (ODC) file deployment fails with SQL Server 2008
Microsoft Dynamics AX is searching for the SQL Server 2005 Microsoft.AnalysisServices.dll (v9.0.242.0)

Solution:

Apply one of the following hotfixes:
  • For Microsoft Dynamics AX 2009 RTM:  Apply the fix from KB957312
  • For Microsoft Dynamics AX 2009 SP1:  Apply the fix from KB960158
If the hotfix does not resolve the issue, make sure you are running a Dynamics AX 2009 client on the EP web server when deploying the ODC files.  As a workaround you can manually deploy the ODC files by following these steps:
  1. Click here to download a new ODC file (Dynamics_AX.odc).
  2. Save the ODC on the SSAS server
  3. Open the ODC file with Notepad or any other text editor
  4. Edit the odc file with the following changes: Data Source=OLAPServerName
    Initial Catalog=OLAPDbName
    Add SSPI=Kerberos after Initial Catalog if using Kerbersos (in red only required for Kerberos authentication)


    ….

    Provider=MSOLAP.3;Integrated Security=SSPI;Persist Security Info=True;
    DataSource=;Initial Catalog=Dynamics AX;SSPI=Kerberos

  5. Save the changed ODC file.
  6. Go to EP main site.
  7. Click on Site Actions > Site Settings.
  8. Under Galleries, click on Master pages.
  9. Click on View all site content (top left).
  10. Click on Data Connections folder.
  11. Import the edited ODC file.
Issue:

DataSet panel is missing in Report Designer when creating reports in Visual Studio Server 2008

Solution:

For Visual Studio 2008, apply the fix in KB947173
OR
apply Microsoft Visual Studio 2008 Service Pack 1.

Issue:

"Connection forcibly closed by remote host" in Dynamics setup log when trying to create an EP site in AX 2009

Solution:

Download and install the Microsoft Analysis Management Objects:
Issue:

"Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'"

Solution:

Ensure SSRS service is running and are able to connect to instance via SQL Server Management Studio.
Note:  Additional information can be found in SSRS error log.

Issue:

Exception from HRESULT: 0X80041FFF

Solution:

Change Visual Studio project location to local drive if using a network share

Issue:

The Analysis extension is not seeing the SQL cluster name for Analysis Services when Analysis services is setup on a SQL cluster.

You will get an error similar to this when trying to install Analysis Extension in this environment:

Connecting to SQL Server 2005 Analysis Services on server 'SQL02' and instance 'MSOLAP$ANALYSIS'.
A connection cannot be made. Ensure that the server is running.
No connection could be made because the target machine actively refused it 127.0.0.1:2383
An error occurred while Setup was connecting to SQL Server Analysis Services instance 'MSOLAP$ANALYSIS' on server 'SQL02'.

An error occurred while Setup was connecting to SQL Server Analysis Services instance 'MSOLAP$ANALYSIS' on server 'SQL02'.


Solution:

The workaround is to manually run the script to create the Dynamics AX OLAP db from the AX 2009 CD.

Navigate to this folder \support\Analysis Services\Scripts on your AX 2009 installation CD.
Then run the dynamicsax.xmla script from within SQL Management Studio (connected to the SSAS instance).

This script will create the Dynamics AX OLAP database.

Issue:

BC Proxy account fails to start for the SSRS reports in Enterprise Portal with RPC exception 5

When Enterprise Portal starts for the first time and displays SSRS reports, normally two Business Connectors are started. After a period of time or if the impersonated web user logs out for the SSRS Proxy account you may experience an RPC error 5 access denied and the SSRS reports will no longer display in Enterprise Portal.

Example
Error:

Event Type: Error
Event Source: Dynamics .NET Business Connector 5.0
Event Category: None
Event ID: 180
Date: 10/7/2008
Time: 6:21:04 PM
User: N/A
Computer: AX2009
Description:
Microsoft Dynamics AX Business Connector Session 18.

RPC error: RPC exception 5 in Ping occurred in session 36

Solution:

RPC error 5 can occur if the SSRS Execution account is set in the Reporting Services Configuration Manager. If the account used is the Business Connector proxy account the first startup of the Business Connector will work, but not any subsequent startups unless the IIS application pool if recycled or an IIS reset is done.

SSRS 2005
Remove the SSRS execution account through Reporting Services Configuration Manager

SSRS 2008
Change the SSRS service to start as the Business Connector Proxy account and remove the SSRS execution account through Reporting Services Configuration Manager.
Note:  Changing the SSRS account would require a change in the registered SPN’s if you are using Kerberos authentication

Tips and Tricks
Good luck!




Источник: http://gatesasbait.spaces.live.com/B...B9F5!472.entry
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Старый 09.07.2009, 12:34   #2  
miklenew is offline
miklenew
Участник
Аватар для miklenew
MCBMSS
1C
Лучший по профессии 2009
 
1,688 / 433 (18) +++++++
Регистрация: 10.07.2006
Адрес: г. Ликино-Дулёво
Цитата:
Сообщение от Blog bot Посмотреть сообщение
Issue:

Error running reports
Error during processing of 'AX_CompanyName' report parameter. (rsReportParameterProcessingError).

Solution:

Process OLAP the cubes to supply data to the reports
or
An incorrect Execution account has been specified in the Reporting Services Configuration Manager

Note:  For SSRS 2008 the BC proxy is required to be the Execution account and for SSRS 2005 an Execution account should not be used.  Also look at application event log for details on other issues.

Important:  Running SSRS in SharePoint integrated mode is not support with Microsoft Dynamics AX
Кто нибудь избавился от этой ошибки?
Process запускал в OLAP(ругнулся на куб Проектов, я удалил этот куб и заново запустил Process). Написал всё успешно.
Но ошибка так и не исчезла.
Учётной записи дал роли
Администраторы
Администраторы домена
Администраторы схемы
Администратор предприятия
Пользователи домена
IIS_WPG
WSS_WPG
WSS_Admin_WPG
WSS_RESTRICTED_WPG
SQLServer2005ReportServerUser...
SQLServer2005ReportingServicesWeb...
Пробовал и под другой учётной записью заходить, отличной от BI-connector-а.
Всё равно эта ошибка выскакивает, когда я кликаю на каком-нибудь отчёте.
Может мысли какие есть? У меня уже кончились.
__________________
Энергия молодых и неравнодушных способна изменить мир к лучшему.
Старый 09.07.2009, 12:56   #3  
Dima_Dima is offline
Dima_Dima
Участник
 
144 / 11 (1) +
Регистрация: 09.10.2008
Цитата:
Сообщение от miklenew Посмотреть сообщение
Кто нибудь избавился от этой ошибки?
Запустите Analysis Server --> Databases --> Dynamics AX --> DataSource --> Dynamics Database и проверьте Connection String, при инсталяции прописывается Catalog=DynamicsAx1. После поправки имени DB щелкните Process. Вроде всё...
Старый 09.07.2009, 13:07   #4  
miklenew is offline
miklenew
Участник
Аватар для miklenew
MCBMSS
1C
Лучший по профессии 2009
 
1,688 / 433 (18) +++++++
Регистрация: 10.07.2006
Адрес: г. Ликино-Дулёво
Цитата:
Сообщение от Dima_Dima Посмотреть сообщение
Запустите Analysis Server --> Databases --> Dynamics AX --> DataSource --> Dynamics Database и проверьте Connection String, при инсталяции прописывается Catalog=DynamicsAx1. После поправки имени DB щелкните Process. Вроде всё...
Всё нормально там.
Да и после process я могу зайти в какой-нибудь dimension(данные то вижу).
__________________
Энергия молодых и неравнодушных способна изменить мир к лучшему.
Теги
ax2009, enterprise portal, olap, ssas, ssrs, документация

 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Solutions Monkey: Convergence session: Enterprise Portal Deployment Tips and tricks Blog bot DAX Blogs 0 26.03.2009 08:05
SSRS and SSAS Integration for Microsoft Dynamics AX 2009 Vadik DAX: База знаний и проекты 0 21.01.2009 09:41
Channel9: Reporting and Analytics in Dynamics AX 2009 Blog bot DAX Blogs 0 07.09.2008 00:05
Solutions Monkey: Role Centers in Microsoft Dynamics Ax Blog bot DAX Blogs 0 26.06.2008 09:05
Arijit Basu: Reporting & BI in AX: An Overview [Level 100] Blog bot DAX Blogs 0 07.01.2008 16:01

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

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

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