xml 文件内容如下:
<?xml version="1.0" encoding="utf-8" ?>
连接字符串如下:
<!--连接字符串-->
服务器报错如下:
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)
到目前为止,不知道是xml文件路径问题还是服务器配置问题。
求大神支柱~