First of all, I apologize for the late reply. Had some other stuff to
attend to first...
> If you don't have the disconnect code, *at all*, the error goes away though,
> right?
Unfortunately not. The error is always there.
> If you have a simple test case that can reproduce it consistently....
You can use the following ASPX page to reproduce the error. There's
nothing in the code behind file so this contains all the information
you need to reproduce the error. Simply load the page in IE9 and then
navigate away.
<%@ Page Language="C#" AutoEventWireup="true"
CodeBehind="Test.aspx.cs" Inherits="Perbit.Web.Test" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://
www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="
http://www.w3.org/1999/xhtml">
<head runat="server">
<title></title>
<script type="text/javascript">
function pageLoad( sender, args )
{
window._pushClient = fm.websync.client.initialize( { retries:
0, autoDisconnect: false } );
window._pushClient.connect( {
onSuccess: Function.createDelegate( this, function( args )
{
subscribe();
} )
} );
}
function subscribe()
{
window._pushClient.subscribe( {
channel: "/systemmessage",
onSuccess: Function.createDelegate( this, function( args )
{
alert( "subscribed" );
} ),
onReceive: Function.createDelegate( this, function( args )
{
alert( "data: " + args.data );
} ),
onFailure: Function.createDelegate( this, function( args )
{
alert( "error" );
} )
} );
}
</script>
</head>
<body>
<form id="form1" runat="server">
<asp:ScriptManager ID="ScriptManager1" runat="server">
<Scripts>
<asp:ScriptReference Path="client.ashx" />
</Scripts>
</asp:ScriptManager>
</form>
</body>
</html>