Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsException with Chart VisualizerException with Chart Visualizer
Previous
 
Next
New Post
1/7/2007 1:55 AM
 
Running DNN 4.4 Report Module with the Chart Visualizer fails to render an image
Using this query:
SELECT r.RoleName as 'Role', COUNT(ur.UserID) as 'Users',
(CASE
WHEN (COUNT(ur.UserID) > 10) THEN '#00FF00'
ELSE '#000000'
END) as 'Color'
FROM Roles r
INNER JOIN UserRoles ur ON r.RoleID = ur.RoleID
GROUP BY r.RoleName
Setting:
Chart Visualizer is installed
Vertical Column Chart 
Enter a Width and Height 400x300, Enter the X-Axis Title: 'Role',
Enter the Y-Axis Title: 'Users in Role',
Enter the Bar Name Column: 'Roles',
Enter the Bar Value Column: 'Users' 
Select "One Color per Bar" and enter 'Color' as the Bar Color Column
All values without quotes
We received this reported exception from Visual Studio: ChartImage.ashx at line 165 >  context.Response.Flush() 
An exception of type 'System.Web.HttpException' occurred in System.Web.dll but was not handled in user code
Additional information: Server cannot append header after HTTP headers have been sent.
Any suggestions would be greatly appreciated

 


Incredible PeopleWare.Canada
 
New Post
1/7/2007 4:21 PM
 

The SQL query deals with a column Role, but you are setting the Bar Column Name 'Roles'.

Can it be just this simple typo?

 

 
New Post
1/7/2007 6:24 PM
 
I've entered the query you specified and configured it in the same way as you, but I can't seem to reproduce the error. I'll keep looking in to it, and if you get any more information please let me know.

Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
New Post
1/8/2007 12:32 AM
 

Thanks for the reply.  We were attempting to use report module and the chart visualizer while running dnn locally from within Visual Studio.  I thought this condition might be caused by the VS web server and IIS. The png chart file is created but fails to render. So then I checked the compression.config and added <mimeType>Image/png</mimeType>to excluded MimeTypes and it works fine..  btw Great Cool Tool


Incredible PeopleWare.Canada
 
New Post
1/8/2007 1:19 AM
 
Thanks for the update, I'll create a new thread and pin it so that everyone has this info.

Andrew Nurse
DotNetNuke Core Team Member and Reports Module Project Lead
Microsoft Certified Professional Developer

 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsReportsReportsException with Chart VisualizerException with Chart Visualizer


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out