【问题标题】:An error occurred during local report processing - SSDT本地报告处理过程中发生错误 - SSDT
【发布时间】:2018-01-23 13:39:21
【问题描述】:

我计划从 Crystal Reports 转移到 SSDT。 我在 Visual Studio 中创建了一个报表项目,并试图创建一个从单个表中提取 3 列的基本报表。

我的查询是:

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

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

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

“本地报告处理过程中发生错误。错误有 在报告处理期间发生。”

谁能告诉我怎么回事?

注意:我也停用了防病毒和 Windows 防火墙。


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


其他错误日志:

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

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

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

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


节目地点:

在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SetConnectionProtocol() 在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.SoapMethodWrapper`1.ExecuteMethod(Boolean setConnectionProtocol) 在 Microsoft.SqlServer.ReportingServices2010.RSConnection2010.ListItemTypes() 在 ReportServiceClient2010.CheckAuthenticated() 在 Microsoft.ReportDesigner.Project.ReportClientManager.DetectEndpointAndAuthenticate(字符串 url,ICredentials 凭据,字符串& authCookieName,Cookie& authCookie,EndpointType& endpointType) 在 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 (System)


节目地点:

在 System.Net.Sockets.Socket.DoConnect(EndPoint endPointSnapshot, SocketAddress socketAddress) 在 System.Net.ServicePoint.ConnectSocketInternal(Boolean connectFailure, Socket s4, Socket s6, Socket& 套接字, IPAddress& 地址, ConnectSocketState 状态, IAsyncResult asyncResult, Exception& 异常)

【问题讨论】:

    标签: c# visual-studio-2015 rdlc sql-server-data-tools sql-server-2005-express


    【解决方案1】:

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

    我不得不卸载 SQL Server 2005 Express。在安装 SQL Server 2008 R2 Express 时,它有一个安装“报告服务”的选项。

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

    【讨论】:

      猜你喜欢
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 2015-05-12
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      • 1970-01-01
      相关资源
      最近更新 更多