Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
VS Crashes when creating Business Object
Message
De
13/02/2006 19:40:13
Dave Porter
Medical Systematics, Inc.
Merced, Californie, États-Unis
 
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
VB 8.0
OS:
Windows XP SP2
Network:
Windows XP
Database:
MS SQL Server
Divers
Thread ID:
01089582
Message ID:
01096033
Vues:
17
Yep Yep
Bigger than Dallas, if you try to run the Business Layer Generator with an invalid connection string VS Crashes and wants to send an error report to the mother ship at m$.
I finally figured out the connection string by choosing Data|Add New Data Source then Database, on the Choose your Database dialog there is a + sign for connection string. Click that and then if you take the string after the source= and put it after server= in app.config, viola! Don't finish the add new data source wizard or it will put a pile of extra files in your project!
Dave
BTW I changed the Business Class and the Business Rule Class names and they didn't 'take' it built classes with the same plural names as the tables.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform