Jump to content
Software FX Community

ASP ERROR 0241 (0x80004005)


User (Legacy)

Recommended Posts

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

  • 2 years later...

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 annot
Set 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

  • 2 months later...

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

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

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...