Server Error in '/' Application.

Cannot open database "WebMaxim" requested by the login. The login failed.
Login failed for user 'web3'.

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

Source Error:


Line 100:    {
Line 101:        SqlConnection objConnection = new SqlConnection(DBConn);
Line 102:        objConnection.Open();
Line 103:
Line 104:        SqlCommand objCommand = new SqlCommand("max_get_meta_tags_frontend_seo", objConnection);

Source File: d:\maximlighting\httpdocs\FrontEndMaster.master.cs    Line: 102

Stack Trace:


[SqlException (0x80131904): Cannot open database "WebMaxim" requested by the login. The login failed.
Login failed for user 'web3'.]
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, UInt32 waitForMultipleObjectsTimeout, Boolean allowCreate, Boolean onlyOneCheckConnection, DbConnectionOptions userOptions, DbConnectionInternal& connection) +347
   System.Data.ProviderBase.DbConnectionPool.TryGetConnection(DbConnection owningObject, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal& connection) +78
   System.Data.ProviderBase.DbConnectionFactory.TryGetConnection(DbConnection owningConnection, TaskCompletionSource`1 retry, DbConnectionOptions userOptions, DbConnectionInternal oldConnection, DbConnectionInternal& connection) +191
   System.Data.ProviderBase.DbConnectionInternal.TryOpenConnectionInternal(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +154
   System.Data.ProviderBase.DbConnectionClosed.TryOpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory, TaskCompletionSource`1 retry, DbConnectionOptions userOptions) +21
   System.Data.SqlClient.SqlConnection.TryOpenInner(TaskCompletionSource`1 retry) +90
   System.Data.SqlClient.SqlConnection.TryOpen(TaskCompletionSource`1 retry) +443
   System.Data.SqlClient.SqlConnection.Open() +96
   FrontEndMaster.GetMetaTagsSeo(String Page) in d:\maximlighting\httpdocs\FrontEndMaster.master.cs:102
   FrontEndMaster.GetMetaTagsFromDb(String rawUrl) in d:\maximlighting\httpdocs\FrontEndMaster.master.cs:63
   FrontEndMaster.Page_Load(Object sender, EventArgs e) in d:\maximlighting\httpdocs\FrontEndMaster.master.cs:50
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +51
   System.Web.UI.Control.OnLoad(EventArgs e) +95
   System.Web.UI.Control.LoadRecursive() +59
   System.Web.UI.Control.LoadRecursive() +131
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +678


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