从网上下载了一个源代码,连接不上数据库怎么办
谁能帮我看一下
消息1Could not find schema information for the element 'system.web.extensions'.C:\Documents and Settings\Administrator\桌面\网上购物系统\Web.Config483C:\...\网上购物系统\
消息2Could not find schema information for the element 'scripting'.C:\Documents and Settings\Administrator\桌面\网上购物系统\Web.Config494C:\...\网上购物系统\
消息3Could not find schema information for the element 'webServices'.C:\Documents and Settings\Administrator\桌面\网上购物系统\Web.Config505C:\...\网上购物系统\
忽略错误运行的话:
在与 SQL Server 建立连接时出现与网络相关的或特定于实例的错误。未找到或无法访问服务器。请验证实例名称是否正确并且 SQL Server 已配置为允许远程连接。 (provider: 命名管道提供程序, error: 40 - 无法打开到 SQL Server 的连接
本机的数据库是sqlserver2008
[解决办法]
是你SQL Server没有设置好。你自己的程序能连接上吗
[解决办法]
你跟踪一下他的源码访问数据库那一段,看看是否跟你配置的一样。
[解决办法]
sa权限,看一下!在属性----》服务对象里!还有,改一下Shop的登陆密码,试试
[解决办法]