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

 
 
Опции темы Поиск в этой теме Опции просмотра
Старый 25.02.2009, 22:05   #1  
Blog bot is offline
Blog bot
Участник
 
25,643 / 848 (80) +++++++
Регистрация: 28.10.2006
Microsoft Dynamics CRM Team Blog: Fixing Report Snapshots in CRM 4.0
Источник: http://blogs.msdn.com/crm/archive/20...n-crm-4-0.aspx
==============

Problem: V4: Report snapshots are never generated when scheduling a Report in CRM v4.0

Cause:
When the report snapshot is being generated, CRM Data Connector for SQL Server Reporting Service (SSRS) attempts to verify the identity of the calling user, it failed in several reasons:
1. We verify the caller by checking the System.Threading.Thread.CurrentPrincipal to see if it is a Windows Principal. Since this code is run from within a Windows Service (Reporting Service), it will be a Generic Principal, not the Windows Principal. The code asserts because of the check.

2. When the SSRS runs under the LocalSystem account, the code treats it as the direct member in the AD PrivUserGroup hence throws the exception.

3. When the CRM Server and SSRS are running in the different machines, the SSRS machine account was not added to the PrivUserGroup so the validation against the machine account failed.

Fix: Fix the issues for the calling user’s validation:
1. Use the static function WindowsIdentity.GetCurrent() for WindowsIdentity and to construct the WindowsPrincipal object.

2. Validate the SSRS machine account for the Windows LocalSystem account as well.

3. Add the SSRS machine account to the PrivUserGroup and PrivReportingGroup in AD.

Where is the fix?

The KB number for the first two issues are 955206 and the fix is part of CRM 4.0 UR2. You can download from the following link: http://www.microsoft.com/downloads/details.aspx?FamilyID=aa671769-61e9-45c4-919f-c88199aa4241&DisplayLang=en

The KB number for the third issue (CRM Server and SSRS run in different machine) is 968243 and the hotfix package is not available yet at this moment. Please contact your support personnel if you want to know when and where you can download the fix. You can also workaround it by adding the SSRS machine name into the PrivUserGroup and PrivReportingGroup manually in AD.

Thanks

Chris Xia



Источник: http://blogs.msdn.com/crm/archive/20...n-crm-4-0.aspx
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
 

Похожие темы
Тема Автор Раздел Ответов Посл. сообщение
Microsoft Dynamics CRM Team Blog: List Web Part for Microsoft Dynamics CRM 4.0 Deployment Scenarios Blog bot Dynamics CRM: Blogs 0 30.01.2009 22:05
Microsoft Dynamics CRM Team Blog: Microsoft Dynamics CRM 4.0 Bookshelf Blog bot Dynamics CRM: Blogs 1 22.01.2009 04:46
Microsoft Dynamics CRM Team Blog: Reports for CRM 4.0 using SQL Server 2008 and Report Builder 2.0 Blog bot Dynamics CRM: Blogs 0 11.11.2008 08:05
Microsoft Dynamics CRM Team Blog: Highlight: Available downloads for Microsoft Dynamics CRM Blog bot Dynamics CRM: Blogs 0 05.11.2008 22:05
Microsoft Dynamics CRM Team Blog: Top 14 Microsoft Dynamics CRM Sites and Downloads Blog bot Dynamics CRM: Blogs 0 14.07.2008 13:05

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

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

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