Login  
Search All Forums
Dart Home | PowerTCP Winsock for ActiveX | Custom Development Reply | PowerTCP Winsock for ActiveX Topics | Forums   
AuthorForum: PowerTCP Winsock for ActiveX
Topic: Windows 2008 and Dart TCP Server running under IIS7
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted March 24, 2010 10:56 AM

We have a VB6 Active X DLL that is called by an IIS web application. Inside the DLL is a class that has a method that opens a Dart TCP Server with .LISTEN. This has worked well for a number of years under XP and Win 2003. Now we have migrated to Win 2008 which uses IIS7. Without changing any source code we now get an error as we call the LISTEN method. The error number is 10022 and is "Miscellaneouse error". I see on the forum that this could be related to some socket settings and/or security restrictions that Win 2008 has imposed. We tried passing additional parameters to the LISTEN method to set the binding IP and queue length. We stopped the Windows firewalls. We tried running IIS7 in different secuity contexts. All to no avail. DartSock = v2.8.5.1
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted March 24, 2010 10:57 AM

DartServer = v3.1.3.3
Jason Farrar (Admin)

From: Oneida, NY USA
Posts: 223
Member Since: 07/24/07

Extra Support Options
Custom Application Development

posted March 26, 2010 6:14 PM

The error actually means "An invalid argument was supplied". This error can also be caused by Anti-virus applications running on a server. Do you happen to have any AV applications running?
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted March 27, 2010 10:30 AM

No AV. No firewalls. Only other thing I could think of was if the Dart DLls were not code signed? I suspect its something to do with IIS security on Win 2008. BTW - if we run a plain VB6 EXE on the same server to open the same socket then there are no problems.
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted April 15, 2010 4:52 AM

We have found this:

Windows 7, IIS 7.5: No errors
Windows 2008, IIS 7.5: The error occurs

By deduction the problem appears to be something to do with Windows and not IIS7. I am not sure if this is an incorrect assumtpion but maybe it can help you pinpoint the problem.

We have turned off all AV. We checked the local security policy but could not find anything obvious. Any ideas?
K M Drake



From: Utica, NY USA
Posts: 3406
Member Since: 07/14/00
posted April 16, 2010 1:21 PM

Hi,
Is it possible the Windows 7 machine is 32 bit and the 2008 Server machine is 64 bit?

To use the controls in classic ASP in IIS7, it is necessary to use an ApplicationPool that has 32 bit applications enabled.

-ken
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted April 16, 2010 1:52 PM

The problem occurs under 64 or 32 bit Windows 2008. Under 64 bit we did already have the correct setting on our application pool
BrendanM

From: Durban, South Africa
Posts: 80
Member Since: 07/11/02
posted August 6, 2010 11:11 AM

The new versions of Winsock for ActiveX and Server for ActiveX resolved this issue which can now be closed
Reply | PowerTCP Winsock for ActiveX Topics | Forums   
This site is powered by PowerTCP WebServer Tool PowerTCP WebServer for ActiveX