Errore server nell'applicazione '/'.

Login failed for user 'MSSql119911'.

Descrizione: Eccezione non gestita durante l'esecuzione della richiesta Web corrente. Per ulteriori informazioni sull'errore e sul suo punto di origine nel codice, vedere l'analisi dello stack.

Dettagli eccezione: System.Data.SqlClient.SqlException: Login failed for user 'MSSql119911'.

Errore nel codice sorgente:


Riga 80: 	Dim cmA
Riga 81: 	Dim cnA as SQLConnection = new SQLConnection(ConfigurationSettings.AppSettings("conn"))
Riga 82: 	cnA.Open()
Riga 83: 	dim stringaSQLSubcat as string = "SELECT product_subcategory, product_category, product_label FROM products WHERE product_label = 1 AND product_category = '"
Riga 84: 		stringaSQLSubcat = stringaSQLSubcat & cat.Replace("'", "''") & "' AND product_macrocategory = '" & macroCat.Replace("'", "''") 

File di origine: D:\inetpub\webs\saponeshopit\prodotti.aspx    Riga: 82

Analisi dello stack:


[SqlException (0x80131904): Login failed for user 'MSSql119911'.]
   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
   ASP.prodotti_aspx.Page_Load(Object sender, EventArgs e) in D:\inetpub\webs\saponeshopit\prodotti.aspx:82
   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


Informazioni di versione: Versione di Microsoft .NET Framework:2.0.50727.8974; Versione di ASP.NET:2.0.50727.8974