Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can't run application
Message
 
À
16/05/2003 16:47:48
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Divers
Thread ID:
00789502
Message ID:
00790038
Vues:
25
Joseph,

>I created an application with Quick Start, and ran it. Then I added classes, including a business object with SQL Pass-Through, and tried to run it again. I got this message:

>----------------------
>Error #11
>Message: Function argument value, type, or count is invalid.
>Line: 99
>Code: IF EMPTY(this.cDefaultDatabase) OR !FILE(this.cDefaultDatabase)
>----------------------
>Method: Init
>Object: userloginenvironment

I'm not sure why you're getting this error...it's the first data access to take place when you launch your application. It looks like the cDefaultDatabase property is empty at the point where this code executes.

Try opening your CUserMgr class (located in CManager.vcx), then launch the business object builder against it. Make sure the database key is set properly (the UserLoginEnvironment class is actually an app-specific class located in ADataEnv.vcx).

Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform