Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Error loading the data environment
Message
General information
Forum:
Visual FoxPro
Category:
The Mere Mortals Framework
Miscellaneous
Thread ID:
00189248
Message ID:
00192133
Views:
22
>James,
>
>>I just compiled an exe with the sample application and ran it. The error did not occur.
>>
>>This error occurs when I first launch the exe. Which dataenvironment would be causing the error?
>
>The following data environments are loaded before you see the login form:
>
>1. Abstract Factory - Classes.dbf
>2. Error Log - ErrorLog.dbf
>3. User Login - v_UserLogin
>
>You can set breakpoints in your application to see where this is occurring. Typically, you'll get this type of error when a table is opened exclusively that the data environment is trying to open.
>
>Have you added your own Abstract Factory to the application...this can cause similar errors if it is not set up properly (and you're reusing classes.dbf).
>
>Regards,

Kevin,

I suspect it's a problem with the errorlog.dbf. I used vcxedit to hardcode the path to a network location, so that all users would have access to the errorlog. I tried moving the errorlog.dbf back to my development directory and now the application can't find the dbf, despite having set things the way I found them when the class was first created. When presented with the dialogue to locate the table, it runs fine if I manually select it.
Previous
Reply
Map
View

Click here to load this message in the networking platform