今天使用Remote Desktop 链接到Remote Server,在SSDT中创建一个RDL文件,点击PreView预览时,出现以下错误信息
查看details information
===================================
An error prevented the view from loading. (Microsoft Visual Studio)
===================================
An error occured while attempting to start the report preview worker process. (Microsoft.ReportingServices.Designer.11.0)
调试几遍后,百思不得其解,从goole上发现一个URL,Page中提供一个解决方案:
https://social.msdn.microsoft.com/Forums/sqlserver/en-US/f717c592-5022-43e3-9872-c10c1cf7f653/ssdt-2012-report-preview-not-working?forum=sqlreportingservices&prof=required
Based on the current information, I guess that you are using Remote Desktop connection, right? If so, it is a known issue "Report Design: SSDT fails to launch Preview process if SSDT is launced via RDP in Seamless/RAIL mode". To work around this issue, please right click on the Report from the SSDT Solution pane and select “Run” to preview the report.
We don‘t need to deploy the report to the report server. When we right click the report in Report Designer, there is a "Run" option in the right-click menu. Please click it instead of clicking the Preview button. Please see the screenshot:
虽然这解释了我的疑惑,但是,之前我的同事使用Remote Destop ,点击PreView 查看报表,并没有出现任何异常,如果有人知道,请不吝赐教,谢谢