ASP.NET Webform웹폼 도구 상자에 ActiveReports탭 안뜨는 문제 및 웹 뷰어 관련 문의드립니다.
페이지 정보
작성자 상초리 작성일 2021-08-05 17:12 조회 1,720회 댓글 1건본문
첨부파일
관련링크
안녕하세요~ 앞번에 문의 드린 소스 코드 관련하여 출력 테스트를 진행하고 있습니다.
관련 하여 문의 사항이 있어서 글 남깁니다.
정상적으로 activereports15_v15.0.0.0.2 버전 설치되어 있으며 환경은 visual studio 2015를 사용하고 있습니다.
닷넷 버전은 4.6.2 사용 중에 있습니다.
새항목을 추가해서 보면 Reporting 이라고해서 active reports 관련 항목들이 존재하는데
.aspx 페이지에서 도구상자에 보면 ActiveReports탭이 존재하지않습니다. 관련해서 항목 선택을 하여
설치되어있는 GrapeCity.ActiveReports.Web.dll 을 수동으로 추가하면 webviewer가 추가가 됩니다.
그리고 주신 소스파일로 출력을 해보면
익스플로러에서나, 크롬에서 실행해보면
Report not found: $ReportInstance_49317619 이런메세지가 뜨면서 출력이 되지 않습니다.
관련해서 확인해야 할 부분이 있으면 확인 부탁드립니다.
감사합니다.
소스 입니다 aspx
<%@ Page Language="C#" AutoEventWireup="true" CodeBehind="testprint.aspx.cs" Inherits="Property.testprint" CodeFile="testprint.aspx.cs" %>
<%@ Register assembly="GrapeCity.ActiveReports.Web" namespace="GrapeCity.ActiveReports.Web" tagprefix="ActiveReportsWeb" %>
<!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>
<ActiveReportsWeb:WebViewer ID="WebViewer1" runat="server" height="990px" width="1311px">
</ActiveReportsWeb:WebViewer>
</div>
</form>
</body>
</html>
댓글목록
상초리님의 댓글
상초리 작성일
도구 상자가 안뜨는 이슈는 vs2015 버전에서
Symptoms: On installing NuGet packages, the controls are automatically added to the toolbox of all the supported Visual Studio versions, except for Visual Studio 2015.
Cause: If you are using Visual Studio 2015, the NuGet packages do not add the controls on the toolbox by default. You need to add the controls manually as follows.
Solution: Steps to add controls to the Visual Studio 2015's toolbox are as follows:
- Install the NuGet packages (in WinForms or WebForms application).
- Right-click anywhere on the toolbox and select Add Tab.
- Right-click the newly added tab and select Choose Items.
- In the Choose Toolbox Items dialog with .NET Framework Components tab selected, click Browse.
- Select the assembly present inside the package you installed in the application. The path to the assembly is similar to the following:
[App name]\packages\{Package name}\lib\net462\{Assembly}
The added control(s) should now display in the tab.
위의 내용을 참고하여 수동으로 추가 처리하였습니다.
웹뷰어로 사용자 출력안되는 부분만 확인 좀 부탁드립니다.