检查了很久,发现数据库名称少了一个S。
第一步,建议有这个问题的朋友首先在这里开启TCP/IP。
第二步,在VS里,工具-选项-SQL Server工具的实例与SQL server的实例一致。
在报表生成器中编辑报表时,打开查询编辑器会出现以下错误
解决办法:双击数据源-凭据-使用Windows身份验证
You have specified integrated security or
credentials in the connection string for the
data source, but the data source is configured
to use a different credential type. To use the values
in the connection string, you must configure
the unattended report processing account for the report server.