I have used the microsoft report viewer on the asp.net page. The report is installed on a report server. Does anyone have the complete code which would eliminate the error.
if you are using report viewer, why even connect to report server? You can render the report by uploading the rdlc file. See this site, http://www.gotreportviewer.com/ If you must connect to report server, see http://forum.discountasp.net/showthread.php?t=4402
Bruce, Do you have the complete code for this post ? "Rendering Reports housed in Reporting Service Server on your ASP.NET pages"
Bruce, I am a newbie so pls excuse. I have used the code from the post and it is throwing up these errors. I am a bit lost Error 1 'InitializeCulture' is not a member of 'ASP.report_aspx'. C:\Documents and Settings\rudyp\My Documents\Visual Studio 2008\WebSites\WebSite1\Report.aspx 1 Error 2 'Context' is not a member of 'Report'. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 3 'Context' is not a member of 'Report'. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 4 Class 'report_aspx' must implement 'ReadOnly Property IsReusable() As Boolean' for interface 'System.Web.IHttpHandler'. Implementing property must have matching 'ReadOnly' or 'WriteOnly' specifiers. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 5 Class 'report_aspx' must implement 'Sub ProcessRequest(context As HttpContext)' for interface 'System.Web.IHttpHandler'. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 6 'GetWrappedFileDependencies' is not a member of 'ASP.report_aspx'. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 7 property 'SupportAutoEvents' cannot be declared 'Overrides' because it does not override a property in a base class. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 8 Value of type 'ASP.report_aspx' cannot be converted to 'System.Web.UI.Page'. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 9 function 'GetTypeHashCode' cannot be declared 'Overrides' because it does not override a function in a base class. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 10 sub 'ProcessRequest' cannot be declared 'Overrides' because it does not override a sub in a base class. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 11 'ProcessRequest' is not a member of 'Report'. c:\WINDOWS\Microsoft.NET\Framework\v2.0.50727\Temporary ASP.NET Files\website1\b4dcb4c8\3bcf123d\App_Web_report.aspx.cdcab7d2.txvgx5st.0.vb Error 12 'Context' is not a member of 'Report'. C:\Documents and Settings\rudyp\My Documents\Visual Studio 2008\WebSites\WebSite1\Report.aspx 1 1 C:\...\WebSite1\ Error 13 'Context' is not a member of 'Report'. C:\Documents and Settings\rudyp\My Documents\Visual Studio 2008\WebSites\WebSite1\Report.aspx 1 1 C:\...\WebSite1\ If you could help on this I would appreciate
using Reporting Viewer control to read report from RS is really a pain in the a** I don't have the whole set of code as it was created a while back. Have you considered using local mode?