-
February 5th, 2007, 02:37 PM
#1
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.
-
February 5th, 2007, 06:32 PM
#2
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
-
By PraveenN in forum Client SDKs
Replies: 2
Last Post: August 22nd, 2011, 08:25 AM
-
By surya in forum Client SDKs
Replies: 6
Last Post: March 3rd, 2011, 03:35 PM
-
By thanie2001 in forum Client SDKs
Replies: 5
Last Post: August 20th, 2009, 10:38 AM
-
By craigtype3 in forum General
Replies: 1
Last Post: July 3rd, 2009, 08:26 AM
-
By gerald.logor in forum Client SDKs
Replies: 1
Last Post: November 5th, 2007, 01:36 PM
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 01:30 PM.
Bookmarks