-
April 27th, 2009, 11:01 PM
#1
createEngine problem on ASP.NET application
Hi.
I have Lightstreamer and an IIS web server on the same server. LS is running on default port 8080. I deployed an ASP.NET on IIS with .NET framework 2.0.
I've been succefully testing some sample client projects where LS functions as a web server, but this is the first time I have an app running on IIS and trying to connect to LS.
My web app gets a popup error that says: "ER createEngine The call of createEngine methods after the BODY onload event is supported only for DOM2 browsers. You might have reached this point, due to slow page downloads."
Im launching the app from IE 7.0.5730.11. I've updated the Javascript code in the client app to connect to the local LS on the same server:
<script type="text/javascript">
var page = new PushPage();
page.context.setDomain("archtst1.test.alaskaair.co m");
page.onEngineCreation = startEngine;
page.bind();
page.createEngine("LSAdapterDemo", "JSLib", "SHARE_SESSION");
function startEngine(engine)
{
engine.connection.setAdapterName("LSADAPTERDEMO");
engine.changeStatus("STREAMING");
engine.connection.setLSHost("push.archtst1.test.al askaair.com");
engine.connection.setLSPort("8080");
}
var pushtable = new OverwriteTable(null, null, "MERGE");
page.addTable(pushtable, "EventTargetTable");
</script>
And I've checked that the Adapter, which is a C# adapter that connects through sockets successfully, runs fine.
Any idea what that error means?
Thanks.
-G
Similar Threads
-
By karthikjai in forum Client SDKs
Replies: 5
Last Post: April 6th, 2011, 08:41 AM
-
By karthikjai in forum Client SDKs
Replies: 0
Last Post: April 1st, 2011, 03:22 PM
-
By mohamida in forum Client SDKs
Replies: 10
Last Post: August 18th, 2010, 12:50 PM
-
By mohamida in forum Client SDKs
Replies: 10
Last Post: August 18th, 2010, 12:50 PM
-
By vaduganathan in forum Client SDKs
Replies: 3
Last Post: April 9th, 2010, 08:58 AM
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
All times are GMT +1. The time now is 02:35 AM.
Bookmarks