Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Error loading the data environment
Message
De
01/03/1999 09:40:10
 
 
À
01/03/1999 09:02:28
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00189248
Message ID:
00192629
Vues:
25
>>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 compiled an app and ran it. The error did occur. The abstract factory environment is where the problem is--in the opentables method. It looks to me like it is trying to load the environment twice.
>
>I am not using my own Abstract Factory, and I can't imagine what would be causing the problem. I'll look more deeply...

I found the problem. Chalk this one up to user stupidity. I included the classes.dbf in compiled program, but also put the classes.dbf in the app directory. It has to be one or the other. It seems to me the program should know how to deal with this scenario...
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform