[英]the following error after installing crystal report for vsts 2010
我應該這樣做,我剛為vs2010安裝了水晶報告
現在這個錯誤
Server Error in '/' Application.
Compilation Error
Description: An error occurred during the compilation of a resource required to service this request. Please review the following specific error details and modify your source code appropriately.
Compiler Error Message: CS0433: The type 'CrystalDecisions.Web.CrystalReportViewer' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Web\10.5.3700.0__692fbea5521e1304\CrystalDecisions.Web.dll' and 'c:\WINDOWS\assembly\GAC_MSIL\CrystalDecisions.Web\13.0.2000.0__692fbea5521e1304\CrystalDecisions.Web.dll'
Source Error:
Line 80: <asp:Button ID="Button1" runat="server" Text="Button_Test_Test" OnClick="working" />
Line 81:
Line 82: <CR:CrystalReportViewer ID="CrystalReportViewer1" runat="server" AutoDataBind="true" ReportSourceID="CrystalReport1.rpt" />
Line 83:
Line 84: </asp:Panel>
嘗試這個。 打開web.config文件,確保提及Crystal Report的所有引用都是13.0.2000.0。 大會部分會有幾個(我認為12或13)。 接下來打開您擁有Report Viewer的頁面,並確保注冊的版本與web.config中的版本相同
<%@ Register assembly =“CrystalDecisions.Web,Version = 13.0.2000.0,....
我以前沒有遇到過你的確切錯誤,但我有幾個類似的錯誤並編輯這兩個文件以確保所有版本的排序對我來說每次都有效。
聲明:本站的技術帖子網頁,遵循CC BY-SA 4.0協議,如果您需要轉載,請注明本站網址或者原文地址。任何問題請咨詢:yoyou2525@163.com.