Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
MmAppBase
Message
Information générale
Forum:
ASP.NET
Catégorie:
The Mere Mortals .NET Framework
Titre:
Versions des environnements
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Divers
Thread ID:
01505960
Message ID:
01506152
Vues:
41
Bob,

>Here is what I get out of the debugging of this:
>
>
>+ AuthenticateUserCmd '((Bpit.Iluna.IlunaWeb.AUserManager)OakLeaf.MM.Main.mmAppBase.UserMgr).AuthenticateUserCmd' threw an exception of type 'System.Exception' string {System.Exception}
> Message "A database key must be specified" string
> StackTrace " at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataAccessObject(String databaseKey, Boolean localDataAccessObject)\r\n at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataAccessObject(String databaseKey)\r\n at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataAccessObject()\r\n at OakLeaf.MM.Main.Managers.mmUserManager.get_AuthenticateUserCmd()" string

It looks like the DatabaseKey property of the UserManager isn't getting set. It usually gets set when you call its AuthenticateUser() method--the database key is passed as a parameter, then stored in the DatabaseKey property. The DatabaseKey property is public, so if you prefer, you can even set it manually.

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