Subject Re: [IBO] Dealing with Firewall / connection issues
Author Robert martin
Hi

Just wanted to apologies to IBObjects !

Traced the problem to the customised message dialog that was displaying
the error message. It was been shown before the applications mainform
was created but used it. Not a good thing to do !

p.s. did get my TCP/IP firewall test code working nicely but no need to
use it as IBODatabase deals with it fine :)

Cheers
Rob



On 17/03/2011 11:51, Robert martin wrote:
> Hi
>
> I know the port needs to be opened but I am trying to get my application
> to fail gracefully when they have not yet done so. I am going to
> attempt a TCP/IP connection to FB before connecting with IBODatabase to
> check for firewall presence as I can handle the exception there.
>
> Thanks
> Rob
>
>
> On 17/03/2011 11:36, Helen Borrie wrote:
>> At 10:19 AM 17/03/2011, you wrote:
>>> Hi
>>>
>>> When we try to connect to a FB database using a TIBODatabase (v. 4.8.7)
>>> where a Firewall is blocking connection the component raises an
>>> exception (after a long pause). In Delphi I have trapped the exception
>>> and displayed an appropriated error message. However the error seems to
>>> propagate through my application in that the exception seems to 'break
>>> through' the exception handling and trigger a second exception handler.
>>> I have dealt with this and close my application after this but get
>>> access violations.
>>>
>>> I think something in the TIBODatabase component is seriously breaking.
>>> is there anything I can do? I am currently investigating testing for a
>>> firewall before attempting connection as an alternative.
>> Hard to tell what you're asking IBO to do here. If you don't open the Firebird service port in the firewall, what do you expect a user-space application to do? Eating the first TCP blockage error doesn't solve it - at best it just passes the same problem (Connection refused) to the next handler.
>>
>> Helen
>>
>>
>>
>> ------------------------------------
>>
>> ___________________________________________________________________________
>> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
>> without the need for BDE, ODBC or any other layer.
>> ___________________________________________________________________________
>> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
>> keyword-searchable FAQ, community code contributions and more ! Yahoo! Groups Links
>>
>>
>>
>>
>>
>> -----
>> No virus found in this message.
>> Checked by AVG - www.avg.com
>> Version: 10.0.1204 / Virus Database: 1498/3510 - Release Date: 03/16/11
>>
>>
>
> ------------------------------------
>
> ___________________________________________________________________________
> IB Objects - direct, complete, custom connectivity to Firebird or InterBase
> without the need for BDE, ODBC or any other layer.
> ___________________________________________________________________________
> http://www.ibobjects.com - your IBO community resource for Tech Info papers,
> keyword-searchable FAQ, community code contributions and more ! Yahoo! Groups Links
>
>
>
>
>
> -----
> No virus found in this message.
> Checked by AVG - www.avg.com
> Version: 10.0.1204 / Virus Database: 1498/3510 - Release Date: 03/16/11
>
>