shane boulder
7/24/2003 2:50:00 PM
I have fixed my last problem but now i have a new one. I
can run certain sample applications but others i get this
message.
HELP PLEASE
Server Error in '/QuickStart/ASPPlus' Application.
----------------------------------------------------------
----------------------
SQL Server does not exist or access denied.
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 15:
Line 16: DS = New DataSet()
Line 17: MyCommand.Fill(DS, "Titles") //this is
where the error is!!!
Line 18:
Line 19: MyDataList.DataSource = DS.Tables
("Titles").DefaultView
Source File: C:\Program
Files\Microsoft.NET\FrameworkSDK\Samples\QuickStart\aspplu
s\samples\webforms\customize\VB\datalist3.aspx Line:
17
Stack Trace:
[SqlException: SQL Server does not exist or access
denied.]
System.Data.SqlClient.ConnectionPool.GetConnection
(Boolean& isInTransaction) +472
System.Data.SqlClient.SqlConnectionPoolManager.GetPooledCo
nnection(SqlConnectionString options, Boolean&
isInTransaction) +372
System.Data.SqlClient.SqlConnection.Open() +384
System.Data.Common.DbDataAdapter.QuietOpen
(IDbConnection connection, ConnectionState&
originalState) +44
System.Data.Common.DbDataAdapter.FillFromCommand
(Object data, Int32 startRecord, Int32 maxRecords, String
srcTable, IDbCommand command, CommandBehavior behavior)
+304
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet,
Int32 startRecord, Int32 maxRecords, String srcTable,
IDbCommand command, CommandBehavior behavior) +77
System.Data.Common.DbDataAdapter.Fill(DataSet dataSet,
String srcTable) +36
ASP.datalist3_aspx.Page_Load(Object Sender, EventArgs
E) in C:\Program
Files\Microsoft.NET\FrameworkSDK\Samples\QuickStart\aspplu
s\samples\webforms\customize\VB\datalist3.aspx:17
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +35
System.Web.UI.Page.ProcessRequestMain() +731