数据库连接的问题
---------------------------------------
紧急求助asp.net2.0程序连接sqlserver2000数据库出现问题
服务器配置:
windowsxp
framework2.0
sqlserver2000
出现如下错误:
An error has occurred while establishing a connection to the server. When connecting to SQL Server 2005, this failure may be caused by the fact that under the default settings SQL Server does not allow remote connections. (provider: Named Pipes Provider, error: 40 - Could not open a connection to SQL Server)
-----------------------------------------
检查后发现是webconfig的配置问题,将server=local,改成本地计算机名,问题解决。
http://blog.csdn.net/superdont/archive/2007/01/31/1498556.aspx
Word教程网 | Excel教程网 | Dreamweaver教程网 | Fireworks教程网 | PPT教程网 | FLASH教程网 | PS教程网 |
HTML教程网 | DIV CSS教程网 | FLASH AS教程网 | ACCESS教程网 | SQL SERVER教程网 | C语言教程网 | JAVASCRIPT教程网 |
ASP教程网 | ASP.NET教程网 | CorelDraw教程网 |