【发布时间】: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