未能加載文件或程序集 Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0

整理錯誤集。某一天在啓動項目的時候,出現了未能加載文件或程序集 Microsoft.ReportViewer.ProcessingObjectModel, Version=10.0.0.0錯誤
爲了防止下次還會出現這樣的問題。記錄一下,產生問題的緣由和解決的方法。windows

產生緣由

在系統內註冊或在Bin下找不到這個dll。(Microsoft.ReportViewer.ProcessingObjectModel.dll)。服務器

解決方案

  • 方法1:能夠到微軟下載Microsoft ReportViewer 2010 SP1 Redistributable在應用服務器上安裝。Microsoft.ReportViewer.ProcessingObjectMode.dll會在系統內自動註冊解決問題。
  • 方法2:若是不想在應用服務器上安裝,能夠直接將Microsoft.ReportViewer.ProcessingObjectModel.dll文件拷貝到應用服務器的Bin目錄內。

注意:
Microsoft.ReportViewer.ProcessingObjectMode.dll文件能夠在你安裝過 MicrosoftReportViewer 2010 SP1 Redistributable的開發機上的c:\windows\assembly目錄內找到。code

相關文章
相關標籤/搜索