Small width layout Medium width layout Maximum width layout Small text Medium text Large text
     Search
Downloads Downloads Directory Directory Forums Forums Forge Forge Blogs Blogs        Marketplace Marketplace Careers Program Careers
Community › Forums Register  |  

The best choice for your web site host, email hosting, and domain registration.
  Need Help?  
Professional technical support for DotNetNuke is available from DotNetNuke Corporation.
 


  Ads  
WebHostForAsp.net
 


  Sponsors  

Meet Our Sponsors

Webhost4life, specialists in DNN hosting
Mad Development is a full service interactive agency focusing on the merge of design, technology, e-commerce, and affiliate marketing by providing total website solutions.
AspDotNetStoreFront - E-Commerce by Design - The Leading ASP.NET shopping cart platform for developers!
Click here to go to dev.live.com for Windows Live developer resources
SteadyRain
DataSprings - Great Ideas. Always Flowing.
 


DotNetNuke Forums
 
  Forum  DotNetNuke® Pro...  Reports Module ...  Exception with Chart Visualizer
Previous Previous
 
Next Next
New Post 1/6/2007 9:55 PM
User is offline Dave Hollas
71 posts
10th Ranked


Exception with Chart Visualizer 
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 12:21 PM
User is offline Stefan Cullmann
1431 posts
6th Ranked








Re: Exception with Chart Visualizer 

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

Can it be just this simple typo?

 


Stefan Cullmann - stefan.cullmann [at] dotnetnuke.com

forms & Lists (UDT5.0) will be the next major release of the User Defined Table project.
A first Preview is available, though it requires DotnetNuke 5 (Beta 5).

 
New Post 1/7/2007 2:24 PM
User is offline Andrew Nurse
344 posts
8th Ranked






Re: Exception with Chart Visualizer 
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/7/2007 8:32 PM
User is offline Dave Hollas
71 posts
10th Ranked


Re: Exception with Chart Visualizer 
Modified By Dave Hollas  on 1/8/2007 12:47:04 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/7/2007 9:19 PM
User is offline Andrew Nurse
344 posts
8th Ranked






Re: Exception with Chart Visualizer 
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 Previous
 
Next Next
  Forum  DotNetNuke® Pro...  Reports Module ...  Exception with Chart Visualizer
 


Forum Policy

These Discussion Forums are dedicated to the discussion of the DotNetNuke Web Application Framework.

For the benefit of the community and to protect the integrity of the project, 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 DotNetNuke.
2. Discussion or promotion of DotNetNuke product releases under a different brand name are strictly prohibited.
3. No Flaming or Trolling.
4. No Profanity, Racism, or Prejudice.
5. Site Moderators have the final word on approving/removing a thread or post or comment.
6. English language posting only, please.

 


$7.16/mo - Powerful DotNetNuke Hosting
Powerful DotNetNuke Hosting starting at under $8/mo with FREE SQL 2005, FREE Installation and expert support.
www.re-invent.com
ASP.NET Web Hosting for $3.95
3 Month FREE ASP.NET Hosting! FREE Setup! DNN Support! FREE Domain Name! FREE Components! Host multiple websites on 1 plan! 30 Days Money Back Guarantee!
www.dailyrazor.com
Cestus Websites
DotNetNuke websites en services in Nederland. Cestus Websites levert websites, projectmanagent, skins, modules, training en gespecialiseerde hosting op basis van het CMS DotNetNuke.
www.dotnetnuke-websites.nl

DotNetNuke Corporation   Terms Of Use  Privacy Statement
DotNetNuke®, DNN®, and the DotNetNuke logo are trademarks of DotNetNuke Corporation
Hosted by MaximumASP