Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Stored Procedures with Entity Business
Message
 
À
14/01/2007 16:05:18
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Versions des environnements
Environment:
C# 2.0
OS:
Windows XP SP2
Network:
Windows 2003 Server
Database:
MS SQL Server
Divers
Thread ID:
01185472
Message ID:
01185763
Vues:
15
>I'm trying to utilize stored procedures with Business Entity Objects but the framework is returning a "The type or namespace name 'List' could not be found" error. It appears to be accessing an earlier cached version of mmBusinessObject.
>
>Steps to duplicate: develop the jumpstart Nothwind example (Windows or Web) implementing step 8 of creating business objects. Hit F6 to build and the error trying to find 'List' is returned. Open ABusinessObject.cs, go to
public class ABusinessObject : mmBusinessObject
and go to definition of mmBusinessObject. It's an older version in cache of the installed mm 2.3 version.

It sounds like you have some old versions of MM .NET assemblies on your machine. Here's what I recommend (sometimes the .NET installer doesn't remove old versions of assemblies properly):

1. Uninstall MM .NET 2.3
2. In Windows Explorer, go to your Global Assembly Cache and see if there are any MM .NET assemblies left. If there are, bail out to a DOS prompt and delete them
3. Download MM .NET 2.3 from our web site again (making sure you've got the very latest)
4. Reinstall and try again!

If this doesn't do it, I'd be happy to get on your computer to take a peek.

Best Regards,
Kevin McNeish
Eight-Time .NET MVP
VFP and iOS Author, Speaker & Trainer
Oak Leaf Enterprises, Inc.
Chief Architect, MM Framework
http://www.oakleafsd.com
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform