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.Get PooledCo
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.IPo stBackEv
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 10 1054
may be incorrect SQL server name,
so you can not log in to it..
"dap" wrote: 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.Get PooledCo 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.IPo stBackEv 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
conMyData = new SqlConnection( "Server=localhost;
Database=Proton; trusted_connection=true;" )
is this correct? i used this code to connect. -----Original Message----- may be incorrect SQL server name, so you can not log in to it..
"dap" wrote:
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.Get PooledCo 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.IPo stBackEv 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 .
Verify the connection string.
Regards,
Amal
"dap" wrote: 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.Get PooledCo 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.IPo stBackEv 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
You webserver is probably running under the aspnet user account. Have you
set up the aspnet user account to access your localhost SQL instance?
bill
"dap" <da****@yahoo.com> wrote in message
news:35****************************@phx.gbl... conMyData = new SqlConnection( "Server=localhost; Database=Proton; trusted_connection=true;" )
is this correct? i used this code to connect.
-----Original Message----- may be incorrect SQL server name, so you can not log in to it..
"dap" wrote:
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.Get PooledCo 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.IPo stBackEv 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 .
i don't i have set it. can u tell me how to set it? -----Original Message----- You webserver is probably running under the aspnet user
account. Have youset up the aspnet user account to access your localhost
SQL instance? bill
"dap" <da****@yahoo.com> wrote in message news:35****************************@phx.gbl... conMyData = new SqlConnection( "Server=localhost; Database=Proton; trusted_connection=true;" )
is this correct? i used this code to connect.
>-----Original Message----- >may be incorrect SQL server name, >so you can not log in to it.. > > >"dap" wrote: > >> 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.Get PooledCo >> 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.IPo stBackEv >> 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 >> >> >> >> >. >
.
Is the Sql Server running?
"dap" <da****@yahoo.com> wrote in message
news:20****************************@phx.gbl... 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.Get PooledCo 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.IPo stBackEv 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
There are several different ways to accomplish this. It also depends on
whether you have MSDE, or Sql 2000 installed on your machine.
For my setup. I would open Enterprise manager, select the database you want
access to. Right click the database and select new -> Database user.
Create a new user, using NT authentication, and map that account to you
machinename\aspnet.
Login = <machine name>\aspnet
You will have to set up permissions and stuff through there. You might look
for more information in the
microsoft.public.sqlserver.programming newsgroup.
Or check out Sql books on line.
bill
"dap" <da****@yahoo.com> wrote in message
news:35****************************@phx.gbl... i don't i have set it. can u tell me how to set it?
-----Original Message----- You webserver is probably running under the aspnet user account. Have youset up the aspnet user account to access your localhost SQL instance? bill
"dap" <da****@yahoo.com> wrote in message news:35****************************@phx.gbl... conMyData = new SqlConnection( "Server=localhost; Database=Proton; trusted_connection=true;" )
is this correct? i used this code to connect.
>-----Original Message----- >may be incorrect SQL server name, >so you can not log in to it.. > > >"dap" wrote: > >> 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.Get PooledCo >> 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.IPo stBackEv >> 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 >> >> >> >> >. >
.
ok. i have done it.
But i still have the same problem.
do i have to change in the UID and the PWD? or i can
still use the TRUSTED_CONNECTION? -----Original Message----- There are several different ways to accomplish this. It
also depends onwhether you have MSDE, or Sql 2000 installed on your
machine. For my setup. I would open Enterprise manager, select
the database you wantaccess to. Right click the database and select new ->
Database user. Create a new user, using NT authentication, and map that
account to youmachinename\aspnet.
Login = <machine name>\aspnet
You will have to set up permissions and stuff through
there. You might lookfor more information in the microsoft.public.sqlserver.programming newsgroup.
Or check out Sql books on line.
bill
"dap" <da****@yahoo.com> wrote in message news:35****************************@phx.gbl... i don't i have set it. can u tell me how to set it?
>-----Original Message----- >You webserver is probably running under the aspnet
user account. Have you >set up the aspnet user account to access your
localhost SQL instance? > >bill > >"dap" <da****@yahoo.com> wrote in message >news:35****************************@phx.gbl... >> conMyData = new SqlConnection( "Server=localhost; >> Database=Proton; trusted_connection=true;" ) >> >> is this correct? i used this code to connect. >> >> >-----Original Message----- >> >may be incorrect SQL server name, >> >so you can not log in to it.. >> > >> > >> >"dap" wrote: >> > >> >> 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.Get PooledCo >> >> 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.IPo stBackEv >> >> 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 >> >> >> >> >> >> >> >> >> >. >> > > > >. >
.
yes it is running. -----Original Message----- Is the Sql Server running?
"dap" <da****@yahoo.com> wrote in message news:20****************************@phx.gbl... 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.Get PooledCo 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.IPo stBackEv 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
.
What is the instance name of your server? You might not be able to use
"localhost".
You haven't changed any of your machine.config processModel section have
you?
bill
"dap" <da****@yahoo.com> wrote in message
news:37****************************@phx.gbl... ok. i have done it. But i still have the same problem. do i have to change in the UID and the PWD? or i can still use the TRUSTED_CONNECTION?
-----Original Message----- There are several different ways to accomplish this. It also depends onwhether you have MSDE, or Sql 2000 installed on your machine. For my setup. I would open Enterprise manager, select
the database you wantaccess to. Right click the database and select new -> Database user. Create a new user, using NT authentication, and map that
account to youmachinename\aspnet.
Login = <machine name>\aspnet
You will have to set up permissions and stuff through there. You might lookfor more information in the microsoft.public.sqlserver.programming newsgroup.
Or check out Sql books on line.
bill
"dap" <da****@yahoo.com> wrote in message news:35****************************@phx.gbl... i don't i have set it. can u tell me how to set it?
>-----Original Message----- >You webserver is probably running under the aspnet user account. Have you >set up the aspnet user account to access your localhost SQL instance? > >bill > >"dap" <da****@yahoo.com> wrote in message >news:35****************************@phx.gbl... >> conMyData = new SqlConnection( "Server=localhost; >> Database=Proton; trusted_connection=true;" ) >> >> is this correct? i used this code to connect. >> >> >-----Original Message----- >> >may be incorrect SQL server name, >> >so you can not log in to it.. >> > >> > >> >"dap" wrote: >> > >> >> 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.Get PooledCo >> >> 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.IPo stBackEv >> >> 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 >> >> >> >> >> >> >> >> >> >. >> > > > >. >
. This thread has been closed and replies have been disabled. Please start a new discussion. Similar topics
by: Harry |
last post by:
Using Oracle 8i enterprise on win 2000 (sp3)
Installed the standard configuration & whenever I make a connection it
takes about 10 secs. It's running on a P1900 with 1gb Ram so no reason
there...
|
by: James |
last post by:
We've had a recurring problem where all of a sudden we get a DBMSSOCN
General Network Error on any page that connects to SQL Server. Then we have
to reboot the server and everything works fine...
|
by: Mark |
last post by:
I know that DB2 LUW version 8 has "connection pooling" that provides a
connection concentrator (limits the number of simultaneous connections
that can occur). But does it really provide connection...
|
by: Eric Sabine |
last post by:
In my Finally block, I was using cn.close (where cn is an ADO.NET
connection object, SQLConnection to be exact) and then I came across the
following in some microsoft code.
If Not cn Is Nothing...
|
by: Rahul Anand |
last post by:
Getting SQL Exception when trying to implement Connection
based Trasaction using SQL Helper class.
I am using the follwing function to execute my stored
procs:
-=-=-=-
ExecuteScalar(ByVal...
|
by: Suresh |
last post by:
Hi Guys
I have Db2 server installed on remote server. i am connecting to that
remote server by using VPN.
I want to connect that remote DB2 server instance using my local
machine DB2...
|
by: crbd98 |
last post by:
Hello All,
Some time ago, I implemented a data access layer that included a simple
connectin pool. At the time, I did it all by myself: I created N
connections, each connection associated with...
|
by: fniles |
last post by:
I am using VS2003 and connecting to MS Access database.
When using a connection pooling (every time I open the OLEDBCONNECTION I use
the exact matching connection string),
1. how can I know how...
|
by: sherifbk |
last post by:
Problem description
==============
- I have 4 clients and 1 server (SQL server)
- 3 clients are Monitoring console 1 client is operation console
- Monitoring console collects some data from...
|
by: Charles Arthur |
last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
|
by: emmanuelkatto |
last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud.
Please let me know.
Thanks!
Emmanuel
|
by: BarryA |
last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
|
by: Sonnysonu |
last post by:
This is the data of csv file
1 2 3
1 2 3
1 2 3
1 2 3
2 3
2 3
3
the lengths should be different i have to store the data by column-wise with in the specific length.
suppose the i have to...
|
by: Hystou |
last post by:
There are some requirements for setting up RAID:
1. The motherboard and BIOS support RAID configuration.
2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
|
by: marktang |
last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
|
by: jinu1996 |
last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven...
|
by: Hystou |
last post by:
Overview:
Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
|
by: isladogs |
last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM).
In this session, we are pleased to welcome a new...
| |