Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
WinForm App Security DB not found?
Message
 
To
02/05/2005 11:49:57
Jason Mesches
Ocean Systems Engineering Corporation
Carlsbad, California, United States
General information
Forum:
ASP.NET
Category:
The Mere Mortals .NET Framework
Miscellaneous
Thread ID:
01010094
Message ID:
01010193
Views:
20
>Hello, Stephen
>
>What is the actual error message text? And that's the only error stack you receive... it just stops at line 39 of your mainform, not in MM.NET code? And are you already using that database key, "FleetPro", anywhere else in your app that works correctly?

Same db is working fine for the data of the app. I tried to add security over the weekend on a plane flight. Wasn't sucessful :D

So database FleetPro has my data for app, also has Security tables after running script.

After a login attempt with MM I see this as my error:
"A database key must be specified"

In general that has meant that the actual table is missing the Primary key.

I checked all the tables in EM, and they all seem to have one.

The entire error trace is here:
at OakLeaf.MM.Main.Business.mmBusinessObject.GetDataAccessObject(String databaseKey)
at OakLeaf.MM.Main.Managers.mmUserManager.AuthenticateUser(String userID, String password, String databaseKey)
at OakLeaf.MM.Main.Managers.mmUserManager.AuthenticateUser(String userID, String password, String databaseKey, String userIDConnect, String passwordConnect)
at OakLeaf.MM.Main.Windows.Forms.mmUserLoginForm.AuthenticateUser(String userID, String password, String databaseKeyConnect, String userIDConnect, String passwordConnect)
at OakLeaf.MM.Main.Windows.Forms.mmUserLoginForm.AuthenticateUser()
at OakLeaf.MM.Main.Windows.Forms.mmUserLoginForm.btnOK_Click(Object sender, EventArgs e)
at System.Windows.Forms.Control.OnClick(EventArgs e)
at System.Windows.Forms.Button.OnClick(EventArgs e)
at System.Windows.Forms.Button.PerformClick()
at System.Windows.Forms.Form.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.TextBoxBase.ProcessDialogKey(Keys keyData)
at System.Windows.Forms.Control.PreProcessMessage(Message& msg)
at System.Windows.Forms.ThreadContext.System.Windows.Forms.UnsafeNativeMethods+IMsoComponent.FPreTranslateMessage(MSG& msg)
at System.Windows.Forms.ComponentManager.System.Windows.Forms.UnsafeNativeMethods+IMsoComponentManager.FPushMessageLoop(Int32 dwComponentID, Int32 reason, Int32 pvLoopData)
at System.Windows.Forms.ThreadContext.RunMessageLoopInner(Int32 reason, ApplicationContext context)
at System.Windows.Forms.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
at System.Windows.Forms.Application.RunDialog(Form form)
at System.Windows.Forms.Form.ShowDialog(IWin32Window owner)
at System.Windows.Forms.Form.ShowDialog()
at SRA.Main.AppMainEntry.Main() in C:\win_projects\FleetPro\Main.cs:line 39

I am lost as to what is missing in either the login form or the app.cs?

Thanks.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform