我的解决方案包括几个步骤,大多数不支持 - 但它的工作。
克隆现有的C:\ Program Files文件\ Microsoft动态CRM \ CRMWeb \ CRMReports \浏览器\ viewer.aspx到\ viewerNoToolbar.aspx
更新在viewerNoToolbar.aspx下面的代码删除工具栏从SSRS: -
function reportLoaded()
{
if (oFrame.readyState === "complete")
{
addToRecent();
}
到
function reportLoaded()
{
if (oFrame.readyState === "complete")
{
addToRecent();
var frameDoc = oFrame.contentDocument || oFrame.contentWindow.document;
var reportViewerToolbar = frameDoc.getElementById("reportViewer_Toolbar");
reportViewerToolbar.style.display = "none";
}
插入一个DIV隐藏现有的CRM工具栏和移动现有resultFrame的IFrame了DIV的
</div>
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
到
</div>
<div style="display: none">
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
也由
</table>
</body>
改变之下将其关闭关闭(并删除与resultFrame相关的现有td块)
</table>
</div>
<table cellspacing="0" cellpadding="0" width="100%" height="100%">
<tr style="height: 100%;">
<td colspan="2" style="padding-top: 5px; padding-bottom: 10px; border-width: 2px;
border-color: #000000">
<div id="divResultFrame">
<iframe name="resultFrame" id="resultFrame" src="/_static/blank.htm" style="border: 0px;
margin: 0px; padding: 0px; width: 100%; height: 100%;"></iframe>
</div>
</td>
</tr>
</table>
</body>
更改您的查询
http://xxx3:5555/CCPFINCRM/crmreports/viewer/viewerNoToolBar.aspx?
,不要担心RC:工具栏
好运 格伦
什么是CRM的错误信息? – BenPatterson1 2012-03-07 15:59:38
我已更新我的问题。 – Venkatesh 2012-03-08 04:44:55
您的跟踪日志中会出现更详细的错误消息(请参阅此处了解如何设置跟踪:http://support.microsoft.com/kb/907490),可以发布该消息吗? – BenPatterson1 2012-03-08 14:05:27