This is a migrated thread and some comments may be shown as answers.

Error after Upgrading

2 Answers 276 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
mshooot
Top achievements
Rank 1
mshooot asked on 25 Mar 2011, 09:28 AM

I upgrade to q1 2011 and get this error

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 'Telerik.ReportViewer.WebForms.ReportViewer' exists in both 'c:\WINDOWS\assembly\GAC_MSIL\Telerik.ReportViewer.WebForms\5.0.11.316__a9d7983dfcc261be\Telerik.ReportViewer.WebForms.dll' and 'c:\WINDOWS\Microsoft.NET\Framework\v4.0.30319\Temporary ASP.NET Files\root\42723e18\d4dd882e\assembly\dl3\59e46166\76f760b8_fde0cb01\Telerik.ReportViewer.WebForms.DLL'

Source Error:

Line 208:        
Line 209:        [System.Diagnostics.DebuggerNonUserCodeAttribute()]
Line 210: private global::Telerik.ReportViewer.WebForms.ReportViewer @__BuildControlReportViewer1() {Line 211:            global::Telerik.ReportViewer.WebForms.ReportViewer @__ctrl;
Line 212:         

2 Answers, 1 is accepted

Sort by
0
Accepted
Steve
Telerik team
answered on 25 Mar 2011, 09:34 AM
Hi mshooot,

The error you have encountered can occur whenever you have different versions of Telerik Reporting assemblies, due to improper upgrade. Please run the Upgrade Wizard manually to make sure it upgrades your application properly. If the error persists, please check all references manually and make sure they point to the latest version.

Generally if you plan on upgrading all of your projects with the latest version of Telerik Reporting, you no longer need the older versions and you can go ahead and uninstall them in order to avoid such problems. Additionally if you're using web site project, make sure you delete manually older Telerik Reporting assemblies from the bin folder, as they are not affected by the Upgrade Wizard.

All the best,
Steve
the Telerik team
0
mshooot
Top achievements
Rank 1
answered on 25 Mar 2011, 10:07 AM
Thanks
Just delete reporting dll from bin folder and work good
Tags
General Discussions
Asked by
mshooot
Top achievements
Rank 1
Answers by
Steve
Telerik team
mshooot
Top achievements
Rank 1
Share this question
or