Date:  09/17/2012 03:34:40 PM Msg ID:  004517
From:  Karsten Lamprecht Thread:  004511
Subject:  Re: Cannot access show_channels
I use Foxweb on 2003 RC2 32Bit, on 2008 64 Bit and on 2008 RC2 64Bit. On every server there is a handler for the *.fwx, nothing else. On every server "Allow 32Bit-Apps is false", but not on the 2008 RC2. In my application I do not use script-mapping, except for the error-handler-message and for your fwadmin-tool and all my scripts are called by an foxweb.exe/scripts-url. The idea switching False to True in the defaultAppPool I got in a PHP-Forum. There they had a similar problem with the cgi-module in IIS.
I would like to understand why on one Win2008-64Bit-Server the switch can be set on False, which is default, and on another it must be set to True.
Sent by FoxWeb Support on 09/17/2012 02:38:42 PM:
Are all servers running Windows 2008 64-bit RC2?  Are you using foxweb.dll in all cases?
FoxWeb Support Team
support@foxweb.com email
Sent by Karsten Lamprecht on 09/16/2012 04:34:30 PM:
Now I switched in DefaultAppPool "Allow 32Bit-Apps" to True. Then the following URL runs:
 
http://81.20.82.126:80/scripts/foxweb.dll/show_channels.fwx 
  
On any other 64Bit-Win2008-Server managed by me the above switch is False and show_channels is running. Crazy, isn't it?
 
Sent by FoxWeb Support on 09/12/2012 06:55:45 PM:
Even though the .fwx extension is mapped to foxweb.dll, all calls that rely on script mapping fail -- possibly because the dll was not included in the ISAPI and CGI Restrictions section of the IIS configuration. For the same reason, I also can't reference foxweb.dll directly.
 
The two modules return HTTP headers differently, so it's possible that if you can get the dll to work, it will probably not have the same header issue. 
FoxWeb Support Team
support@foxweb.com email
Sent by Karsten Lamprecht on 09/12/2012 04:31:18 PM:
I use the first option. On another win2008 (but not RC2!) it runs. Configuration is the same. *.fwx on both servers is mapped to foxweb.dll
 
This URL is running:
http://81.20.82.126/scripts/doitweb.exe/fwErrorLog.fwx?AdminScriptName=fwadmin.fwx
 
This isn't running:
http://81.20.82.126:80/scripts/doitweb.exe/show_channels.fwx 
 
Sent by FoxWeb Support on 09/12/2012 03:38:47 PM:
There is a known compatibility issue when running show_channels on Windows 2008.
 
Are you using foxweb.exe, or foxweb.dll?
 
http://servername/scripts/foxweb.exe/show_channels.fwx 
http://servername/scripts/foxweb.dll/show_channels.fwx 
http://servername/show_channels.fwx 

If you are using script-mapped URLs, like the 3rd option (recommended), then you will need to look in your server's Handler Mappings to find out which of the two modules the .fwx extension is mapped to.
FoxWeb Support Team
support@foxweb.com email
Sent by Karsten Lamprecht on 09/12/2012 12:43:09 PM:
Dear Support,
 
I can access the web-frontend for the administration of foxweb. Every menu-item runs but not Channel status. The IIS returns the following error message (in English: there is no complete HTTP-Header) and you see the whole html-code of the expected site. Any ideas what can help? The server is a win2008 RC2. 
 
Best regards, Karsten 
 


HTTP-Fehler 502.2 - Bad Gateway

Die angegebene CGI-Anwendung hat keinen vollständigen Satz von HTTP-Headern zurückgegeben. Die zurückgegebenen Header sind "<html><head> <title>FoxWeb Channel Status</title> <style type="text/css"> <!-- body,td,th,p {font-family: Verdana, Arial, Helvetica, sans-serif;font-size: 8pt;} strong {font-size: 12pt;font-weight: bold;} table {empty-cells: show;} td, th {background-color: #bddfd8; padding: 1px,2px,1px,2px;} th {align: left;} //--> </style> </head> <body onLoad="timerid=setTimeout('window.location.reload(true);',5000);"> <strong>FoxWeb Channel Status</strong><br><br> 09/02/12 16:55:09<br> <table border=0 cellpadding=1 cellspacing=1> <tr><th>Channel</th><th>Server</th><th>Status</th><th>Connections</th><th>Last Script Time</th><th>Last Script</th></tr> <tr><td align="right"><fw_Channel>1</fw_Channel></td><td><fw_Server>Local<fw_Server></td><td><fw_Status>Waiting</fw_Status></td><td align="right"><fw_Connections>0</fw_Connections></td><td align="right"><fw_LastScriptTime>09/02/12 16:54:54</fw_LastScriptTime></td><td><fw_LastScript>/show_channels.fxw</fw_LastScript></td></tr> <tr><td align="right"><fw_Channel>2</fw_Channel></td><td><fw_Server>Local<fw_Server></td><td><fw_Status>Waiting</fw_Status></td><td align="right"><fw_Connections>0</fw_Connections></td><td align="right"><fw_LastScriptTime>09/02/12 16:48:15</fw_LastScriptTime></td><td><fw_LastScript>/fwErrorLog.fwx</fw_LastScript></td></tr> </table> <fw_Pending>0</fw_Pending> Pending Requests </body></html> ".


Ausführliche Fehlerinformationen



Modul

CgiModule



Benachrichtigung

ExecuteRequestHandler



Handler

CGI-exe



Fehlercode

0x00000000





Angeforderte URL

http://81.20.82.126:80/scripts/doitweb.exe/show_channels.fwx



Physikalischer Pfad

C:\Program Files (x86)\FoxWeb\CGI\doitweb.exe\show_channels.fwx



Anmeldemethode

Anonym



Angemeldeter Benutzer

Anonym