User (Legacy) Posted April 1, 2005 Report Share Posted April 1, 2005 Hi, I just installed ChartFX Internet 6.2 Trial Edition and when I try to access the following ASP page: <html> <head> <title>Troubleshooting the Server Component</title> </head> <body> <% Set chart = Server.CreateObject("ChartFX.ASP.Server") %> <%= chart.GetHtmlTag(500,350) %> </body> </html> I receive the following error: Active Server Pages, ASP 0241 (0x80004005) The CreateObject of '(null)' caused exception C0000005. Regards, Magin Link to comment Share on other sites More sharing options...
Sinouplen Posted January 29, 2008 Report Share Posted January 29, 2008 Hi everybody, I have the same trouble than Margin but with annotation of ChartFX. I worked on the ChartFX Developpement 6.2 and I try to do annotation on my graphics but when I use this instruction: Dim annotSet annot = Server.CreateObject("ChartFX.ASP.Annotation") I have this following error: "Type d'erreur : Pages ASP, ASP 0241 (0x80004005)Le CreateObject de '(null)' a provoqu Link to comment Share on other sites More sharing options...
PDyer Posted April 11, 2008 Report Share Posted April 11, 2008 Magin, I wonder if you are using the initial Chart FX Internet 6.2 Includes: <!-- Include this file so we can use all the ChartFX constants --> <!-- #include virtual="/Include/CfxIE.inc" --> Please find the simple sample that I created and run it. Let me know what you are getting. <!-- Include this file so we can use all the ChartFX constants --> <!-- #include virtual="/Include/CfxIE.inc" --> <% ' Create the object on the server Set chart = Server.CreateObject("ChartFX.WebServer") ' The samples look better in white chart.RgbBk = RGB(255,255,255) %> <% Chart.Axis(AXIS_Y).Title= "Sales Chart" Chart.Axis(Axis_Y).TitleColor=RGB(0,0,255) Chart.Axis(AXIS_Y).TitleFontMask = Chart.Axis(AXIS_Y).TitleFontMask Or CF_ARIAL Or CF_CF_BOLD Or 10 %> <%= chart.GetHtmlTag(500,350) %> Link to comment Share on other sites More sharing options...
PDyer Posted April 11, 2008 Report Share Posted April 11, 2008 Sinouplen, In order to use annotations you should have ChartFX.Internet.Annotation.dll assembly included in your project. If you do, I wonder if you have any issues creating a simple application without using Annotations. If the problem persist please contact Technical Support for further troubleshooting.<?xml:namespace prefix = o ns = "urn:schemas-microsoft-com:office:office" /> Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.