数据库连接错误

我采用DotNetNuke架构开发网站,数据库是SqlServer2005。在DotNetNuke的配置文件Web.config中数据库连接字符串是这样的:  
 <add name="SiteSqlServer" connectionString="Data Source=localhost;Initial Catalog=Cumstomers;User ID=AAA;Password=BBB" providerName="System.Data.SqlClient" />

SqlServer数据库Cumstomers的用户名和密码也分别为AAA和BBB。但是运行网站时发生如下错误,请问这是怎么回事呢?

A network-related or instance-specific error occurred while establishing a connection to SQL Server. The server was not found or was not accessible. Verify that the instance name is correct and that SQL Server is configured to allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)

作者: starkingliwei   发布时间: 2011-06-16

SQL SERVER 数据库的服务没有开启吧?

作者: maco_wang   发布时间: 2011-06-16

网络出问题了..

作者: fredrickhu   发布时间: 2011-06-16