示例程序 :
C:\Program Files\Microsoft SQL Server\100\Samples\Reporting Services\Extension Samples\PrinterDelivery Sample
我按照示例程序目录下 Readme_PrinterDelivery.htm来部署程序
分别在 rsreportserver.config 中加入 extension 节点
在 rssrvpolicy.config 加入 code group 以提供 FullTrust
部署完后,打开报表管理器,在订阅处,可以看到新增加扩展,一切看起来很好,可是就是无法调试。
我是按照以下步骤调试的:
-
在 vs2010 中打开 PrinterDelivery Sample
-
编译 PrinterDelivery Sample 并将 .dll 和 .pdb 文件部署到 ReportServer/Bin 入 ReportManger/Bin 目录下。
-
在 vs2010 中打开 PrinterDelivery Sample 程序中构造函数处设置断点。
-
选择 调试-》附加到进程-》选择 ReportingServicesService.exe 附加.
问题是 :
一旦成功附加 ReportingServicesService.exe , I 我就无法打开报表管理器页面 http://localhost/reports,每次打开页面就跟死了一样,不过如果中断调试,就可以顺利的打开 页面
我查看了 报表服务的日志,可是看不出什么错误。
我觉得可能在某些地方配置出问题了,可是我找了三天也找不到问题所在,有谁能帮帮忙吗?感激不尽。。