Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
MmAppBase
Message
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Title:
Environment versions
Environment:
C# 4.0
OS:
Windows 7
Network:
Windows 2008 Server
Database:
MS SQL Server
Application:
Web
Miscellaneous
Thread ID:
01505960
Message ID:
01506152
Views:
40
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
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform