ASP.Net 求助

大家好谢谢大家帮忙给看看如下代码。。为什么老是连接不上数据库。。。错误提示信息如下:

“/Web Server”应用程序中的服务器错误。

SQL Server 不存在或访问被拒绝。
说明: 执行当前 Web 请求期间,出现未处理的异常。请检查堆栈跟踪信息,以了解有关该错误以及代码中导致错误的出处的详细信息。

异常详细信息: System.Data.SqlClient.SqlException: SQL Server 不存在或访问被拒绝。

源错误:

行 10: command.CommandType = CommandType.StoredProcedure
行 11:
行 12: connection.Open()
行 13:
行 14:

源文件: D:\E-Tutorial\Self Study\WroxJokeShop\BusinessObjects\Catalog.vb 行: 12

堆栈跟踪:

[SqlException: SQL Server 不存在或访问被拒绝。]
System.Data.SqlClient.SqlConnection.Open() +761
WroxJokeShop.Catalog.GetDepartments() in D:\E-Tutorial\Self Study\WroxJokeShop\BusinessObjects\Catalog.vb:12
WroxJokeShop.DepartmentsList.Page_Load(Object sender, EventArgs e) in D:\E-Tutorial\Self Study\WroxJokeShop\UserControls\DepartmentsList.ascx.vb:28
System.Web.UI.Control.OnLoad(EventArgs e) +67
System.Web.UI.Control.LoadRecursive() +29
System.Web.UI.Control.LoadRecursive() +92
System.Web.UI.Control.LoadRecursive() +92
System.Web.UI.Page.ProcessRequestMain() +724

版本信息: Microsoft .NET 框架版本:1.0.3705.0; ASP.NET 版本:1.0.3705.0