Author | Topic: Win Server 2003 Help | |
---|---|---|
Win Server 2003 Help on Tue, 21 Sep 2004 20:39:36 +0200 Is there any clue to let a XBase++ HTTP Server application running on a Win Server 2003 machine? The application is able to open port 80 returning a correct socket handle, bind and listening but does not succed into "Accepting" (Accept()) requests from the created socket. The Socket LastError() value received is zero :O(( The application does work on Win ME, Win2K pro, Win XP (Home & Pro), Win Server 2000. Do I have to set anything on Win Server 2003? Any help will be really appreciated. Lorenzo | ||
Sander Elias | Re: Win Server 2003 Help on Wed, 22 Sep 2004 09:36:19 +0200 Hi, I'm running an xb2.net http server on a windows 2003 server. no problems at all. Check the firewall settings, I think I changed them somehow. regards Sander Elias | |
Re: Win Server 2003 Help on Wed, 22 Sep 2004 16:51:31 +0200 Unfortunatelly the firewall is not installed. Thank a lot anyway "Sander Elias" <Sander@eso.nl> ha scritto nel messaggio news:4pa2l0lmoktquana8ge9spjt2q68i492lc@4ax.com... > Hi, > I'm running an xb2.net http server on a windows 2003 server. no > problems at all. Check the firewall settings, I think I changed them > somehow. > > regards > Sander Elias | ||
Phil Ide | Re: Win Server 2003 Help on Wed, 22 Sep 2004 11:18:31 +0100 Lorenzo, > Is there any clue to let a XBase++ HTTP Server application running on a Win > Server 2003 machine? > The application is able to open port 80 returning a correct socket handle, > bind and listening but does not succed into "Accepting" (Accept()) requests > from the created socket. The Socket LastError() value received is zero :O(( > The application does work on Win ME, Win2K pro, Win XP (Home & Pro), Win > Server 2000. > Do I have to set anything on Win Server 2003? > Any help will be really appreciated. Does the application have the correct rights? I run my SOAP servers on W2K3 and these run as services without problem (as Local System account). Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** I'm not an actor, I just play one on TV. | |
Re: Win Server 2003 Help on Wed, 22 Sep 2004 16:54:35 +0200 Phil, thanks, but my app too is correctly installed as service. Do you use AsInet? I'm using my c-wrapper functions (to WinSock32) with success since 4 years in all win platforms (Server 2000 included), but there no way to let it works on server 2003. Thanks a lot Lorenzo "Phil Ide" <phil@idep.org.uk> ha scritto nel messaggio news:c1k1lv1kxmxg.dlg@idep.org.uk... > Lorenzo, > >> Is there any clue to let a XBase++ HTTP Server application running on a >> Win >> Server 2003 machine? >> The application is able to open port 80 returning a correct socket >> handle, >> bind and listening but does not succed into "Accepting" (Accept()) >> requests >> from the created socket. The Socket LastError() value received is zero >> :O(( >> The application does work on Win ME, Win2K pro, Win XP (Home & Pro), Win >> Server 2000. >> Do I have to set anything on Win Server 2003? >> Any help will be really appreciated. > > Does the application have the correct rights? I run my SOAP servers on > W2K3 and these run as services without problem (as Local System account). > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > I'm not an actor, I just play one on TV. | ||
Phil Ide | Re: Win Server 2003 Help on Thu, 23 Sep 2004 10:26:38 +0100 Lorenzo, > thanks, but my app too is correctly installed as service. > Do you use AsInet? > I'm using my c-wrapper functions (to WinSock32) with success since 4 years > in all win platforms (Server 2000 included), but there no way to let it > works on server 2003. I do use ASINET, but the SOAP servers use Xb2.NET (hmmm, I'm using 5 different sockets libraries in different apps - I really must normalise this!). I just ran some other apps which use sockets on the W2K3 server just to see if there were any problems: ASINET - no problems SEE4XB - no problems XXP_INET - no problems I also ran an app which uses my own C lib for socket comms without probs. So that's all 5 libs without errors. Have you tried running your app as a non-service? You can do this easily by running it under the debugger, or if you used my ServiceConsole framework, just use the /c command-line parameter. This may help identify the problem. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** This message was typed on recycled phosphorus | |
Re: Win Server 2003 Help on Thu, 23 Sep 2004 19:42:44 +0200 | ||
Re: Win Server 2003 Help on Fri, 24 Sep 2004 15:34:25 +0200 Hello everybody I found by myself the error Sometimes, at startup, the accept() returns a negative number but getLastError() returns 0. In such situation I exited from the main loop and quitted my proc. Just ignoring this situation, everithing seems to be ok. On the other side, it will be interesting investigating why 2003 Server has a different behaviour from other MS products. Anyway, thanks againg everybody Lorenzo Gadaleta PS.: I do not use your socket because I need of SLL layer for my apps .... (all them are http and https servers) "Phil Ide" <phil@idep.org.uk> ha scritto nel messaggio news:r1mhb32d55wu$.dlg@idep.org.uk... > Lorenzo, > >> thanks, but my app too is correctly installed as service. >> Do you use AsInet? >> I'm using my c-wrapper functions (to WinSock32) with success since 4 >> years >> in all win platforms (Server 2000 included), but there no way to let it >> works on server 2003. > > I do use ASINET, but the SOAP servers use Xb2.NET (hmmm, I'm using 5 > different sockets libraries in different apps - I really must normalise > this!). I just ran some other apps which use sockets on the W2K3 server > just to see if there were any problems: > > ASINET - no problems > SEE4XB - no problems > XXP_INET - no problems > > I also ran an app which uses my own C lib for socket comms without probs. > So that's all 5 libs without errors. > > Have you tried running your app as a non-service? You can do this easily > by running it under the debugger, or if you used my ServiceConsole > framework, just use the /c command-line parameter. This may help identify > the problem. > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > This message was typed on recycled phosphorus | ||
Phil Ide | Re: Win Server 2003 Help on Fri, 24 Sep 2004 14:54:21 +0100 Lorenzo, > On the other side, it will be interesting investigating why 2003 Server has > a different behaviour from other MS products. I thought at first it be a 64-bit value, but checking the windows header files it is a UINT_PRT (which is a DWORD). It could be that ASINET is returning a signed int instead of an unsigned it. You could report this as a bug and see what happens. Regards, Phil Ide *************************************** * Xbase++ FAQ, Libraries and Sources: * * goto: http://www.idep.org.uk/xbase * *************************************** Life is boring without EDLIN | |
Re: Win Server 2003 Help on Fri, 24 Sep 2004 17:51:55 +0200 Good point. Thanx a lot "Phil Ide" <phil@idep.org.uk> ha scritto nel messaggio news:1qr8pbs7jpyhz$.dlg@idep.org.uk... > Lorenzo, > >> On the other side, it will be interesting investigating why 2003 Server >> has >> a different behaviour from other MS products. > > I thought at first it be a 64-bit value, but checking the windows header > files it is a UINT_PRT (which is a DWORD). It could be that ASINET is > returning a signed int instead of an unsigned it. You could report this > as > a bug and see what happens. > > Regards, > -- > Phil Ide > > *************************************** > * Xbase++ FAQ, Libraries and Sources: * > * goto: http://www.idep.org.uk/xbase * > *************************************** > > Life is boring without EDLIN | ||
Ana Maria | Re: Win Server 2003 Help on Tue, 25 Oct 2005 12:04:54 -0500 Hi, I am using SMTPCliente() to send mails via ASINET, and it works great under windows 2000. I installed it under windows 2003 server, and it doesnt work anymore. Is there anyting special I need to do so that it can work on windows 2003 server? Thanks, -Ana Maria --------------------------------------------------------------------- "Are you still wasting your time with spam?... There is a solution!" Protected by GIANT Company's Spam Inspector The most powerful anti-spam software available. http://mail.spaminspector.com <lorega@inwind.it> escribi en el mensaje news:Q0J4QpAoEHA.6512@S15147418... > Is there any clue to let a XBase++ HTTP Server application running on a Win > Server 2003 machine? > The application is able to open port 80 returning a correct socket handle, > bind and listening but does not succed into "Accepting" (Accept()) requests > from the created socket. The Socket LastError() value received is zero :O(( > The application does work on Win ME, Win2K pro, Win XP (Home & Pro), Win > Server 2000. > Do I have to set anything on Win Server 2003? > Any help will be really appreciated. > > Lorenzo > > | |
James Loughner | Re: Win Server 2003 Help on Tue, 25 Oct 2005 16:35:30 -0400 What version of Xbase++?? and Could it be that the Windows Firewall is blocking the app?? Jim Ana Maria wrote: > Hi, > > I am using SMTPCliente() to send mails via ASINET, and it works great under > windows 2000. I installed > it under windows 2003 server, and it doesn´t work anymore. Is there anyting > special I need to do so that > it can work on windows 2003 server? Thanks, -Ana Maria > |