Server Error in '/' Application.

Login failed for user 'Mirzarandi'.

Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.Data.SqlClient.SqlException: Login failed for user 'Mirzarandi'.

Source Error:

An unhandled exception was generated during the execution of the current web request. Information regarding the origin and location of the exception can be identified using the exception stack trace below.

Stack Trace:


[SqlException (0x80131904): Login failed for user 'Mirzarandi'.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +428
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +65
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +117
   System.Data.SqlClient.SqlConnection.Open() +122
   NHibernate.Connection.DriverConnectionProvider.GetConnection() +102
   NHibernate.Tool.hbm2ddl.SuppliedConnectionProviderConnectionHelper.Prepare() +15
   NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.GetReservedWords(Dialect dialect, IConnectionHelper connectionHelper) +65
   NHibernate.Tool.hbm2ddl.SchemaMetadataUpdater.Update(ISessionFactory sessionFactory) +80
   NHibernate.Impl.SessionFactoryImpl..ctor(Configuration cfg, IMapping mapping, Settings settings, EventListeners listeners) +599
   NHibernate.Cfg.Configuration.BuildSessionFactory() +87
   Castle.ActiveRecord.Framework.SessionFactoryHolder.GetSessionFactory(Type type) +210
   Castle.ActiveRecord.Framework.SessionFactoryHolder.CreateScopeSession(Type type) +29
   Castle.ActiveRecord.Framework.SessionFactoryHolder.CreateSession(Type type) +37
   PersiaBME.General.ActiveRecordExtender`1.FindAllC(DetachedCriteria detachedCriteria, Boolean setCacheable, Order[] orders) +141
   PersiaBME.General.ActiveRecordExtender`1.FindAllC(Boolean setCacheable) +204
   PersiaBME.Pine.PersiaPage.LoadPersiaPagesEfficiently() +185
   PersiaBME.Pine.PersiaPage.GetByPage(String pageName) +103
   PersiaBME.Pine.PageBase.PageBase_PreInit(Object sender, EventArgs args) +65
   System.Web.UI.Page.OnPreInit(EventArgs e) +8790526
   PersiaBME.Pine.UI.Pages.Main.OnPreInit(EventArgs e) +671
   System.Web.UI.Page.PerformPreInit() +31
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +282


Version Information: Microsoft .NET Framework Version:2.0.50727.5485; ASP.NET Version:2.0.50727.5491