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

Linking Reporting assemblies

2 Answers 108 Views
General Discussions
This is a migrated thread and some comments may be shown as answers.
Julien
Top achievements
Rank 1
Julien asked on 18 Apr 2012, 02:59 PM
Hi,

I'm facing a little problem. I've updated my telerik's DLLs today (ASP.NET AJAX & Reporting).
Everything is working but the reporting part. Actually when i run my project, the ReportViewer works fine and i can see it beeing filled, but in visual studio i still have a warning on my tag : "Element 'ReportViewer' is a not known element.".
What's wrong with VS2010?
I let you see samples of my web.config :
<system.web>
    <compilation debug="true" targetFramework="4.0">
      <assemblies>
        <add assembly="System.Design, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B03F5F7F11D50A3A" />
        <add assembly="System.Windows.Forms, Version=4.0.0.0, Culture=neutral, PublicKeyToken=B77A5C561934E089" />
        <add assembly="System.Speech, Version=4.0.0.0, Culture=neutral, PublicKeyToken=31BF3856AD364E35" />
        <add assembly="Telerik.ReportViewer.WebForms, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
        <add assembly="Telerik.Reporting, Version=6.0.12.215, Culture=neutral, PublicKeyToken=a9d7983dfcc261be" />
      </assemblies>
    </compilation>
 
...
 
<pages>
    <controls>
      <add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI" />
      <add tagPrefix="tlkReporting" namespace="Telerik.ReportViewer.WebForms" assembly="Telerik.ReportViewer.WebForms"/>
    </controls>
And there is my .aspx tag :
<tlkReporting:ReportViewer ID="ReportViewer1" runat="server" Height="500px" Width="100%" Visible="False" />
I don't understand what's going on :/
If anyone could help me it would be great, thanks in advance

2 Answers, 1 is accepted

Sort by
0
Massimiliano Bassili
Top achievements
Rank 1
answered on 18 Apr 2012, 03:09 PM
Run the Reporting Upgrade Wizard if you haven't that would ensure all referenced assemblies are the same latest version. If you have copied reporting assemblies into bin from previous version - delete them.

All in all, if your application works, there is no problem and not being able to recognize a registered control is nothing new for VS after all, I've experienced such "errors" since VS2005.
0
Julien
Top achievements
Rank 1
answered on 18 Apr 2012, 05:20 PM
Ok indeed it's not the first time i see that kind of remark on the web but before i update it was all fine :/
Tags
General Discussions
Asked by
Julien
Top achievements
Rank 1
Answers by
Massimiliano Bassili
Top achievements
Rank 1
Julien
Top achievements
Rank 1
Share this question
or