D
dap
can you tell me what is the problem with this error
statements??
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:
SQL Server does not exist or access denied.
Source Error:
Line 27: cmdSelect.Parameters.Add( "@username",
strUsername )
Line 28: cmdSelect.Parameters.Add( "@password",
strPassword )
Line 29: conMyData.Open()
Line 30: cmdSelect.ExecuteNonQuery()
Line 31: intResult = cmdSelect.Parameters
( "RETURN_VALUE" ).Value
Source File: c:\inetpub\wwwroot\proton-
commerce\login.aspx Line: 29
Stack Trace:
[SqlException: SQL Server does not exist or access
denied.]
System.Data.SqlClient.ConnectionPool.GetConnection
(Boolean& isInTransaction) +484
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledCo
nnection(SqlConnectionString options, Boolean&
isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
ASP.Login_aspx.dbAuthenticate(String strUsername,
String strPassword) in c:\inetpub\wwwroot\proton-
commerce\login.aspx:29
ASP.Login_aspx.Button_Click(Object s, EventArgs e) in
c:\inetpub\wwwroot\proton-commerce\login.aspx:10
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
+108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEv
entHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent
(IPostBackEventHandler sourceControl, String
eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent
(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292
statements??
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:
SQL Server does not exist or access denied.
Source Error:
Line 27: cmdSelect.Parameters.Add( "@username",
strUsername )
Line 28: cmdSelect.Parameters.Add( "@password",
strPassword )
Line 29: conMyData.Open()
Line 30: cmdSelect.ExecuteNonQuery()
Line 31: intResult = cmdSelect.Parameters
( "RETURN_VALUE" ).Value
Source File: c:\inetpub\wwwroot\proton-
commerce\login.aspx Line: 29
Stack Trace:
[SqlException: SQL Server does not exist or access
denied.]
System.Data.SqlClient.ConnectionPool.GetConnection
(Boolean& isInTransaction) +484
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledCo
nnection(SqlConnectionString options, Boolean&
isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
ASP.Login_aspx.dbAuthenticate(String strUsername,
String strPassword) in c:\inetpub\wwwroot\proton-
commerce\login.aspx:29
ASP.Login_aspx.Button_Click(Object s, EventArgs e) in
c:\inetpub\wwwroot\proton-commerce\login.aspx:10
System.Web.UI.WebControls.Button.OnClick(EventArgs e)
+108
System.Web.UI.WebControls.Button.System.Web.UI.IPostBackEv
entHandler.RaisePostBackEvent(String eventArgument) +57
System.Web.UI.Page.RaisePostBackEvent
(IPostBackEventHandler sourceControl, String
eventArgument) +18
System.Web.UI.Page.RaisePostBackEvent
(NameValueCollection postData) +33
System.Web.UI.Page.ProcessRequestMain() +1292