Hi,

3) I publish this website to c:\inetpub\wwwwroot.

5) when I use the URL http://localhost/AMSDemo/Default.aspx, i get the above error.
I assume that "http://localhost/AMSDemo/Default.aspx" is a typo as this url does not have a port and you said you have Lightstreamer on port 80 (so your IIS must listen to a different port)

If you're using two servers (ie Lightstreamer + Web Server) you can no longer use "localhost" to reach your pages but you should use a complete machine name (e.g.: mypc.mydomain.com) and your code should change accordingly:


Btw your error does not seem to be related to this problem. Maybe your problem is the following line:



do you have a variable called localhost? If not this line will throw an exception so that the entire block is skipped (including the bind call) and the addTable (that's in another block) is executed before the bind as the message states.

HTH