Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindingSourceMember error
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
The Mere Mortals Framework
Titre:
BindingSourceMember error
Divers
Thread ID:
00843232
Message ID:
00843232
Vues:
37
I'm getting an error when the Binding Source Member Selection pops up.

Error: Object reference not set to an instance of an object.

at OakLeaf.MM.Main.Builders.mmBindingSourceWebMemberEditForm.GetDatabases()
at OakLeaf.MM.Main.Builders.mmBindingSourceWebMemberEditForm.GetDatabaseSets()
at OakLeaf.MM.Main.Builders.mmBindingSourceWebMemberEditForm.GetDatabaseInfo()
at OakLeaf.MM.Main.Builders.mmBindingSourceWebMemberEditForm.Init(Object value)
at OakLeaf.MM.Main.Builders.mmBindingSourceWebMemberEditForm.GetDatabases()
etc.

I know that theis utility is supposed to read the app.config file (I assume that's a typo, because there is no app.config file in my web app).

from the docs:
"This dialog dynamically reads your app.config file to determine which databases you are using in the application and changes the display of the dialog accordingly. If this dialog fails to display properly you probably have a problem in the connection strings specified in your app.config file."

I'm guessing that this is either a bug, or, more likely I haven't set up some part of the builders. The dialog comes up after this error message, but it's empty. I can just manually add the fields to the BindingSourceMember properties.

My connection string works fine when accessed through the built application:

add key="HRMS_CRM\Connection" value="Provider=vfpoledb.1;Data Source=C:\_data\HRMS_System\hrms_system.dbc" /
add key="HRMS_CRM\DataAccessClass" value="DataAccessOleDb" /

Any clues?

TIA,
Chris.

chris jefferies
chris@freeranger.com
Répondre
Fil
Voir

Click here to load this message in the networking platform