Board index » delphi » Urgent: Exception raised suddenly

Urgent: Exception raised suddenly

Hi:

    I encounters a serious problem suddenly during running a Delphi Program.
When I run the program, an message

Project Payroll.exe raised exception class EDBEngineError with message
'Directory is controlled by other .NET file.
 Directory : C:\2770\PAYROLL\
 File : C:\PDOXUSRS.LCK. Process stopped. Use Step or Run to Continue'

C:\2770\PAYROLL is the directory for testing and it contains many PARADOX
file.

I don't know what is going wrong. I can sure that this program works well
this morning. Even though I can continue the program, I cannot get the
required information from database.

Is my file being locked or anythings going wrong???? Anybody can suggest any
solution so that I can perform the program again.

Thanks

 

Re:Urgent: Exception raised suddenly


The old .net and .lck problems.  Boy am I glad I don't use Paradox
anymore....  :-)

Whenever you access a Paradox table, the BDE creates lck files and a .net
file in order to ensure that it can keep track of who is doing what with the
tables.   Sometimes due to the manor in which a program closes, these files
may get left on the hard drive.  If so, they will prevent you from entering
the program later.

The easiest method is to do a search for the files and simply delete them
from your hard drive.  They will be recreated upon the next entry of the
tables.

Good luck,

--
Glenn Hancock
SofTek Software Int'l Inc.
www.softeksoftware.com
ghanc...@softeksoftware.com
770-490-7899

Re:Urgent: Exception raised suddenly


Quote
"John Chan" <johnc...@netvigator.com> wrote in message

news:3b611e9a_1@dnews...

Quote
> Hi:

>     I encounters a serious problem suddenly during running a Delphi
Program.
> When I run the program, an message

> Project Payroll.exe raised exception class EDBEngineError with message
> 'Directory is controlled by other .NET file.
>  Directory : C:\2770\PAYROLL\
>  File : C:\PDOXUSRS.LCK. Process stopped. Use Step or Run to Continue'

> C:\2770\PAYROLL is the directory for testing and it contains many PARADOX
> file.

All BDE programs that access the same tables must have their settings point
to the same location for the lock file. It seems maybe someone else loaded
something on their machine to change the location they are pointing to.
Check the BDE settings for anyone using the program.

Woody

Re:Urgent: Exception raised suddenly


You need to configure the BDE as described in
http://community.borland.com/article/0,1410,15247,00.html on _every_ PC.

--
Bill
(TeamB cannot answer questions received via email)

Other Threads