Hello,
Actually I am using kendo reporting with MVC when I run my webpage and show the reports in my local pc all is great, but when I publish my webpage into a server and run it in a web browser the webpage is ok the problem is when I try to visualize the reports in the browser it gives me the following errors.
Internal Server Error:
An error has occurred.
Object reference not set to an instance of an object.
and
Internal Server Error:
An error has occurred.
Value cannot be null. Parameter name: source
Now I update to Kendo Reporting Q2 2015 and I have the following error:
Error registering the viewer with the service.
An error has occurred.
Object reference not set to an instance of an object.
What should I do?
I will appreciate your help.
Thank you.
NeedDataSource method and I am struggling creating Row Groups.
First of all, can you confirm that this is a reasonable way to approach this problem:
My Sproc returns data similar to this:
Task #, Task Name, Qualification Method
The relationship between Tasks (# and name) to Qualification Methods is 1 to many. Meaning I have multiple Qualification methods per Task. So, what I want to do is have a single row for each task, then the next rows are the Qualification methods for a given task.
What I want it to look like is this:
Task # Task Name
1.0 Evaluate Assembly Line Safety
Qualification Methods
Assembly Safety 101 Class
Assembly Safety 201 Class
Assembly Safety Certification
Task # Task Name
2.0 Supervise Assembly Line
Qualification Methods
Supervisor Assembly Line 101 Class
Supervisor Assembly Line 201 Class
Harassment Class
Supervisor Assembly Line Certification
etc.
The data comes in like this:
1.0 Evaluate Assembly Line Safety Assembly Safety 101 Class
1.0 Evaluate Assembly Line Safety Assembly Safety 201 Class
1.0 Evaluate Assembly Line Safety Assembly Safety Certification
2.0 Supervise Assembly Line Supervisor Assembly Line 101 Class
2.0 Supervise Assembly Line Supervisor Assembly Line 101 Class
2.0 Supervise Assembly Line Harassment Class
2.0 Supervise Assembly Line Supervisor Assembly Line Certification
So, I thought about having a table, creating another Parent Row group to hold the Task data and then use the Detail group to hold the Qualification Methods data. I think that is a reasonable approach, but I am open to suggestions.
So, that is what I have attempted to do, but ran into some problems. When I drag a table control onto my report layout page, it automatically creates a Detail Group. I select the entire table, then select the (detailGroup) down in the Row Groups section, then right click to add a parent group. The Table Group dialog comes up and you have to create a new expression etc. I do not have any fields available to me as I do not have any data sources associated with the report. So, I just try to type in my field like this: "=Fields.Tasknumber" and another column gets created on the far left and moves the detail columns to the right. Also, no Parent Group gets created. I am not sure what it is trying to do, but could use some advice.
Thanks, Mike
Update:
After struggling with this some more, it looks like the tool is trying to create a parent group based on the detail group cells you select. I still dont quite get it, so if someone could walk me through creating a table from scratch with the appropriate parent/detail groups based on the above scenario, that would be great. I have read through all of the KB articles, documentation and related Forum posts and it seems like I almost get it...
Thanks again, Mike
Reporting Version = Q3 2014
I created a A4 report with chinese font style (微軟æ£é»‘é«”), but the file size of exported XPS is around 3-4MB.
if under the circumstance of fixed font-style , how can I minimum the file size?
According to what I have found , the FontEmbedding config is for PDF device only, any similar config for XPS device?
Hi, I need help.
I am using c #, and I'm working on a report which I have an object table which I want to fill a DataTable by code, I tried this way but it did not work.
DataTable table = new DataTable("patients");
table.Columns.Add("name");
table.Columns.Add("id");
table.Rows.Add("sam", 1);
table.Rows.Add("mark", 2);
table1.DataSource = table;
prints the rows that have this datatable(2), but empty.