Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error running EXE
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00186778
Message ID:
00187143
Views:
20
>Darrell,
>
>>I just upgraded to MM Framework 4.1. When I build an EXE and run it, I get "Error loading the data enviornment. Table is in use." I do not get this error when running DO MAIN. I did not get the error when running an EXE before upgrading to 4.1. The error occurs before the login/password form fires. If I ignore the error, the EXE continues to the login/password form and all seems to work fine. I do not have VFP running in another window and I do not have any tables open.>
>
>I'm not sure why you're getting this error, but the only tables/views opened by the Framework before the login / password appears are:
>
>1. Classes.dbf (free table opened by the Abstract Factory in CApplication.Init()
>2. ErrorLog.dbf (free table opend by the Error Manager in CApplication.Init()
>3. v_UserLogin (view opened by the login form itself)
>
>You may want to set some breakpoints and step through the code to see what's really happening.
>
>Regards,

Kevin,

The message I get is: "Error loading the data enviornment. Table is in use." If click ignore, I get: "File access is denied". If I click ignore again everything runs fine. I've tried putting the classes.dbf, Metadbc.dbf and the errorlog.dbf in the start directory, but to no avail.

The "File access is denied" message disappeared once I put a copy of the foxuser.dbf in the start directory.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform