Your Privacy Matters: We use our own and third-party cookies to improve your experience on our website. By continuing to use the website we understand that you accept their use. Cookie Policy
830
deployementscenario attribute in chart control: what is it used for
posted

Can someone explain the use of that attribute in laymen language?

When I don t set the  property deployementscenario ... FilePath="~/ig_res/Default/images" ... in my web page, I get the following issue:

When I deploy the application in Preproduction environnement I get an error message : I think it has something to do with permission rights for the web page to access the Chart folder, where the chart stores its data/images or whatever

In order to fix that issue, I added deployement scenario property and set its filepath to specific folder, but that created anothor issue, not refreshing the datetime x-label when my data in the datasource of my chart changes

So what is the deployement scenario used for, can I use it to fix the right/permission issue ?

 

I will also try to post, in a different thread here in the forum, the error message I received in pre-Production environnement when I did not set the deployementscenario property.

Thanks a lot

Parents
No Data
Reply
  • 830
    posted

    Here is the error I get when I don t set the Deployement scenario property:

     

    System.Runtime.InteropServices.ExternalException: A generic error occurred in GDI+.

    Source Error:

    An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

    Stack Trace:

    [ExternalException (0x80004005): A generic error occurred in GDI+.]
       System.Drawing.Image.Save(String filename, ImageCodecInfo encoder, EncoderParameters encoderParams) +377630
       System.Drawing.Image.Save(String filename, ImageFormat format) +69
       Infragistics.WebUI.UltraWebChart.UltraChart.Render(HtmlTextWriter output) +10829
    
    [ImageStoreException: 
    			Unable to write chart image files at given file path. Please check and correct
    			UltraChart's DeploymentScenario property. Or please provide write permissions to
    			directory path where chart must save images. Please refer Deployment Scenario
    			section in help files.
    			-Or- Follow KB article link: http://devcenter.infragistics.com/Support/KnowledgeBaseArticle.Aspx?ArticleID=5444
    		]
       Infragistics.WebUI.UltraWebChart.UltraChart.Render(HtmlTextWriter output) +10970
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter adapter) +27
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer, ControlAdapter adapter) +99
       System.Web.UI.Control.RenderControl(HtmlTextWriter writer) +25
       System.Web.UI.Control.RenderChildrenInternal(HtmlTextWriter writer, ICollection children) +134
       System.Web.UI.Control.RenderChildren(HtmlTextWriter writer) +19
       System.Web.UI.UpdatePanel.RenderChildren(HtmlTextWriter writer) +234
       System.Web.UI.Control.Render(HtmlTextWriter writer) +10
       System.Web.UI.UpdatePanel.Render(HtmlTextWriter writer) +34
       System.Web.UI.Control.RenderControlInternal(HtmlTextWriter writer, ControlAdapter 

Children
No Data