2016-08-11 96 views
-2

每次尝试在Reporting Services表单身份验证中注册新用户时,都会收到跟随错误。我不知道如何摆脱它。我遵循here的步骤。连接字符串在报告服务中无效SQL Server 2012

错误信息是:

An error occurred while attempting to add the account. 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)

任何溶液?

+1

修复您的连接字符串! – Kinetic

+1

向我们显示您的连接字符串 – CodeNotFound

+0

SqlConnection( “Server = SERVERNAME \\ MSSQLSERVER;”+ “Integrated Security = SSPI;”+ “database = UserAccounts”)。 – LittleBirdy

回答

0

您的连接字符串不正确。如果您有疑问,请使用除程序之外的其他工具进行测试。首先要检查的是服务器是否实际可访问,因为消息指出The server was not found or was not accessible

+0

事实上,我不允许通过Windows身份验证或表单身份验证通过SSMS连接到报告服务。我在报表配置管理器中的扩展部署未加入任何服务器。 – LittleBirdy

+0

也许你的网络管理员应该为你解决这个问题。 –

+1

我已经使用udl测试过连接,而且succeed.t非常简单,我必须创建一个新的报表服务器数据库,并在扩展部署中加入服务器。 – LittleBirdy