我试图在MVC Asp.net中为我的项目添加报告(Visual Studio 2017)。添加(多次尝试)包后的问题,当我想将报告添加到我的格式时,我收到此错误:the server tag 'rsweb:ReportViewer' is ambiguous.modify the associated registration that causes ambiguity and choose a new tag prefix
这是我在.aspx
页面中的代码:
<!DOCTYPE html>
<html xmlns="http://www.w3.org/1999/xhtml">
<head runat="server">
<meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
<title></title>
</head>
<body>
<form id="form1" runat="server">
<div>
<asp:ScriptManager ID="ScriptManager1" runat="server"></asp:ScriptManager>
<rsweb:ReportViewer ID="ReportViewer1" runat="server"></rsweb:ReportViewer>
</div>
</form>
</body>
</html>
感谢您的帮助。 当我想在工具箱中添加其他项目时,这就是我所拥有的: enter image description here