title: Unknown server tag 'rsweb:ReportViewer'
body: <p>I am a newbie to asp.net and trying to use report viewer control for my reports in sharepoint.</p>
  
  <p>In my web.config file i added this line:</p>
  
  <pre><code>&lt;SafeControl Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms.ReportViewer" TypeName="*" Safe="True"/&gt;
  </code></pre>
  
  <p>In my aspx page I registered the assembly</p>
  
  <pre><code>&lt;%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms" tagprefix="rsweb" %&gt;
  </code></pre>
  
  <p>It gives me this error:    </p>
  
  <p><strong>The control type 'Microsoft.Reporting.WebForms.ReportViewer' is not allowed on this page. The type is not registered as safe.</strong>  </p>
  
  <p>When I change the code in my aspx page to this </p>
  
  <pre><code>&lt;%@ Register assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" namespace="Microsoft.Reporting.WebForms.ReportViewer" tagprefix="rsweb" %&gt;
  </code></pre>
  
  <p>I get this:</p>
  
  <p><strong>An error occurred during the processing of . Unknown server tag 'rsweb:ReportViewer'.</strong> </p>
  
  <p>Can anyone help me? Thanks</p>