NetTalk Central

NetTalk Web Server => Web Server - Ask For Help => Topic started by: Gregg Matteson on March 31, 2008, 04:56:20 PM

Title: App won't run on remote web server
Post by: Gregg Matteson on March 31, 2008, 04:56:20 PM
Using Nettalk 4.30, selfservice,winevent...

App runs perfectly on local machine, upgraded working (4.28) app to 4.30 on server and I can't get the loginpage to come up. error is HTTP 400 Bad request.. . IOW can't find the file.

Service panel on server shows it tries to start but doesn't get to the second line which references all.css etc.
I've spent hours loading and reloading and trying different things,

Where would you expect the problem to be?
ANother app on same server is working fine, (4.28) . I've missed something I know.

Thanks,

Gregg Matteson
Title: Re: App won't run on remote web server
Post by: Bruce on March 31, 2008, 08:28:15 PM
Hi Gregg,

As a guess, the most likely reason is a firewall on the server. Or possibly another program running on that port.

Here's how I'd debug it;

a) compile your app with the "suppress error messages" option unticked. This is on the WebServer extension.

b) run the app as an Exe on the server (not as a service, to start with.)

c) Run a browser _on the server_ and see if it works ok. If it does try running the browser on another machine on the LAN. If ok there, move out onto the WAN (if applicable.)

Cheers
Bruce
Title: Re: App won't run on remote web server
Post by: Gregg Matteson on April 01, 2008, 03:29:32 AM
Bruce,

Following your directions:
1. windows firewall is not running on server
2. Changed the port number to be certain and closed other app.
3. error messages off
4. turned off selfservice and recompiled
5. tried browser on server and doesn't work that way either

still runs fine locally.
deleted login files on server temporarily just in case it was an issue with data (tps)

Other app on server running exe compiled with 4.28 works fine on same server at different port.

Suggestions?

Thank you,

Gregg