[原创] 部署含有ReportView的控件的ASPX页面时出现错误

 

部署含有ReportView的控件的ASPX页面时有错误,怎么也搞不好

把 Microsoft Visual Studio 8\SDK\v2.0\BootStrapper\Packages\ReportViewer下面的ReportViewer.exe 重新安装也不行,

无奈何,用最土的办法,

把上面的DLL找到放在BIN目录下面。 其实,我在GAC中看到了上面三个程序集,版本也正确,但是就是不能运行,重启服务器也没有用。

 

Parser Error
Description: An error occurred during the parsing of a resource required to service this request. Please review the following specific parse error details and modify your source file appropriately.

Parser Error Message: Could not load file or assembly 'Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies. The system cannot find the file specified.

Source Error:


Line 1:  <%@ Page Language="C#" MasterPageFile="~/IPR/Default.master" AutoEventWireup="true" CodeFile="RequestReport.aspx.cs" Inherits="IPR_RequestReport" Title="Request Report" %>
Line 2: 
Line 3:  <%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=8.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a"
Line 4:      Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
Line 5:  <asp:Content ID="Content1" ContentPlaceHolderID="ContentPlaceHolder1" Runat="Server">
 

OK.  还是解决了。

 

ReportView ,可以直接放到BIN目录下。

 

后来,升级到 vs2008, .net 3.5 时,有遇到新问题。

幸好有这位仁兄,真是很感激他。

 

http://www.cnblogs.com/sicily/archive/2009/02/03/1233922.html

 

Could not load file or assembly 'Microsoft.ReportViewer.ProcessingObjectModel, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a' or one of its dependencies.

下载这个文件。

/Files/lshvs2005/Microsoft.ReportViewer.ProcessingObjectModel.rar

 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值