and for those that wonder about the stack trace:
[IndexOutOfRangeException: login1_1_0_] System.Data.ProviderBase.FieldNameLookup.GetOrdinal(String fieldName) +5031294 System.Data.SqlClient.SqlDataReader.GetOrdinal(String name) +67 NHibernate.Driver.NHybridDataReader.GetOrdinal(String name) +40 NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String name) +74 NHibernate.Type.NullableType.NullSafeGet(IDataReader rs, String[] names, ISessionImplementor session, Object owner) +55 NHibernate.Loader.Loader.GetKeyFromResultSet(Int32 i, IEntityPersister persister, Object id, IDataReader rs, ISessionImplementor session) +172 NHibernate.Loader.Loader.GetRowFromResultSet(IDataReader resultSet, ISessionImplementor session, QueryParameters queryParameters, LockMode[] lockModeArray, EntityKey optionalObjectKey, IList hydratedObjects, EntityKey[] keys, Boolean returnProxies) +295 NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +1299 NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) +106 NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +172
[ADOException: could not execute query [ exec SPProject_Login @p0, @p1 ] Name:@username - Value:username Name:@password - Value:password [SQL: exec SPProject_Login @p0, @p1]] NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) +339 NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) +46 NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes) +155 NHibernate.Loader.Custom.CustomLoader.List(ISessionImplementor session, QueryParameters queryParameters) +52 NHibernate.Impl.SessionImpl.ListCustomQuery(ICustomQuery customQuery, QueryParameters queryParameters, IList results) +247 NHibernate.Impl.SessionImpl.List(NativeSQLQuerySpecification spec, QueryParameters queryParameters, IList results) +220 NHibernate.Impl.SessionImpl.List(NativeSQLQuerySpecification spec, QueryParameters queryParameters) +202 NHibernate.Impl.SqlQueryImpl.List() +231 Project.Core.DataInterfaces.LoginDao.GetLoginByUserNameAndPassword(String username, String password) in C:\Users\Username\documents\visual studio 2010\Projects\TestCase\Project.Data\LoginDao.cs:44 Project.Web._Default.PageLoad() in C:\Users\Username\documents\visual studio 2010\Projects\TestCase\TestCase\Default.aspx.cs:13 Project.Web.BasePage.Page_Load(Object sender, EventArgs e) in C:\Users\Username\documents\visual studio 2010\Projects\TestCase\TestCase\App_Code\BasePage.cs:21 System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14 System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +35 System.Web.UI.Control.OnLoad(EventArgs e) +115 System.Web.UI.Control.LoadRecursive() +49 System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2207
|