I am working on the Asp.net C#, .Net framework 4.8 and visual studio 2022. Before using that i was using visual studio 2008 and framework 3.5 so after the update i was getting issues regarding crystal report and keep asking about crystal report runtime so i updated crystal report with the latest version for visual studio so now i am getting new error which is
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:WindowsassemblyGAC_MSILCrystalDecisions.Web10.5.3700.0__692fbea5521e1304CrystalDecisions.Web.dll' and 'c:WindowsMicrosoft.NETassemblyGAC_MSILCrystalDecisions.Webv4.0_13.0.4000.0__692fbea5521e1304CrystalDecisions.Web.dll'
Source Error:
Line 287:
Line 288: [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 289: private global::CrystalDecisions.Web.CrystalReportViewer @__BuildControlCrystalReportViewer1() {
Line 290: global::CrystalDecisions.Web.CrystalReportViewer @__ctrl;
Line 291:
Source File: c:UserszzzzzzzzAppDataLocalTempTemporary ASP.NET Filesvs96a8c4226d872058App_Web_showreport.aspx.dfa151d5.zspypq-p.0.cs Line: 289
I have no idea what is this error.
I tried to change web config file under the configuration heading of crystal report and change the version 10 into 13 but no luck same error i got as showed you above. after resolving this issue it should show a report.
Any help regarding this appreciated