Results 1 to 2 of 2
  1. #1
    Member
    Join Date
    Jan 2007
    Location
    London
    Posts
    3

    Running Lightstreamer Web Client : Permission Denied

    I'm currently writing a web application in ASP.NET 2.0 within Visual Studio 2005 but I'm having trouble getting the sample demo to work within Visual Studio's integral web server.
    I can run the lightstreamer server on its own just fine, and can access the sample demo on port 8080 without a problem.

    However, I copied the sample website into a new VS web project and after setting the hostname and port to point at my Lightstream server I started it up. It connects to the LS server without any problem, but no data is coming through. The server continuously starts a new session, reuses a HTTP connection, and then immediately closes the connection. The javascript error on the web client page indicates that the call to create_session.html was returned with a "Permission Denied" error. Any ideas why this might be the case?

    Cheers,
    Carl.

  2. #2
    Power Member
    Join Date
    Jul 2006
    Location
    Cesano Maderno, Italy
    Posts
    784

    Cool

    Hi cbradbury,

    This is probably the most common problem people encounter deploying a Lightstreamer Web Client application using two servers (a Lightstreamer and a Web Server)

    The problem is solved with the use of the setDomain method.
    You can refer to the linked JSDoc for further details, btw I advise you to read also the README file placed under LS_HOME/DOCS-SDKs/sdk_client_web/examples/StockListDemo/ (look for the "External deployment" section) where LS_HOME is the directory where you unzipped Lightstreamer.zip (or Lightstreamer.tar.gz)

    Please note that some issues can arise with the setting of the domain. You can find those issues (and relative work-around/solutions) in the "Known Browser Issues" section of the forums.

    Hope that helps
    Mone.

 

 

Similar Threads

  1. Replies: 2
    Last Post: August 22nd, 2011, 09:25 AM
  2. Running LS client from file
    By surya in forum Client APIs
    Replies: 6
    Last Post: March 3rd, 2011, 04:35 PM
  3. Replies: 5
    Last Post: August 20th, 2009, 11:38 AM
  4. Replies: 1
    Last Post: July 3rd, 2009, 09:26 AM
  5. Replies: 1
    Last Post: November 5th, 2007, 02:36 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT +1. The time now is 08:09 PM.