Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Business Layer Generator
Message
De
27/05/2008 18:00:14
Timothy Bryan
Sharpline Consultants
Conroe, Texas, États-Unis
 
 
À
27/05/2008 15:34:07
Jarid Griesel
The Innovix Technology Group (Pty) Ltd
Johannesburg, Afrique du Sud
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 9.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01319345
Message ID:
01319827
Vues:
23
>Hi Kevin
>
>Thanks for that.
>I rebuilt the VistaDB.dll and the MMBusinessLayerGenerator.dll files successfully with the new 3.3.1.57 references.
>
>
>However when I click Get Data button to fill the database tables explorer (which is empty) I get a VistaDB.Net20 error that says
>"could not find file c:\program files\Microsoft Visual Studio 9.0\Common7\IDE\DG....cannot open database DG...Stack Trace: ...at OakLeaf.MM.Main.Data.mmDataAccessVistaDB.OpenVistaDBDatabase() at OakLeaf.MM.Main.Data.mmDataAccessVistaDB.GetListOfDbcTables at MMBusinessLayerGenerator.mmWizardPageSelectData.GetDatabaseTables in c:\program files\Mere Mortals .Net Framework2008\MMBusinessLayerGenerator\MMBusinessLayerGenerator\mmWizardPageSelectData.cs line 1472 at MMBusinessLayerGenerator.mmWizardPageSelectData.GetDatabaseTables in c:\program files\Mere Mortals .Net Framework2008\MMBusinessLayerGenerator\MMBusinessLayerGenerator\mmWizardPageSelectData.cs line 1326
>
>I did recheck the database names etc in the aBusinessObject.vb and app.config files.
>The database containing the application tables is up and accessbile.
>
>Any ideas ?
>
Jarid,
Make sure you don't have the database open in the VistaDB Data builder or a connection in the serverExplorer when you are trying to get the data from the BLG. Also, you mention you checked the database names in aBusinessObject. Are you referring to the key as defined in the app.config? The connection string is a little picky too so you might start with adjusting your connection string in the app.config. I had some troubles with this in the beginning until I finally got it just right.
Tim
Timothy Bryan
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform