 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Mines Guest
|
Posted: Thu Apr 05, 2007 8:11 am Post subject: Table index corruption |
|
|
I have two applications accessing the same BDE database directory on a
server.
One application is running from a client station, the other is running from
the same server where the database resides. Both client machine and server
have their BDE NetDir configuration pointing to the same directory or
network path on the server.
Everytime the server app tries to modify a record on an specific table, if
the client running the other app is currently modifying the same record, the
BDE does not warn with a "record is locked" message, instead, the table
index gets corrupted.
How can I enforce record locking between the two applications on the same
database without corrupting the table index?
Any comments are greatly appreciated.
+Mines |
|
| Back to top |
|
 |
Steven Green Guest
|
Posted: Thu Apr 05, 2007 3:53 pm Post subject: Re: Table index corruption |
|
|
| Quote: | Both client machine and server have their BDE NetDir configuration
pointing to the same directory or
network path on the server. |
all stations, including the "server" station, MUST point to all data and to
the net folder using the EXACT same mapping..
--
Steven Green - Waldorf Maryland USA
Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales
Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards
"Mines" <mbolanos (AT) wnfl (DOT) com> wrote in message
news:46147796 (AT) newsgroups (DOT) borland.com...
| Quote: | I have two applications accessing the same BDE database directory on a
server.
One application is running from a client station, the other is running
from
the same server where the database resides. Both client machine and server
have their BDE NetDir configuration pointing to the same directory or
network path on the server.
Everytime the server app tries to modify a record on an specific table, if
the client running the other app is currently modifying the same record,
the
BDE does not warn with a "record is locked" message, instead, the table
index gets corrupted.
How can I enforce record locking between the two applications on the same
database without corrupting the table index?
Any comments are greatly appreciated.
+Mines
|
|
|
| Back to top |
|
 |
Mines Guest
|
Posted: Thu Apr 05, 2007 6:06 pm Post subject: Re: Table index corruption |
|
|
I know how to make all stations and server point to the same netdir. How can
I make them point to the same data? I am assuming by data, that you are
making reference to the directory where the lck file are created by the
client app that is run along with the database directory. How can I make the
server app point to the same directory if the app is running as a service? I
hope this makes sense.
Thanks
+Mines
"Steven Green" <greens (AT) diamondsg (DOT) com> wrote in message
news:4614d544$1 (AT) newsgroups (DOT) borland.com...
| Quote: | Both client machine and server have their BDE NetDir configuration
pointing to the same directory or
network path on the server.
all stations, including the "server" station, MUST point to all data and
to
the net folder using the EXACT same mapping..
--
Steven Green - Waldorf Maryland USA
Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales
Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards
"Mines" <mbolanos (AT) wnfl (DOT) com> wrote in message
news:46147796 (AT) newsgroups (DOT) borland.com...
I have two applications accessing the same BDE database directory on a
server.
One application is running from a client station, the other is running
from
the same server where the database resides. Both client machine and
server
have their BDE NetDir configuration pointing to the same directory or
network path on the server.
Everytime the server app tries to modify a record on an specific table,
if
the client running the other app is currently modifying the same record,
the
BDE does not warn with a "record is locked" message, instead, the table
index gets corrupted.
How can I enforce record locking between the two applications on the
same
database without corrupting the table index?
Any comments are greatly appreciated.
+Mines
|
|
|
| Back to top |
|
 |
Steven Green Guest
|
Posted: Thu Apr 05, 2007 6:11 pm Post subject: Re: Table index corruption |
|
|
| Quote: | I understand how to make both point to the same net folder.
|
it's not just "same folder".. it's EXACT SAME MAPPING.. when one session is
working locally, that often isn't the case..
if the remotes are mapped to h: for c:\myapp\netfile, then the local one
must be the same.. NOT pointing directly to c:\myapp\netfile.. same thing
applies to the data itself..
depending on the OS, you most likely need to use NET USE or SUBST to deal
with this..
of course, the theory of "don't use the server as a workstation" comes to
mind, too (g)
--
Steven Green - Waldorf Maryland USA
Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales
Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards
"Mines" <mbolanos (AT) wnfl (DOT) com> wrote in message
news:4614f2a1$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I know how to make all stations and server point to the same netdir. How
can
I make them point to the same data? I am assuming by data, that you are
making reference to the directory where the lck file are created by the
client app that is run along with the database directory. How can I make
the
server app point to the same directory if the app is running as a service?
I
hope this makes sense.
Thanks
+Mines
"Steven Green" <greens (AT) diamondsg (DOT) com> wrote in message
news:4614d544$1 (AT) newsgroups (DOT) borland.com...
Both client machine and server have their BDE NetDir configuration
pointing to the same directory or
network path on the server.
all stations, including the "server" station, MUST point to all data and
to
the net folder using the EXACT same mapping..
--
Steven Green - Waldorf Maryland USA
Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales
Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards
"Mines" <mbolanos (AT) wnfl (DOT) com> wrote in message
news:46147796 (AT) newsgroups (DOT) borland.com...
I have two applications accessing the same BDE database directory on a
server.
One application is running from a client station, the other is running
from
the same server where the database resides. Both client machine and
server
have their BDE NetDir configuration pointing to the same directory or
network path on the server.
Everytime the server app tries to modify a record on an specific table,
if
the client running the other app is currently modifying the same
record,
the
BDE does not warn with a "record is locked" message, instead, the table
index gets corrupted.
How can I enforce record locking between the two applications on the
same
database without corrupting the table index?
Any comments are greatly appreciated.
+Mines
|
|
|
| Back to top |
|
 |
Mines Guest
|
Posted: Thu Apr 05, 2007 7:31 pm Post subject: Re: Table index corruption |
|
|
Regarding the NetDir I know exactly what you are saying. I'm not using a
local netdir. I mapped the netdir to a shared folder on the server. All
clients, including the server are pointing the same network path.
What I still don't understand is how can I make both apps point to the same
network database path where they both share the same tables so I can enforce
record locking without causing index corruption?
Thanks
+Mines
"Steven Green" <greens (AT) diamondsg (DOT) com> wrote in message
news:4614f586$1 (AT) newsgroups (DOT) borland.com...
| Quote: | I understand how to make both point to the same net folder.
it's not just "same folder".. it's EXACT SAME MAPPING.. when one session
is working locally, that often isn't the case..
if the remotes are mapped to h: for c:\myapp\netfile, then the local one
must be the same.. NOT pointing directly to c:\myapp\netfile.. same thing
applies to the data itself..
depending on the OS, you most likely need to use NET USE or SUBST to deal
with this..
of course, the theory of "don't use the server as a workstation" comes to
mind, too (g)
--
Steven Green - Waldorf Maryland USA
Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales
Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards
"Mines" <mbolanos (AT) wnfl (DOT) com> wrote in message
news:4614f2a1$1 (AT) newsgroups (DOT) borland.com...
I know how to make all stations and server point to the same netdir. How
can
I make them point to the same data? I am assuming by data, that you are
making reference to the directory where the lck file are created by the
client app that is run along with the database directory. How can I make
the
server app point to the same directory if the app is running as a
service? I
hope this makes sense.
Thanks
+Mines
"Steven Green" <greens (AT) diamondsg (DOT) com> wrote in message
news:4614d544$1 (AT) newsgroups (DOT) borland.com...
Both client machine and server have their BDE NetDir configuration
pointing to the same directory or
network path on the server.
all stations, including the "server" station, MUST point to all data and
to
the net folder using the EXACT same mapping..
--
Steven Green - Waldorf Maryland USA
Diamond Software Group
http://www.diamondsg.com/main.htm
Paradox Support & Sales
Diamond Sports Gems
http://www.diamondsg.com/gemsmain.htm
Sports Memorabilia and Trading Cards
"Mines" <mbolanos (AT) wnfl (DOT) com> wrote in message
news:46147796 (AT) newsgroups (DOT) borland.com...
I have two applications accessing the same BDE database directory on a
server.
One application is running from a client station, the other is running
from
the same server where the database resides. Both client machine and
server
have their BDE NetDir configuration pointing to the same directory or
network path on the server.
Everytime the server app tries to modify a record on an specific
table,
if
the client running the other app is currently modifying the same
record,
the
BDE does not warn with a "record is locked" message, instead, the
table
index gets corrupted.
How can I enforce record locking between the two applications on the
same
database without corrupting the table index?
Any comments are greatly appreciated.
+Mines
|
|
|
| Back to top |
|
 |
Bill Todd Guest
|
Posted: Thu Apr 05, 2007 8:40 pm Post subject: Re: Table index corruption |
|
|
Make sure that Local Share is set to true in the BDE Administrator
under the System | Init node. Local share must be set to true on both
the server and the workstation.
Make sure you are using exactly the same path for the NetDir and the
data. The easiest way to do that is to use a UNC path.
My guess is that you do not have Local Share on.
--
Bill Todd (TeamB) |
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|