Server Error in '/' Application.

Cannot open database "Db_ArtBank" requested by the login. The login failed.
Login failed for user 'artbnk'.

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: Cannot open database "Db_ArtBank" requested by the login. The login failed.
Login failed for user 'artbnk'.

Source Error:


Line 115:        cm.Parameters.Add(pm);
Line 116:        da.SelectCommand = cm;
Line 117:        cn.Open();
Line 118:        try
Line 119:        {

Source File: d:\website\artbank-oldmaster\sito\acquista-opera-omnia.aspx.cs    Line: 117

Stack Trace:


[SqlException (0x80131904): Cannot open database "Db_ArtBank" requested by the login. The login failed.
Login failed for user 'artbnk'.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +435
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.SqlClient.SqlConnection.Open() +111
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +494
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +82
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +105
   System.Data.SqlClient.SqlConnection.Open() +111
   _Default.getTablePage(String table, String tableout, String key, String where, String orderby, Int32 pagina, Int32 paginamax, String App) in d:\website\artbank-oldmaster\sito\acquista-opera-omnia.aspx.cs:117
   _Default.Page_Load(Object sender, EventArgs e) in d:\website\artbank-oldmaster\sito\acquista-opera-omnia.aspx.cs:28
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +15
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +33
   System.Web.UI.Control.OnLoad(EventArgs e) +99
   System.Web.UI.Control.LoadRecursive() +47
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1436


Version Information: Microsoft .NET Framework Version:2.0.50727.1433; ASP.NET Version:2.0.50727.1433