WebCharts show red X when served from IIS 7
Posted: Sun Sep 04, 2011 9:07 pm
I have just purchased Steema TeeChart for .NET 2011, and cannot get WebChart to work, either using your Tutorial 10, or using the ASP.NET Demo web application you provide. In both cases, when the ASP.NET app is run under IIS 7, I see only a red X where the chart should be.
Your Tutorial 10 has one small code error: the line
should be
However, once that is fixed, the ASP.NET app works fine when run in debug mode from Visual Studio 2010. When I publish it to IIS 7, though, I get the red X.
You provide what looks like a nice ASP.NET demo app, including a shortcut which gets installed automatically to the Windows Start menu along with the other parts of the TeeChart package. However, you give NO instructions as to how to make this nice shortcut actually work, although your Tutorial 10 begins with the confusing words "See the TeeChartForNET Virtual Share installed with TeeChart for a working example...". Eventually I figured out how to use the IIS Manager control panel to install this, not as a "virtual directory", but as an "application". This makes your shortcut to "http://localhost/TeeChartForNET/index.aspx" work, but on every page where a chart should appear, again I get a red X.
I have tried different browsers. I have made sure that the IIS 7 Application Pools are set to use .NET 4.0. I have wasted hours searching the web and trying different settings for Session State options in IIS 7. I have tried everything on both 32-bit and 64-bit Windows 7 systems. I have read post after post in this forum, where users report this problem again and again, but there seems to be no answer. None of the threads ends with the user saying "Ah, that was it! Red X's are gone now. Thank you." Have all the users simply given up?
Let's forget about new ASP.NET apps created according to your Tutorial 10. Let's concentrate on the fact that the ASP.NET demo app you provide (the one which the "http://localhost/TeeChartForNET/index.aspx" shortcut points to) does not run properly under IIS 7, on Windows 7, either 32-bit or 64-bit. Can you tell me how to make this demo run properly?
Your Tutorial 10 has one small code error: the line
Code: Select all
zoomedState = ((Steema.TeeChart.Tools.ZoomTool)wChart.Chart.Tools[0]).SetCurrentZoom(Request, zoomedState);
Code: Select all
zoomedState = ((Steema.TeeChart.Tools.ZoomTool)wChart.Chart.Tools[1]).SetCurrentZoom(Request, zoomedState);
You provide what looks like a nice ASP.NET demo app, including a shortcut which gets installed automatically to the Windows Start menu along with the other parts of the TeeChart package. However, you give NO instructions as to how to make this nice shortcut actually work, although your Tutorial 10 begins with the confusing words "See the TeeChartForNET Virtual Share installed with TeeChart for a working example...". Eventually I figured out how to use the IIS Manager control panel to install this, not as a "virtual directory", but as an "application". This makes your shortcut to "http://localhost/TeeChartForNET/index.aspx" work, but on every page where a chart should appear, again I get a red X.
I have tried different browsers. I have made sure that the IIS 7 Application Pools are set to use .NET 4.0. I have wasted hours searching the web and trying different settings for Session State options in IIS 7. I have tried everything on both 32-bit and 64-bit Windows 7 systems. I have read post after post in this forum, where users report this problem again and again, but there seems to be no answer. None of the threads ends with the user saying "Ah, that was it! Red X's are gone now. Thank you." Have all the users simply given up?
Let's forget about new ASP.NET apps created according to your Tutorial 10. Let's concentrate on the fact that the ASP.NET demo app you provide (the one which the "http://localhost/TeeChartForNET/index.aspx" shortcut points to) does not run properly under IIS 7, on Windows 7, either 32-bit or 64-bit. Can you tell me how to make this demo run properly?