The code in the aspx page looks something like this:
<%@ Register Assembly="Microsoft.ReportViewer.WebForms, Version=9.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a" Namespace="Microsoft.Reporting.WebForms" TagPrefix="rsweb" %>
<rsweb:ReportViewer ID="MainReportViewer" runat="server" ProcessingMode="Remote" Width="100%" ShowParameterPrompts="False">
<ServerReport ReportPath="/SubDirectory/ReportName" ReportServerUrl="http://sqlrs/reportserver" />
</rsweb:ReportViewer>
ReportName is the name of your .RDL file, etc. Your report path does not have to have a subdirectory. The ReportServerUrl is part of the SQL Server Reporting Services configuration information (listed as "Reporting Services URL").
Your ASP.NET bin directory needs to include the following files (maybe not on your dev machine, but on your prod web server more likely):
- Microsoft.ReportViewer.Common.dll
- Microsoft.ReportViewer.WebForms.dll