Icon View Thread

The following is the text of the current message along with any replies.
Messages 1 to 10 of 14 total
Thread Strange behaviour of Local Web Server
Thu, Jun 19 2014 12:42 PMPermanent Link

Doc

EWB has always worked on my Windows 8.0 64bit system. All of a sudden I get a strage behavior:
Running an application I only get a blank screen (using the Local Web Server).
If I click on "Stop the selected Weg Server" I can run the application.
If I uncheck "Automatically start when Elevate Web Builder starts" at Environment Options - Web Servers - Local Web Server and click on Register I also can run my applications after starting EWB.
I tried to uninstall an reinstall EWB with no change.
What's going wrong ?
Thu, Jun 19 2014 3:18 PMPermanent Link

Raul

Team Elevate Team Elevate

On 6/19/2014 12:42 PM, Doc wrote:
> Running an application I only get a blank screen (using the Local Web Server).
> If I click on "Stop the selected Weg Server" I can run the application.
In this case it's being served direct from file system so web server
does not come into play.

> If I uncheck "Automatically start when Elevate Web Builder starts" at Environment Options - Web Servers - Local Web Server and click on Register I also can run my applications after starting EWB.
> I tried to uninstall an reinstall EWB with no change.
> What's going wrong ?

If you start the EWB local web server do you see any errors in the
messages window ?

Normally you should just see something like this "[Local Web Server]
Started listening on port XX".

What about when you start browser and navigate to "http://localhost:XX
(where XX is whatever port you local web server is listening on)? What
do you see ?

My guess is that you have something else that is using the same port so
Local Web Server fails to start. Alternate guess is AV/firewall
interfering.

Either try changing local web Server port or use a tool like netstat or
TCPView (http://technet.microsoft.com/en-ca/sysinternals/bb897437.aspx)
to verify that EWB Local server is actually listening on the port.

Raul
Fri, Jun 20 2014 2:35 AMPermanent Link

Doc

Raul wrote:
If you start the EWB local web server do you see any errors in the
messages window ?

Normally you should just see something like this "[Local Web Server]
Started listening on port XX".

****** Yes, I see Local Web Server] Started listening on port 80".

What about when you start browser and navigate to "http://localhost:XX
(where XX is whatever port you local web server is listening on)? What
do you see ?

***** I see: Resource / not found

My guess is that you have something else that is using the same port so
Local Web Server fails to start. Alternate guess is AV/firewall
interfering.

Either try changing local web Server port or use a tool like netstat or
TCPView (http://technet.microsoft.com/en-ca/sysinternals/bb897437.aspx)
to verify that EWB Local server is actually listening on the port.

***** I see: ewbide.exe 4348 TCP MyPC http MyPC 0 LISTENING                  

Raul

***** Thank you, Raul
Fri, Jun 20 2014 2:57 AMPermanent Link

Doc

In addition:
If I open http:/localhost/MyApplication.html in my Browser, I can see my Application, but within EWP it shows this URL on top, bun only a blank screen
Fri, Jun 20 2014 4:24 AMPermanent Link

Matthew Jones

Doc wrote:

> Running an application I only get a blank screen (using the Local Web
> Server).  

So it runs, but you don't get your application working.

> If I click on "Stop the selected Weg Server" I can run the
> application.

How can this be? This seems very odd to me. With the other info, either
EWB is running as a server, or it is not. Is the project set to work
from another port or something?

I think I'd start a new project, and add a single edit box. Then run
that. If it works, it's something about your project. Otherwise it is
the EWB IDE.

I wonder if there are two instances of the IDE running?


--

Matthew Jones
Fri, Jun 20 2014 9:15 AMPermanent Link

Raul

Team Elevate Team Elevate

On 6/20/2014 2:57 AM, Doc wrote:
> In addition:
> If I open http:/localhost/MyApplication.html in my Browser, I can see my Application, but within EWP it shows this URL on top, bun only a blank screen
>

Everything as per this and previous posting looks normal and as
expected. EWB Local web server is running on right port and even serving
the project up as per browser test.

EWB does use IE as embedded browser so for your stand-alone test did you
also use IE or something else (wonder if it's IE issue).

I'd try Matthew's suggestion on doing a new basic project.

Do you have any other web servers registered in EWB?

Raul
Fri, Jun 20 2014 11:39 AMPermanent Link

Matthew Jones

Raul wrote:

> (wonder if it's IE issue).

In particular, look for things that stop scripts running, or that
inject scripts or CSS. I have something in Chrome that injects a header
into pages - I forget what it is, but it caused trouble at one time but
EWB was modified to ignore it.


--

Matthew Jones
Fri, Jun 20 2014 11:40 AMPermanent Link

Matthew Jones

Matthew Jones wrote:

> EWB was modified to ignore it.

I should say, modified to not be troubled by strange HTML - it wasn't a
specific change for this add-in.

--

Matthew Jones
Fri, Jun 20 2014 5:15 PMPermanent Link

Doc

I did what you suggested.
I created a new Project with just a blank form, called it test.
Same behavior. With Local Web Server on I see a blank screen with title http:/localhost/test.html
I can see the form using this URL (http:/localhost/test.html) from Internet Explorer, Firefox and Chrome.
With Local Web Server switched off I can run this application and see the form and the title shows: C:\Users\..\..\output\test.html

So it must be a problem of EWB using the Local Web Server.
Sat, Jun 21 2014 5:53 AMPermanent Link

Matthew Jones

<Doc> wrote:
> I did what you suggested.
> I created a new Project with just a blank form, called it test.
> Same behavior. With Local Web Server on I see a blank screen with title
> http:/localhost/test.html
> I can see the form using this URL (http:/localhost/test.html) from
> Internet Explorer, Firefox and Chrome.
> With Local Web Server switched off I can run this application and see the
> form and the title shows: C:\Users\..\..\output\test.html
>
> So it must be a problem of EWB using the Local Web Server.

How can you possibly see it if EWB is not running? Close the IDE and see if
you can see it from Chrome. If so, then there is another server running.

--
Matthew Jones
Page 1 of 2Next Page »
Jump to Page:  1 2
Image