Yes the error is as follows:
[SqlException: SQL Server does not exist or access denied.]
System.Data.Sql Client.Connecti onPool.GetConne ction(Boolean&
isInTransaction ) +484
System.Data.Sql Client.SqlConne ctionPoolManage r.GetPooledConn ection(SqlConne ctionString options, Boolean& isInTransaction ) +372
System.Data.Sql Client.SqlConne ction.Open() +384
before.WebForm1 .Page_Load(Obje ct sender, EventArgs e) in
C:\AspDotNet\la bs\AspDotNetInt roLab3\before\d efault.aspx.vb: 26
System.Web.UI.C ontrol.OnLoad(E ventArgs e) +67
System.Web.UI.C ontrol.LoadRecu rsive() +35
System.Web.UI.P age.ProcessRequ estMain() +731
"Jeff Dillon" wrote:
Do you get an error?
"Sal" <Sa*@discussion s.microsoft.com > wrote in message
news:63******** *************** ***********@mic rosoft.com... I am new to ASP.Net and I am trying to to make simple SQLConnection to the
pubs database that comes with SQLServer2000.
I have attempted many things to try and resolve it. I tried adding ASPNET
user in the security section of SQLServer2000, and I also removed the XP
firewall on the machine.
My SQLServer2000 and ASP.Net development are on the same server and I can
even make a connection to the database through VS environment.
The following is my VB.net connection string:
Dim conn As New
SqlConnection(" server=.;truste d_connection=Tr ue;database=pub s")