chart control

Hi
For various reasons my current application is constrained to run with session handeling off.

Is there any chart setting or other tricks to get the essential chart working in this environment?

Currently I get an session error as soon as I add the chart control. If i turn sessionstate on, the chart works, but it is not the solution in my case.

/Tobias

Thank you

/Tobias



6 Replies

MA Manohari Syncfusion Team December 24, 2008 08:57 AM UTC

Hi Tobias,

Thanks for your interest in Syncfusion products.

I have tested for this issue "Exception is thrown when ChartWebControl is used with SessionState is off" and I am unable to reproduce this issue. Could you please provide us with the error information which you are getting when adding ChartWebControl to the Form when SessionMode is off. So that it will be more helpful for us to analyze and provide you with a better solution at the earliest.

Please let me know if you need any other information. Thanks for your patience.

Regards,
Manohari.R



AD Administrator Syncfusion Team December 26, 2008 07:58 PM UTC

Manohari, thanks for your time.
I get the following exception..

HttpException (0x80004005): Session state can only be used when enableSessionState is set to true, either in a configuration file or in the Page directive. Please also make sure that System.Web.SessionStateModule or a custom session state module is included in the \\ section in the application configuration.]
System.Web.UI.Page.get_Session() +2073117
Syncfusion.Web.UI.WebControls.Chart.ChartWebControl.OnLoad(EventArgs e) +1924
System.Web.UI.Control.LoadRecursive() +47
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Control.LoadRecursive() +131
System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1061

I start with an empty project and just add a ChartWebControl on it. I am using version 5.202.0.25 and VS 2005 (SP 1)..

The only change is a web.config where

/Tobias




MA Manohari Syncfusion Team December 30, 2008 05:02 AM UTC

Hi Thobias,

Thanks for the additional information.

I have tested for this issue and was able to reproduce this issue in version 5.2.0.25. However, We are glad to let you know that this issue is not reproduced in later versions from 6.2.0.40 and later. The version 6.2.0.40 and later can be downloaded from the following link.

http://www.syncfusion.com/downloads/product/versionhistory.aspx

If your Essential Studio license is current, you will be able to obtain the key to install this version from your account in DirectTrac. Otherwise, please contact your Syncfusion Sales Representative or e-mail [email protected]. Please let me know if you face any problem in this version.

Could you please test your application in this version and let me know if you still able to reproduce this issue? Thanks for your patience.

Regards,
Manohari.R



AD Administrator Syncfusion Team December 30, 2008 06:42 PM UTC

Manohari
Great to have this confirmed.
We have a current license and will upgrade our product eventually. Since there are a lot of other code dependencies, we cannot do this immediately.

Do you know of any simple workarounds in order to use the chart control prior to an upgrade? I know we can always turn the session on for the pages using the chart, but do we have any other options?
Thank you
/Tobias



MA Manohari Syncfusion Team January 2, 2009 05:39 AM UTC

Hi Tobias,

Thanks for the update. We regret to let you know that currently we do not have any simple Work around to make chartWebcontrol to work with Session state Off mode. We can try providing with you a patch with this fix in version 5.2.0.25. As per our corporate policy, custom private patches are available only to the valid Licence holder through Direct Trac. Hence, if you would like to receive a private patch in version 5.2.0.25, Could you please open a DirectTrac incident with regard to this with the Forum ID and Title of the Forum in the subject of the incident, so that we could follow up you in the incident with more details in this regard.

You can login and view your incident history 24x7. Simply visit the following link below to Login

https://www.syncfusion.com/Support/DirectTrac/logon.aspx?URL=/Support/DirectTrac/default.aspx


Please let us know if you have any other queries. Thanks for your patience.

Regards,
Manohari.R



MA Manohari Syncfusion Team January 2, 2009 05:59 AM UTC

Hi Tobias,

Thanks for the update. We regret to let you know that currently we do not have any simple Work around to make chartWebcontrol to work with Session state Off mode. We can try providing with you a patch with this fix in version 5.2.0.25. As per our corporate policy, custom private patches are available only to the valid Licence holder through Direct Trac. Hence, if you would like to receive a private patch in version 5.2.0.25, Could you please open a DirectTrac incident with regard to this with the Forum ID and Title of the Forum in the subject of the incident, so that we could follow up you in the incident with more details in this regard.

You can login and view your incident history 24x7. Simply visit the following link below to Login

https://www.syncfusion.com/Support/DirectTrac/logon.aspx?URL=/Support/DirectTrac/default.aspx


Please let us know if you have any other queries. Thanks for your patience.

Regards,
Manohari.R


Loader.
Up arrow icon