Carlos,
> at System.Data.OleDb.OleDbCommand.ExecuteCommandTextErrorHandling(Int32 hr)
> at System.Data.OleDb.OleDbCommand.ExecuteCommandTextForSingleResult(tagDBPARAMS dbParams, Object& executeResult)
> at System.Data.OleDb.OleDbCommand.ExecuteCommandText(Object& executeResult)
> at System.Data.OleDb.OleDbCommand.ExecuteCommand(CommandBehavior behavior, Object& executeResult)
> at System.Data.OleDb.OleDbCommand.ExecuteReaderInternal(CommandBehavior behavior, String method)
> at System.Data.OleDb.OleDbCommand.ExecuteReader(CommandBehavior behavior)
> at System.Data.OleDb.OleDbCommand.System.Data.IDbCommand.ExecuteReader(CommandBehavior behavior)
> at OakLeaf.MM.Main.Data.mmDataAccessBase.ExecReader(String command, IDbConnection& connection, IDbDataParameter[] dataParams)
> at OakLeaf.MM.Main.Business.mmBusinessObject.ExecReader(String command, String databaseKey, IDbConnection& connection, IDbDataParameter[] dataParams)
> at OakLeaf.MM.Main.Managers.mmUserManager.AuthenticateUser(String userID, String password, String databaseKey)
As you can see by the stack trace, it's getting an error when trying to authenticate the user. I recommend setting a breakpoint to determine what's going on:
- Open your project in VS .NET
- Click the Open File button and open the ..\Mere Mortals Framework 2003\Mere Mortals Framework\Managers\mmUserManager.cs file
- Set a breakpoint at the top of the AuthenticateUser() method
- Run your application and step through the method to see what command is being sent to the back end
If you are not able to hit your breakpoint, check out the MM .NET Dev Guide topic "Stepping through MM .NET Code in the Debugger".
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