AXForum  
Zurück   AXForum > Microsoft Dynamics CRM > Dynamics CRM: Blogs
All
Kennwort vergessen?
Registrieren Forum Rules Hilfe Benutzerliste Heutige Beiträge Suchen

 
 
Themen-Optionen Thema durchsuchen Ansicht
Alt 09.12.2010, 09:11   #1  
Blog bot ist offline
Blog bot
Участник
 
25.644 / 848 (80) +++++++
Registriert seit: 28.10.2006
mscrmblog: This report requires a default or user-defined value for the report parameter ‘Parameter’. To run or subsribe to this report, you must provide a parameter value
Источник: http://mscrmblog.net/2010/12/09/this...rameter-value/
==============

ahhh sql reports — i mean come on this sounds like a simple parameter problem — however what seems to be the problem here is that in the report i was requesting from sql srs web services for CRM4 — you must define data source credentials with the datasource name being the datasource name on the report!!

then you get this error:

An error has occured during report processing —> Cannot create a connection to data source ‘DataSource1′ —> Guid should contain 32 digits with 4 dashes…

i’m kicking myself at this point saying WTF!!

This error occurs because the Microsoft Dynamics CRM Data Connector for Microsoft SQL Server Reporting Services requires the user’s SystemUserId value as the Log in name and the user’s OrganizationId value as the password (for the datasource credentials)..

When a report runs inside Microsoft Dynamics CRM, these values are passed automatically. These values must be entered manually when the report is run directly from SQL Server Reporting Services.



DataSourceCredentials dsc = new DataSourceCredentials();
dsc.DataSourceName = "DataSource1";
dsc.UserName = "C9444B29-E6FC-DF11-9A31-005056AD3D4B"; // SystemuserId from the filteredUser table
dsc.Password = "D945754F-C1DF-DF11-81ED-005056AD3D4B"; // OrganizationId from the filteredUser table
DataSourceCredentials[] credentials = new DataSourceCredentials[] { dsc };

more info at: http://support.microsoft.com/kb/2006869



Источник: http://mscrmblog.net/2010/12/09/this...rameter-value/
__________________
Расскажите о новых и интересных блогах по Microsoft Dynamics, напишите личное сообщение администратору.
Alt 09.12.2010, 09:51   #2  
Артем Enot Грунин ist offline
Артем Enot Грунин
Moderator
Benutzerbild von Артем Enot Грунин
MCBMSS
Злыдни
Most Valuable Professional
Лучший по профессии 2017
Лучший по профессии 2015
Лучший по профессии 2014
Лучший по профессии AXAWARD 2013
Лучший по профессии 2011
Лучший по профессии 2009
 
3.912 / 623 (28) +++++++
Registriert seit: 16.08.2007
Ort: Пермь!
Blog-Einträge: 151
Просто опубликуйте отчет для внешнего использования. В этом случае на сервере отчетов будет создана копия с правильным источником данных на основании NTLM авторизации, а так же автоматически будут выложены и все подчиненные отчеты.
__________________
http://fixrm.wordpress.com, снятие/наведение порчи. Быстро, дорого, гарантия.

MS Certified Dirty Magic Professional
 

Ähnliche Themen
Thema Autor Forum Antworten Letzter Beitrag
You experience issues when you run the "Physical inventory by inventory dimension" report and the "Physical inventory by item group" report in Microsoft Dynamics AX 2009 Vadik DAX: База знаний и проекты 0 27.08.2010 23:00
Ошибка бизнес-процесса Tarasov E Dynamics CRM: Разработка 9 18.02.2010 14:02
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
axaptabuilder: How to setup Axapta batch server running as user defined windows service Blog bot DAX Blogs 0 12.04.2007 16:10
axaptabuilder: How to setup Axapta batch server running as user defined windows service Blog bot DAX Blogs 0 28.10.2006 16:47

Forumregeln
Es ist Ihnen nicht erlaubt, neue Themen zu verfassen.
Es ist Ihnen nicht erlaubt, auf Beiträge zu antworten.
Es ist Ihnen nicht erlaubt, Anhänge hochzuladen.
Es ist Ihnen nicht erlaubt, Ihre Beiträge zu bearbeiten.

BB-Code ist an.
Smileys sind an.
[IMG] Code ist an.
HTML-Code ist aus.
Gehe zu

Рейтинг@Mail.ru
Alle Zeitangaben in WEZ +3. Es ist jetzt 22:54 Uhr.
Powered by vBulletin® Version 3.8.5 (Deutsch)
Copyright ©2000 - 2025, Jelsoft Enterprises Ltd.