我正在使用ASP.Net网络表单首次尝试SSRS.
我创建了一个本地RDLC报告,并在"默认"Web表单中使用了ReportViewer.在智能标签下,我选择了"选择报告"并选择了RDLC报告.
当我按f5运行报告时,即使我从智能标记中选择了报告,也会显示以下错误.
"The report definition for report 'xxx' has not been specified."
Run Code Online (Sandbox Code Playgroud)
请让我知道为什么这不能按预期工作.
谢谢.
报告编码:
<asp:Content runat="server" ID="FeaturedContent" ContentPlaceHolderID="FeaturedContent">
<section class="featured">
<div class="content-wrapper">
<hgroup class="title">
<h1><%: Title %>.</h1>
<h2>Modify this template to jump-start your ASP.NET application.</h2>
</hgroup>
<p>
To learn more about ASP.NET, visit <a href="http://asp.net" title="ASP.NET Website">http://asp.net</a>.
The page features <mark>videos, tutorials, and samples</mark> to help you get the most from ASP.NET.
If you have any questions about ASP.NET visit <a href="http://forums.asp.net/18.aspx" title="ASP.NET Forum">our forums</a>.
</p>
</div>
</section> …Run Code Online (Sandbox Code Playgroud)