Welcome to ISAserver.org

Forums | Register | Login | My Profile | Inbox | RSS RSS icon | My Subscription | My Forums | Address Book | Member List | Search | FAQ | Ticket List | Log Out

MFC causes problem while closing Firebird DB client application

Users viewing this topic: none

Logged in as: Guest
  Printable Version
All Forums >> [ISA 2006 Firewall] >> Firewall Client >> MFC causes problem while closing Firebird DB client application Page: [1]
Login
Message << Older Topic   Newer Topic >>
MFC causes problem while closing Firebird DB client app... - 12.Oct.2007 4:47:20 AM   
iso_walker

 

Posts: 5
Joined: 7.Sep.2007
Status: offline
Server configuration: Windows 2003 Server R2 SP2. ISA Server 2006 Std. IE 7.0
Workstation configuration: Windows XP Pro SP2. IE 7.0. Microsoft Firewall Client 2004
Firebird Database Server 1.5.4 may be installed as on Server as on Workstation.

Please help me solve such a problem:
There are applications that works with Firebird Databases.
The connection to database can be provided by 2 way:
1. Local protocol. The Firebird Server must be on the same machine with client application.
2. TCP/IP protocol (via port 3050 by default). The Firebird Server can be anywhere in the LAN/WAN. User must specify
or server IP-address or NETBIOS name. If Firebird Server is on the same machine with client application,
server name can be also LOCALHOST.

Local protocol works fine.

But TCP/IP protocol brings the problem - after closing client application
its PROCESS still exists during approx. 26 seconds after closong up application. It can be shown by any tool that lists processes, for example Process Explorer by  Mark Russinovich (Sysinternals-Microsoft)
When Microsoft Firewall Client 2004 is uninstalled, there is no problem again.
I've read about Microsoft Firewall Client 2004 configuration
(http://www.microsoft.com/technet/isa/2006/clients.mspx) but I don't really know what settings I should change (Disable, DisableEx seems have no effect)
I have published a test application with description of the test:
http://www.is.svitonline.com/fvk/test.zip
May someone who understands Microsoft Firewall Client 2004 configuration help me to solve the problem.
Post #: 1
RE: MFC causes problem while closing Firebird DB client... - 19.Oct.2007 2:24:19 AM   
iso_walker

 

Posts: 5
Joined: 7.Sep.2007
Status: offline
Some days ago I've discovered a part of this problem.

The most of my Firebird Database applications have this problem, but the only one doesn't. I decided to know why this application, that connects to remote mashine's database closes normally.

I was surprised by the reason:
That application uses HASP copyright protection. So while it runs it can search remote NET HASP key on the server or local HASP HL key.

By default application searchs NET HASP. So when I changed HASP mode to local, this application started to close with abnormal delay too.

Changing to NET HASP returns to normal closing behaviour again.

I've have understood: when there is another then Firebird DB connect network activity in application, Microsoft Firewall Client "let normal closing" for application. In this case "another network activity" is NET HASP connection activity.

Then I have copied the NET HASP seacrhing code to my test application. After adding this code the test application started to close normally.
 
Now I assert: the problem is in Microsoft Firewall Client

Are there any ideas concerning THIS STRANGE BEHAVIOUR of MFC?

(in reply to iso_walker)
Post #: 2

Page:   [1] << Older Topic    Newer Topic >>
All Forums >> [ISA 2006 Firewall] >> Firewall Client >> MFC causes problem while closing Firebird DB client application Page: [1]
Jump to:

New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts