Jump to content
Software FX Community
Rekha

How to set our directory path for saving temparory chart created at runtime and saved into chartfx70\Temp

Recommended Posts

Hello

When we run our chart, a temporary chart is saved at location "chartfx70\Temp", is it possible to set our own directory for saving this temporary chart.Please help me out

 

Share this post


Link to post
Share on other sites

You can control this folder by creating/modifying a file name ChartFX.WebForms.config (in the same folder as the ChartFX.WebForms.dll) and add a Relative tag.

JuanC

Share this post


Link to post
Share on other sites

I am not getting what your are trying to say,please explain more about this.My problem is when we run a chart then a "image file and CHS file"  is created and saved into Chartfx70\Temp.This folder is created itself in my application when have executed my chart for the first time.My requirement is i want to set my own path for these temporary files,Please help me out

Share this post


Link to post
Share on other sites

Please check the following KB articles for information about Chart FX's config file:

Q7621010. Disabling the PSS Service

This article explains how to appropriately disable PSS.

URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet70&Source=http://support.softwarefx.com/kb/762/1/010.htm?_r=1

Q7121015. ChartFX.Internet.Config configuration file

This article describes how to use the ChartFX.Internet.Config file and supported tags.

URL: http://support.softwarefx.com/ShowArticleSep.aspx?Type=KB&Product=CfxNet62&Source=http://support.softwarefx.com/kb/712/1/015.htm?_r=1

 

Note: The second article is for Chart FX 6.2, the only thing diferent is the name of the file. In Chart FX for VS 2005 is ChartFX.WebForms.config

Share this post


Link to post
Share on other sites

hello

i am not clear with the explaination given by you,Please explain step by step instruction what i have to follow for this.

I am confused what i have to do with this.I don't know what is PSS and is it neccessary to disable these services.

Please explain what i have to do with this PSS and what tag i have to add in ChartFx.web.config for my desired result.

I am explaining what i have already tried:-

1)I have created a config file named:-"ChartFX.WebForms.config"

2)then this file i have included in Bin folder.

3)after that in Configuration file(i.e. ChartFX.WebForms.config), i have put an absolute tag

I am giving you my config file full description:-

<?xml version="1.0"?><!--

Note: As an alternative to hand editing this file you can use the

web admin tool to configure settings for your application. Use

the Website->Asp.Net Configuration option in Visual Studio.

A full list of settings and comments can be found in

machine.config.comments usually located in

\Windows\Microsoft.Net\Framework\v2.x\Config

-->

<configuration>

<

DefaultHandler>ChartFX.WebForms.Internal.OutputFileHandler,ChartFX.WebForms</DefaultHandler><CfxIESettings>

<

absolute>d:\rekha\temp</absolute></CfxIESettings>

<

connectionStrings/><system.web><!--

Set compilation debug="true" to insert debugging

symbols into the compiled page. Because this

affects performance, set this value to true only

during development.

-->

<

compilation debug="false" />

<!--

The <authentication> section enables configuration

of the security authentication mode used by

ASP.NET to identify an incoming user.

-->

<

authentication mode="Windows" />

<!--

The <customErrors> section enables configuration

of what to do if/when an unhandled error occurs

during the execution of a request. Specifically,

it enables developers to configure html error pages

to be displayed in place of a error stack trace.

<customErrors mode="RemoteOnly" defaultRedirect="GenericErrorPage.htm">

<error statusCode="403" redirect="NoAccess.htm" />

<error statusCode="404" redirect="FileNotFound.htm" />

</customErrors>

-->

 

</system.web>

</

configuration>

 

 

"<DefaultHandler>ChartFX.WebForms.Internal.OutputFileHandler,ChartFX.WebForms</DefaultHandler>

<

CfxIESettings><absolute>d:\rekha\temp</absolute>

</

CfxIESettings>"

These are the lines i have put after read your help,but nothing happens,

as happening earlier temporary file are stored in "chartfx\temp" folder. not in my

"<absolute>d:\rekha\temp</absolute>" path.

Please suggest me the right direction where i have to move.

Share this post


Link to post
Share on other sites

I think these articles explain everything you need. You need to read through.

I don't understand this XML you posted. looks like an cross between a Web-App config file and a chart fx config file. These are not to be merged. What you need is a ChartFX.WebForms.config containing ONLY the following:

<

CfxIESettings><Absolute>d:\rekha\temp</Absolute>"

<

Relative>url for this path</Relative>

</

CfxIESettings>

To understand what PSS is please read 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

If you want to disable the PSS service (which I don't recommend) please read the following KB article:

Q7621010. Disabling the PSS Service

This article explains how to appropriately disable PSS.

URL: http://support.softwarefx.com/Article.aspx?KBID=7621010&Product=CfxNet70&Embed=0&_r=1

 Notice the the <DefaultHandler> tag is a sibbling of <Relative> and <Absolute>

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...