vlntine82 Posted April 4, 2007 Report Share Posted April 4, 2007 I am trying to display a chart in my ASP.NET application using VB.NET in the code behind. The code works great when I run it as a stand alone project in through Visual Studio, but when I put the exact same code in my project, the chart doesn't appear and there is no error message Here is the code in the aspx page: <%@ Page Language="VB" AutoEventWireup="true" CodeFile="Default.aspx.vb" Inherits="_Default" %><%@ Register Assembly="ChartFX.WebForms" Namespace="ChartFX.WebForms" TagPrefix="chartfx7" %><!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"><html xmlns="http://www.w3.org/1999/xhtml" ><head id="Head1" runat="server"> <title>Untitled Page</title></head><body> <form id="form1" runat="server"> <div> <chartfx7:Chart ID="Chart1" runat="server" Height="400px" Width="457px"> <Series> <chartfx7:SeriesAttributes /> <chartfx7:SeriesAttributes /> <chartfx7:SeriesAttributes /> </Series> </chartfx7:Chart> </div> </form></body></html> here is the code in the code behind. Imports SystemImports System.DataImports System.ConfigurationImports System.WebImports System.Web.SecurityImports System.Web.UIImports System.Web.UI.WebControlsImports System.Web.UI.WebControls.WebPartsImports System.Web.UI.HtmlControlsImports ChartFX.WebFormsPartial Public Class _Default Inherits System.Web.UI.Page Protected Sub Page_Load(ByVal sender As Object, ByVal e As EventArgs) Chart1.Width = Unit.Percentage(100) Chart1.Height = Unit.Percentage(100) Chart1.RenderFormat = ".NET" End SubEnd Class Any ideas on why putting this code in my project wouldn't show a graph? Link to comment Share on other sites More sharing options...
Leslie Posted April 5, 2007 Report Share Posted April 5, 2007 I am having the same problem. I have a web application with four charts. All charts display when I run it from visual studio in my developmentmachine. When I moved the application to the production server (Windows Server 2003 - IIS) all I get are broken image link. Link for the broken images: http://MyWS2003:8080/chartfx70/pss/ChartFX.aspx?id=0-0405142923&type=png&mime=image%2fpngAny help would be greatly appreciated. Link to comment Share on other sites More sharing options...
Frank Posted April 5, 2007 Report Share Posted April 5, 2007 Please review the following KB article: Q7621004. The Chart FX PSS Service in a nutshell This article explains how the Chart FX PSS Service works and how it can be configured. URL: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/004.htm?_r=1 Also, check your event log for possible errors comming from PSS. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.