我的报表展示页面代码是这样的:ReportTest.html页面:
<!DOCTYPE html>
<html>
<head>
${load("Include.html")}
<title>${Title}</title>
<link rel="stylesheet" href="/CSS/theme-cosmo.css" />
<link rel="stylesheet" href="/CSS/site.css" />
<link rel="stylesheet" href="/CSS/GrapeCity.ActiveReports.Viewer.Html.css" />
</head>
<body class="easyui-layout">
<script src="/Scripts/jquery-1.10.2.js"></script>
<script src="/Scripts/bootstrap-3.0.0.js"></script>
<script src="/Scripts/knockout-2.3.0.js"></script>
<script src="/Scripts/GrapeCity.ActiveReports.Viewer.Html.js"></script>
<script type="text/javascript">
$(function () {
var viewer = GrapeCity.ActiveReports.Viewer({
element: '#viewerContainer',
report: {
id: 'RPT_CaiLiaoKuCun.rdlx',
parameters: [{
name: 'ReportName',
value: '测试'
}]
},
reportService: {
url: '/Service/ActiveReports.ReportService.asmx'
},
uiType: 'desktop',
reportLoaded: function () {
},
localeUri: '/Scripts/i18n/Localeuri.txt'
});
});
</script>
<div id="viewerContainer" data-options="region:'center',collapsible:false" style="width:100%;height:400px;">
</div>
</body>
</html>
RPT_CaiLiaoKuCun.rdlx和ReportTest.html在同一目录,运行时始终报:
IIS配置:
DLL引用属性:
我感觉配置都没什么问题,为什么就是一直加载不了报表呢!
对了,我是下载的试用版,没有激活。
|