Server Error in '/' Application.

Cannot open database "TudemWbdb" requested by the login. The login failed.
Login failed for user 'Tudemwebdbusr'.

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 "TudemWbdb" requested by the login. The login failed.
Login failed for user 'Tudemwebdbusr'.

Source Error:


Line 307:            catch (Exception)
Line 308:            {
Line 309:                throw;
Line 310:            }
Line 311:            finally

Source File: c:\inetpub\vhosts\tudem.com\httpdocs\App_Code\Kutular.cs    Line: 309

Stack Trace:


[SqlException (0x80131904): Cannot open database "TudemWbdb" requested by the login. The login failed.
Login failed for user 'Tudemwebdbusr'.]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +353
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +118
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +268
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +315
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +128
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +265
   System.Data.SqlClient.SqlConnection.Open() +133
   islem.KutularIslem.ById(Int32 foto_id) in c:\inetpub\vhosts\tudem.com\httpdocs\App_Code\Kutular.cs:309
   UserControls_anasayfa_neleryapiyoruz.Page_Load(Object sender, EventArgs e) in c:\inetpub\vhosts\tudem.com\httpdocs\UserControls\anasayfa-neleryapiyoruz.ascx.cs:12
   System.Web.UI.Control.OnLoad(EventArgs e) +108
   System.Web.UI.Control.LoadRecursive() +90
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Control.LoadRecursive() +185
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +1602


Version Information: Microsoft .NET Framework Version:4.0.30319; ASP.NET Version:4.8.9224.0