Log in

Log in

x
Error in RamsdenProductList.ascx: NHibernate.ADOException: could not execute query [ SELECT this_.LanguageId as LanguageId745_0_, this_.IsoCode as IsoCode745_0_, this_.Description as Descript3_745_0_, this_.LocalisedDescription as Localise4_745_0_, this_.SortOrder as SortOrder745_0_, this_.Enabled as Enabled745_0_, this_.ExportMasterCode as ExportMa7_745_0_, this_.SageCrmCode as SageCrmC8_745_0_ FROM rms_Language this_ WHERE this_.IsoCode = ? ] Positional parameters: #0>en [SQL: SELECT this_.LanguageId as LanguageId745_0_, this_.IsoCode as IsoCode745_0_, this_.Description as Descript3_745_0_, this_.LocalisedDescription as Localise4_745_0_, this_.SortOrder as SortOrder745_0_, this_.Enabled as Enabled745_0_, this_.ExportMasterCode as ExportMa7_745_0_, this_.SageCrmCode as SageCrmC8_745_0_ FROM rms_Language this_ WHERE this_.IsoCode = ?] ---> System.Data.SqlClient.SqlException: Cannot open database "Ramsden_Int_Products" requested by the login. The login failed. Login failed for user 'sa'. at System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) at System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) at System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) at System.Data.SqlClient.SqlConnection.Open() at NHibernate.Connection.DriverConnectionProvider.GetConnection() at NHibernate.AdoNet.ConnectionManager.GetConnection() at NHibernate.AdoNet.AbstractBatcher.Prepare(IDbCommand cmd) at NHibernate.AdoNet.AbstractBatcher.ExecuteReader(IDbCommand cmd) at NHibernate.Loader.Loader.GetResultSet(IDbCommand st, Boolean autoDiscoverTypes, Boolean callable, RowSelection selection, ISessionImplementor session) at NHibernate.Loader.Loader.DoQuery(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoQueryAndInitializeNonLazyCollections(ISessionImplementor session, QueryParameters queryParameters, Boolean returnProxies) at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) --- End of inner exception stack trace --- at NHibernate.Loader.Loader.DoList(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Loader.ListIgnoreQueryCache(ISessionImplementor session, QueryParameters queryParameters) at NHibernate.Loader.Loader.List(ISessionImplementor session, QueryParameters queryParameters, ISet`1 querySpaces, IType[] resultTypes) at NHibernate.Impl.SessionImpl.List(CriteriaImpl criteria, IList results) at NHibernate.Impl.CriteriaImpl.List(IList results) at NHibernate.Impl.CriteriaImpl.UniqueResult[T]() at Ramsden.Common.UmbracoHelper.GetCurrentLanguage(ISession session, HttpRequest httpRequest, HttpSessionState httpSessionState) in C:\Subversion\Clients\ramsden-international\00121_Ramsden_site_rewrite\dev\Ramsden.Common\UmbracoHelper.cs:line 150 at Ramsden.Umbraco.UserControls.BaseUserControl.CurrentLanguage(ISession session) in C:\Subversion\Clients\ramsden-international\00121_Ramsden_site_rewrite\dev\Ramsden.Umbraco.UserControls\BaseUserControl.cs:line 43 at Ramsden.Umbraco.UserControls.RamsdenProductList.Page_Load(Object sender, EventArgs e) in C:\Subversion\Clients\ramsden-international\00121_Ramsden_site_rewrite\dev\Ramsden.Umbraco.UserControls\RamsdenProductList.ascx.cs:line 82