Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Object Projects
Message
De
26/07/2006 11:09:46
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, Californie, États-Unis
 
 
À
25/07/2006 23:40:05
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Divers
Thread ID:
01140030
Message ID:
01140212
Vues:
11
Hello, Darren

Short answer... MM.NET doesn't require any extra config files.

At design time, the ellipse button triggers MM to connect to your back end datasource. This is to provide a list of tables and fields for you to select from when databinding.

To connect in this manner, MM reads your app.config/web.config for connection strings. In your case, those are all supposed to be in your web.config file -- toward the bottom -- in a separate "databases" section. All MM.NET generated projects include an app.config/web.config file with this section.

If yours doesn't have one, I would suggest looking for a config file from another project and copying the section over to this project. Also, there is a config file MM uses as the template when creating projects, so you could open that one to find the databases section. Don't remember off the top of my head where it's located, but if you search you will find!

Hope that helps,
---J

>Hi all
>
>Should the business object projects have/require an app.config file?
>
>The reason i ask, is because when i attemtp to set the BindSourceMember property for a mmTextbox on a web form (via the ellipse button on the property window) im getting a..
>
>" node not found in confiruation file" error.
>
>This appears tobe caused by the Biz object project not having its own app.config file.
>
>Should it have one?
>
>Thanks in advance.
>
>Regards
>Darren
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform