Jump to content
Software FX Community
User (Legacy)

ASP ERROR 0241 (0x80004005)

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

Share this post


Link to post
Share on other sites

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

Share this post


Link to post
Share on other sites

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) %>

Share this post


Link to post
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" />

Share this post


Link to post
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...

×
×
  • Create New...