Steema Issues Database

Note: This database is for bugs and wishes only. For technical support help, if you are a customer please visit our online forums;
otherwise you can use StackOverflow.
Before using this bug-tracker we recommend a look at this document, Steema Bug Fixing Policy.



Bug 1921 - ASP.NET & MVC. When project published to Azure image render formats can provoke IntPtr hdc error.
Summary: ASP.NET & MVC. When project published to Azure image render formats can provo...
Status: RESOLVED FIXED
Alias: None
Product: .NET TeeChart
Classification: Unclassified
Component: WebChart (show other bugs)
Version: unspecified
Hardware: PC Windows
: --- normal
Target Milestone: ---
Assignee: Steema Issue Manager
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2017-09-22 06:47 EDT by marc meumann
Modified: 2017-09-22 06:47 EDT (History)
0 users

See Also:
Chart Series: ---
Delphi / C++ Builder RAD IDE Version:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description marc meumann 2017-09-22 06:47:11 EDT
ASP.NET and MVC projects that function correctly on private servers can fail with an IntPtr hdc error caused for image format renders when TeeChart renders as image. This is avoidable by changing the buffer style:

eg.
webChart.Chart.Graphics3D.BufferStyle = Steema.TeeChart.Drawing.BufferStyle.None;


The problem may occur on first load only (when TeeChart is loaded to app memory space once per server's global application lifetime) under Azure due to a designer init code that also provokes the IntPtr error.
Comment 1 marc meumann 2017-09-22 06:47:56 EDT
fix included with next update