Cocould not load file or assembly 'Microsoft. reportviewer. Common, version = 11.0.0.0 Exception Handling

Source: Internet
Author: User

After the Asp.net. rdlc report is developed on the local machine, it is no problem to deploy it locally.

When the website is deployed on IIS after being published, the following error occurs on the new computer (only. Net framwork4.5 is installed:

 

"Cocould not load file or assembly Microsoft. reportviewer. webforms, version = 11.0.0.0 ......

Or


"Cocould not load file or assembly 'Microsoft. reportviewer. Common, version = 11.0.0.0 ......

 

To solve the problem above, install the following components:

Reportviewer. MSI

You may be prompted to install reportviewer. MSI:

Sqlsysclrtypes. MSI

After the above two components are installed, the following error may occur when you run the site again:


"ASP. NET reportviewer native compiler return value: '[bc2001] File 'error"

Don't worry. follow these steps:

1. Select "-" application pool "for this site, right-click"-", and click" Set application pool default settings ", for example:

2. Select "Process Model"> "ID"> "custom account" and set it to the administrator user name and password. The operation is successful.

 

References:

Http://stackoverflow.com/questions/22253607/could-not-load-file-or-assembly-microsoft-reportviewer-common-version-11-0-0-0

Http://randypaulo.wordpress.com/2011/07/28/asp-net-reportviewer-native-compiler-return-value-%E2%80%98bc2001-file-error/

 

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.