report

The source of the report definition has not been specified

廉价感情. 提交于 2019-12-02 00:38:42
I'm using the following code trying to SetParametr : var report = new ReportParameter[1]; report[0] = new ReportParameter("MyName", "Raha"); var reportDataSource1 = new ReportDataSource { Name = "WpfApplication17_User", Value = _users }; _reportViewer.LocalReport.DataSources.Add(reportDataSource1); _reportViewer.ServerReport.SetParameters(report); _reportViewer.LocalReport.ReportPath = "../../Report1.rdlc"; _reportViewer.RefreshReport(); error : The source of the report definition has not been specified Why wrong? I've created a report parameter , Parameter name is 'MyName' UPDATE : I'm using

SQL Server Compact Edition and reporting. Is SSRS an option?

无人久伴 提交于 2019-12-01 23:43:46
I need to create a simple, stand-alone application that will allow for users to input some data and then print a report. I would prefer to use SSRS as a reporting engine but I also want to keep my data store very simple. I have another, sizable smart-client application that uses SQL Server Express edition as a user back-end. From experience, SQL Server Express is certainly an option, however, integrating a database creation and maintenance process is a bit of a nightmare, due to various end-user constraints. SQL Server CE is much easier to use for my needs, if that is an option. Can I use SQL

Report Builder Export to CSV with colum header spaces

六月ゝ 毕业季﹏ 提交于 2019-12-01 23:26:10
问题 This is a strange request as we all know that database headers should never contain spaces. However a system that I am using requires spaces in its headers to import. I have created a Report Builder report that builds the data into a table and works when I run it. '01/08/2015' "Active date", '31/07/2016' "Expiry date", However when this is exported to a CSV file the are replaced with "Active_date" which causes an error on import. Does anyone know a way I can stop it from replacing spaces with

Is there a way to throttle or limit resources used by a user in Oracle?

醉酒当歌 提交于 2019-12-01 22:16:38
问题 I have a multi-user web application and am encountering issues when a third party reporting application queries my Oracle 10g database. The reporting queries are slowing the system and impacting all other users. Is there a way to throttle this user's session so their queries don't impact the other users? 回答1: you can use the Database Resource Manager to manage workload. Have a look at the Oracle documentation or at this example from Joel Kallman's APEX blog. 回答2: AFAIK, you can only throttle

Error While Using Multiple Datasets in RDLC Report

旧时模样 提交于 2019-12-01 21:39:59
I am creating RDLC report with two datasets. Earlier i was using one dataset and it was working fine,but when i added second dataset it started giving me following error for textboxes. Error 1 The Value expression for the text box ‘Textbox10’ refers to the field ‘HospitalAddress’. Report item expressions can only refer to fields within the current dataset scope or, if inside an aggregate, the specified dataset scope. Why is this happening? Please help.... You need to specify which dataset to use in your expressions now. Sample expression syntax below: =First(Fields!<field name>.Value, "

Report Builder Export to CSV with colum header spaces

僤鯓⒐⒋嵵緔 提交于 2019-12-01 20:29:02
This is a strange request as we all know that database headers should never contain spaces. However a system that I am using requires spaces in its headers to import. I have created a Report Builder report that builds the data into a table and works when I run it. '01/08/2015' "Active date", '31/07/2016' "Expiry date", However when this is exported to a CSV file the are replaced with "Active_date" which causes an error on import. Does anyone know a way I can stop it from replacing spaces with _ or is this something that cannot be altered? Yes It is possible to export to CSV with the spaces in

Is there a way to throttle or limit resources used by a user in Oracle?

廉价感情. 提交于 2019-12-01 20:24:26
I have a multi-user web application and am encountering issues when a third party reporting application queries my Oracle 10g database. The reporting queries are slowing the system and impacting all other users. Is there a way to throttle this user's session so their queries don't impact the other users? you can use the Database Resource Manager to manage workload. Have a look at the Oracle documentation or at this example from Joel Kallman's APEX blog . AFAIK, you can only throttle sessions based on CPU in 10g, which usually isn't the problem with long running queries. The most useful thing

The report definition is not valid

寵の児 提交于 2019-12-01 18:53:27
I have converted an .rdlc rerort from SSRS 2005 to SSRS 2008. Now when I am going to build that project I have got 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. Please give me solution for this. Just stumbled upon this question since I was having the same problem. In my case, I had a reference to an older version of ReportViewer.WinForms. When I switched versions, everything worked fine. Might not be the same case as yours, but just

Bind child object property with in rdlc (Report)

怎甘沉沦 提交于 2019-12-01 18:50:54
I have a custom object say "objMain" in which i have few properties and also the property of object type (i.e. like a child object). objMain has these properties: 1. Name [type: string] 2. Description [type: string] 3. StartDate [type: datetime] 4. ObjSubject [type: object] - this is of custom type ObjAddress has these properties 1. SubjectID [type: int] 2. SubjectName [type: string] I need to display Name, description, startdate and SubjectNames related to that name. It show the data in Name, description and startdate field but not is shown in the SubjectName field. This is how i want to show

BIRT: pdf emitter, load/use fonts from relative path or from jar files

柔情痞子 提交于 2019-12-01 18:40:44
I use BIRT since early days and still have riddles regarding PDF emitter. Short story : Can I configure fontsConfig.xml to load fonts from relative path or from jars? Long story: We are using both FOP and BIRT for generating PDF in our web application. It would be nice to share fonts between libraries. Unfortunately, I can't find a way to do it with BIRT 2.3.1 The root of evil is fontsConfig.xml If I configure it like shown below it works fine: <font-paths> <path path="fonts"/> </font-paths> But path doesn't allow me using neither relative paths not classpath (or I can't find an appropriate