Jump to content
Software FX Community

ChartFX images are broken


tharun
 Share

Recommended Posts

Hi,

I am using ChartFX 2005 and I want the ChartFX images to be served from inside my application as below.

http://DomainName/ApplicationName/chartfx70/pss/ChartFX.aspx?id=0-062014520&type=png&mime=image%2fpng 

instead of

http://DomainName/chartfx70/pss/ChartFX.aspx?id=0-062014520&type=png&mime=image%2fpng 

For doing this I followed below steps:

1)Copied the ChartFX70 Folder into the Application physical folder.

2)Created a config file by name ChartFX.WebForms.Config

After doing the above changes ,still sometimes the image is being served from the second URL as I mentioned above because of which images are broken.

Can someone please clarify this..?

 

 

 

 

 

Link to comment
Share on other sites

 What did you put in your config file?

You need to change it as follows:

<chartfx>  <PssOutput>    <HandlerURL>/yourappfolder/chartfx70/pss</HandlerURL>  </PssOutput></chartfx>
You also need to actually put the PSS Http handler there. 
The following KB articles contain very valuable information about this topic. The second article, explains how to move the PSS Http handler into your own app ([u]Making the PSS Handler part of your application).[/u]
[font=" 'Calibri','sans-serif'"]Q7621004. The Chart FX PSS Service in a nutshell[/font] [font=" 'Calibri','sans-serif'"]This article explains how the Chart FX PSS Service works and how it can be configured.[/font] [font=" 'Calibri','sans-serif'"]URL: http://support.softwarefx.com/ShowArticle.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/004.htm#?_r=1[/font]
[font=" 'Calibri','sans-serif'"]

 

Q7621009. How to use Chart FX and Forms Authentication to secure your charts[/font] [font=" 'Calibri','sans-serif'"]URL: http://support.softwarefx.com/Article.aspx?KBID=7621009&Product=CfxNet70&Embed=0&_r=1[/font]

 
Link to comment
Share on other sites

I have put the below code in my config file.

<chartfx>

  <PssOutput>

  <ServiceURL>tcp://localhost:8082/PssService</ServiceURL>

  <HandlerURL>/applicationname/chartfx70/pss</HandlerURL>

  <RootURL></RootURL>

  <RootURLFile></RootURLFile>

  <Authenticate>false</Authenticate>

  </PssOutput>

</chartfx>

 

After doing so, do I need to delete the ChartFX.Internet.config file.....Please let me know as early as possible.

ChartFX images are served sometimes from inside the application and sometimes from outside the application.When they are served from outside we see a broken image. 

 

Link to comment
Share on other sites

This content must be in ChartFX.WebForms.config located in your application's BIN folder.

ChartFX.Internet.config is NOT used by Chart FX for VS 2005 (this is an old file from Chart FX 6.x).

Please read through my response. ADDITIONALLY you need to put the Chart FX PSS Http Handler INSIDE your app. I explained how in my previous posting. You need to read these KB articles and understand them, otherwise we are going to be going back and forth for a while.

 

Link to comment
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.

 Share

×
×
  • Create New...