문제

I have a web application which will use MS ReportViewer. I have another team create a rdl file for me. I renamed the rdl to rdlc and added to my project. And I created a DataSet1.xsd to get the data needed by this rdlc. In my aspx page, I added a ReportViewer control, and set its report property to the rdlc file.

My questions are:

(1) Is it possible to edit the rdl/rdlc in vs2008? When I open it, it is opened as a xml file.

(2) how do I assign the dataset1 to the data source property of the ReportViewer control? When I right click the reportviewer, select the choose data sources, the dataset1 was not listed. Do I have to do this in the code behind?

(3) I got following error The report definition is not valid. Details: The report definition has an invalid target namespace 'http://schemas.microsoft.com/sqlserver/reporting/2008/01/reportdefinition' which cannot be upgraded.

도움이 되었습니까?

해결책

Ans..

  1. Yes it is possible to edit rdlc report in vs2008. I don`t know about rdl.
  2. See this link for step by step solution for 2nd problem.
  3. I think this problem is due to wrong conversation from rdl to rdlc. Please follow the step as specified in this link.

다른 팁

Mr. Limbani has done a good job answering issues 2 and 3. I believe your first problem may have to do with Business Intelligence Design Studio not being installed on your development PC. See this question and answer for more details.

라이센스 : CC-BY-SA ~와 함께 속성
제휴하지 않습니다 StackOverflow
scroll top