Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Invoking method in testing fails
Message
De
22/02/2010 14:12:25
 
 
À
22/02/2010 13:27:04
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 3.0
OS:
Windows XP SP2
Database:
MS SQL Server
Divers
Thread ID:
01450277
Message ID:
01450295
Vues:
38
>Hi,
>
>I've just started with eth MM .NET Jump Starts and have reached Step 7 in Creating Business Objects and when I try to invoke the Order1.GetOrderByOrderID() method, I enter the Order Id I want then I get this error:
>
>An unhandled exception of type 'System.InvalidOperationException' occurred in System.Data.dll
>
>Additional information: The ConnectionString property has not been initialized.
>
>I'm not sure where to go from here. the connection string worked previously while using the Business Layer Generator.
>
>Any advise on what to look for?

Think I got it:

I had named the database key incorrectly.
Frank.

Frank Cazabon
Samaan Systems Ltd.
www.samaansystems.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform