We tried TeeChart Pro ActiveX version v7.0.1.4 (unsigned). There was no difference. We still got the one minute delay if we used TeeChart after not using it for about two minutes.

![]() | Yeray Alonso Development & Support Steema Software Av. Montilivi 33, 17003 Girona, Catalonia (SP) |
![]() ![]() ![]() ![]() ![]() ![]() |
Please read our Bug Fixing Policy |
Code: Select all
<%
response.write("<html>")
response.write("<head>")
response.write("<META HTTP-EQUIV=""REFRESH"" CONTENT=""60; URL=keepalive.asp"">")
response.write("<title>object refresh</title></head>")
response.write("<body bgcolor=#FFFFFF>")
response.write( now() )
Set Chart1 = CreateObject("TeeChart.TChart")
response.write("<br>")
response.write( Chart1.Header.Text(0) )
response.write("</BODY>")
response.write("</html>")
%>
! ..and the problem _only_ occurs on x64 Windows 2008. Response is instant on the other Microsoft x64 platforms we have tested. We'll keep all avenues of investigation open for the moment.There is not much point in our contacting Microsoft on this issue because we have quite a few 32 bit DLLs and OCXs that we use that do not have this problem. The problem is isolated to the TeeChart7.ocx.
ie. TeeChart is removed from cache as a result of inactivity timeout.behaviour appears 'completely normal'
Code: Select all
<object runat="server" scope="Application" id="TeeChartPlaceHolder" progid="TeeChart.TChart"></object>
Code: Select all
<object runat="server" scope="Application" id="TeeChartPlaceHolder" progid="TeeChart.TChart.7"></object>
Code: Select all
<object runat="server" scope="Application" id="TeeChartPlaceHolder" progid="TeeChart.TChart.7">
</object>
<script language="vbscript" runat="server">
sub Application_OnStart
TeeChartPlaceHolder.Header.Text(0) = "Title from Chart generated in global.asa"
Application("testtitle")=TeeChartPlaceHolder.Header.Text(0)
end sub
</script>
Code: Select all
<%
response.write("<html>")
response.write("<head>")
response.write("<title>object cache timeout tests</title></head>")
response.write("<body bgcolor=#FFFFFF>")
response.write(Application("testtitle"))
response.write("<br>")
response.write( now() )
Set Chart1 = CreateObject("TeeChart.TChart.7")
response.write("<br>")
response.write( Chart1.Header.Text(0) )
response.write("</BODY>")
response.write("</html>")
%>
Code: Select all
<%@ language=VBScript CodePage=65001 %>
<%option explicit%>
<%
Response.Charset = "UTF-8"
Response.Expires = -1
Response.CacheControl = "no-cache"
Response.AddHeader "pragma", "no-cache"
Dim Chart
Set Chart = CreateObject("TeeChart.TChart.7")
Set Chart = Nothing
Response.End
%>