本地报告处理期间发生错误 - SSDT

An error occurred during local report processing - SSDT

我打算从 Crystal 报告转向 SSDT。 我在 Visual Studio 中创建了一个报告项目,并试图创建一个从单个 table.

中提取 3 列的基本报告

我的查询是:

select SRNO, EMPSRNO, PYMONTH 
  from PYHeader
 where PYMONTH = 'Jan-2018'

我创建了数据源和数据集,在设计视图中拖了一个 table 控件,并将 3 列拖到 table 的 3 列。

代码在查询设计器中运行正常,但当我尝试预览它时,它显示错误:

"An error occurred during local report processing. An error has occurred during report processing."

谁能告诉我哪里出了问题?

注意:我也停用了防病毒软件和 windows 防火墙。


组件: 我在用: Visual Studio Enterprise 2015 版本 14.0.24720.00 更新 1, SQL Server 2005 Express, .NET Framework 4.6.01038,SSDT_14.0.61712.050_EN,Win 10 专业版 64 位


其他错误日志:

===================================

无法连接到报表服务器http://localhost/reportserver。验证 TargetServerURL 是否有效以及您是否具有连接到报表服务器的正确权限。 (Microsoft SQL 服务器报表设计器)

===================================

无法连接到远程服务器(Microsoft.ReportingServices.RsClient)


节目地点:

在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol() 在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(布尔值 setConnectionProtocol) 在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes() 在 ReportServiceClient2010.CheckAuthenticated() 在 Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(字符串 url,ICredentials 凭据,字符串和 authCookieName,Cookie 和 authCookie,端点类型和端点类型) 在 Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(字符串 url,ConnectionProperties& connectionProperties) 在 Microsoft.ReportDesigner.Project.ReportClientManager.GetCredentials(字符串 url,CancelFlag cancelFlag,IPromptCreds promptCredentials) 在 Microsoft.ReportDesigner.Project.ReportProjectDeployer.PrepareDeploy()

===================================

无法建立连接,因为目标机器主动拒绝 127.0.0.1:80(系统)


节目地点:

at System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) 在 System.Net.ServicePoint.ConnectSocketInternal(布尔连接失败、套接字 s4、套接字 s6、套接字和套接字、IPAddress 和地址、ConnectSocketState 状态、IAsyncResult asyncResult、异常和异常)

问题已解决。 我没有安装 SQL 服务器报告服务 (SSRS) - 在 Services.msc 它应该显示 "SQL Server Reporting Services (MSSQLSERVER)" 但不存在。 此外,我当前的 SQL 服务器版本(即 2005)不兼容。

我不得不卸载 SQL Server 2005 Express。安装 SQL Server 2008 R2 Express 时,它有一个安装 "Reporting Service".

的选项

那个,以及后来的一些配置,现在工作正常。