【发布时间】:2015-06-11 06:10:58
【问题描述】:
我尝试在下面使用 connectionString 来连接 netezza
<add name="cn" connectionString="Data Source=10.209.46.210:5480;User ID=kbanke2e;Initial Catalog=EDW" providerName="NZOLEDB"/>
想要截断数据库中的表并得到以下消息
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: SQL Network Interfaces, error: 25 - Connection
string is not valid)
但是当我配置与服务器资源管理器的连接时,Visual Studio 可以连接数据库
请帮我解答这个问题
【问题讨论】:
标签: asp.net vb.net connection-string