Server Error in '/' Application.

Login failed for user 'MSSql117510'.

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 'MSSql117510'.

Source Error:


Line 287:        SqlConnection objConnect = new SqlConnection();
Line 288:        objConnect.ConnectionString = ConfigurationManager.ConnectionStrings["con"].ConnectionString;
Line 289:        objConnect.Open();
Line 290:
Line 291:        string sql_art = "SELECT * FROM adv_tb_sez_bnr WHERE (sez='h') AND (stato = 1)";

Source File: d:\inetpub\webs\ilmedianoit\apz\vs_art.aspx.cs    Line: 289

Stack Trace:


[SqlException (0x80131904): Login failed for user 'MSSql117510'.]
   System.Data.ProviderBase.DbConnectionPool.GetConnection(DbConnection owningObject) +1116
   System.Data.ProviderBase.DbConnectionFactory.GetConnection(DbConnection owningConnection) +103
   System.Data.ProviderBase.DbConnectionClosed.OpenConnection(DbConnection outerConnection, DbConnectionFactory connectionFactory) +116
   System.Data.SqlClient.SqlConnection.Open() +154
   apz_vs_art.Banner() in d:\inetpub\webs\ilmedianoit\apz\vs_art.aspx.cs:289
   apz_vs_art.Page_Load(Object sender, EventArgs e) in d:\inetpub\webs\ilmedianoit\apz\vs_art.aspx.cs:23
   System.Web.Util.CalliHelper.EventArgFunctionCaller(IntPtr fp, Object o, Object t, EventArgs e) +14
   System.Web.Util.CalliEventHandlerDelegateProxy.Callback(Object sender, EventArgs e) +43
   System.Web.UI.Control.OnLoad(EventArgs e) +91
   System.Web.UI.Control.LoadRecursive() +74
   System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint) +2603


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