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

'ReportViewer' is ambiguous in the namespace

3 Answers 384 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Dwayne Starkey
Top achievements
Rank 1
Dwayne Starkey asked on 15 Mar 2011, 06:10 PM
I am using reporting version 4.1.10.921. I have been getting this message since I upgraded a while back. I have not been able to fix but left alone since all was working. Well, it has caught up with me and now we have no reports and I get the error below:

'ReportViewer' is ambiguous in the namespace 'Telerik.ReportViewer.WebForms'

I checked webconfig and all telerik.reporting versions are correct. I checked dll's and all versions are correct.  Any ideas?

3 Answers, 1 is accepted

Sort by
0
Dwayne Starkey
Top achievements
Rank 1
answered on 15 Mar 2011, 06:34 PM
Ok, so I decided to add a total brand new page to see when the issue arrives. As soon as I add my reportviewer to the page i get the issue. It does create the page reference to the reportviewer assembly....  Anyone know what else I can try?

Thanks

 

<%@ Register Assembly="Telerik.ReportViewer.WebForms, Version=4.1.10.921, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" Namespace="Telerik.ReportViewer.WebForms" TagPrefix="telerik" %>

 

0
Accepted
Massimiliano Bassili
Top achievements
Rank 1
answered on 16 Mar 2011, 05:32 PM
This is definitely a mismatch problem - you either have references to several versions of this assembly, or you have named your project with similar name to the viewer's namespace. Check the dll file generated for the compiled report library to see which version of Reporting it is compiled with.

Cheers
0
Dwayne Starkey
Top achievements
Rank 1
answered on 17 Mar 2011, 12:41 AM
Thanks I removed everything I could then reinstalled the report version 4.1.10.921. All seems ot be working fine. There must have been a mismatch somewhere...
Tags
General Discussions
Asked by
Dwayne Starkey
Top achievements
Rank 1
Answers by
Dwayne Starkey
Top achievements
Rank 1
Massimiliano Bassili
Top achievements
Rank 1
Share this question
or