|
| Interbase and Vista |
 |
4 Mar 2008 22:35:45 -0700 |
Did I hear/read wrong...I thought I read posts stating that IB2007
would be able to connect to a database using direct I/O...eg, no host
name. But I am not able to connect in this manner.
--
|
| Post Reply
|
| Re: Interbase and Vista |
 |
5 Mar 2008 05:38:21 -0700 |
Bob wrote:
> Did I hear/read wrong...I thought I read posts stating that IB2007
> would be able to connect to a database using direct I/O...eg, no host
> name.
It can, although your description is a bit misleading. IB uses memory
mapped files for the client to communicate with the server in this case.
> But I am not able to connect in this manner.
There are cases where it won't work, like when using fast user
switching or other terminal services, and in Vista in some cases,
particularly with the initial release of 2007, rather than the latest
service pack. If you want help, you need to comprehensively describe
what you're doing and the symptoms you're seeing.
--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
IB 6 versions prior to 6.0.1.6 are pre-release and may corrupt
|
| Post Reply
|
| Re: Interbase and Vista |
 |
Wed, 5 Mar 2008 10:54:21 -0800 |
"Craig Stuntz [TeamB]" <craig_stuntz@nospam.please [a.k.a.
acm.org]> wrote
in message news:47cea24d$1@newsgroups.borland.com...
> Bob wrote:
>
>> Did I hear/read wrong...I thought I read posts stating that IB2007
>> would be able to connect to a database using direct I/O...eg, no host
>> name.
>
> It can, although your description is a bit misleading. IB uses memory
> mapped files for the client to communicate with the server in this case.
>
>> But I am not able to connect in this manner.
>
> There are cases where it won't work, like when using fast user
> switching or other terminal services, and in Vista in some cases,
> particularly with the initial release of 2007, rather than the latest
> service pack. If you want help, you need to comprehensively describe
> what you're doing and the symptoms you're seeing.
I noticed that the local connection method did change in the latest IB 2007
service pack. My old trick of detecting a local interbase connection using
FindWindow() no longer works. Is there another method we can use to detect
if Interbase is running locally now?
Thanks,
Dan
|
| Post Reply
|
| Re: Interbase and Vista |
 |
5 Mar 2008 10:58:43 -0700 |
dan palley wrote:
> My old trick of detecting a local interbase connection using
> FindWindow() no longer works. Is there another method we can use to
> detect if Interbase is running locally now?
Try to connect to it via the services API.
--
Craig Stuntz [TeamB] · Vertex Systems Corp. · Columbus, OH
Delphi/InterBase Weblog : http://blogs.teamb.com/craigstuntz
Borland newsgroup denizen Sergio González has a new CD of
|
| Post Reply
|
| Re: Interbase and Vista |
 |
6 Mar 2008 09:10:59 -0700 |
Craig Stuntz [TeamB] wrote:
> It can, although your description is a bit misleading.
Yes, I agree. I wasnt entirely sure which term to use. I just knew IB
used two different modes when connecting via TCP and just connecting
using the database name (mem-mapped files)
> you need to comprehensively describe
> what you're doing and the symptoms you're seeing.
I am using IBv8.0.0.38. I am trying to connect to a database via the
local server (ie, no server name, just specifying a database path).
I was testing this using IBExpert. Local Server, Database name
"E:\MyDB.IB" The error it is giving me is "Unsuccessful
execution
caused by an unavailable resource.
unavailable database." If I connect using "localHost:E:\MyDB.IB"
it
works fine.
The reason I am asking, is that I thought at one point this worked.
But now it doesn't. So I was questioning my memory as to if this type
of connection was supported. If it is, then perhaps something has
changed in my environment (as you suggested) to prevent it. I have
recently installed VistaSP1.
--
|
| Post Reply
|
|
|
|
|
|
|
|
|
|