467,083 Members | 1,261 Online
Bytes | Developer Community
Ask Question

Home New Posts Topics Members FAQ

Post your question to a community of 467,083 developers. It's quick & easy.

Having a problem to display the report on the reopt server

Hi friend need you help again.i am tring to display the reprot from the report server but getting the error. Error is this :
A data source instance has not been supplied for the data source 'Adventurework_vProductAndDescription'. and my code is like this
Expand|Select|Wrap|Line Numbers
  1.  
  2. using System;
  3. using System.Data;
  4. using System.Configuration;
  5. using System.Collections;
  6. using System.Web;
  7. using System.Web.Security;
  8. using System.Web.UI;
  9. using System.Web.UI.WebControls;
  10. using System.Web.UI.WebControls.WebParts;
  11. using System.Web.UI.HtmlControls;
  12. using Search.Searching;
  13. namespace Search
  14. {
  15.     public partial class RenderReport : System.Web.UI.Page
  16.     {
  17.         protected void Page_Load(object sender, EventArgs e)
  18.         {
  19.               if (!Page.IsPostBack)
  20.             {
  21.  
  22.                 ReportViewer1.ServerReport.ReportServerUrl = new Uri(Global.ReportServer.ToString());
  23.                 ReportViewer1.ServerReport.ReportPath = Global.ReportPath + Request["/path"];
  24.  
  25.  
  26.             }
  27.         }
  28.     }
  29. }
  30.  
  31.  

Please help me out with this probelm becuase i tried so many days to sloved it but i can't i know i am missing some kind of code what don't know what it is please help me
Mar 12 '08 #1
  • viewed: 573
Share:

Post your reply

Sign in to post your reply or Sign up for a free account.

Similar topics

4 posts views Thread by Rodrigo DeJuana | last post: by
1 post views Thread by Joe Bloggs | last post: by
6 posts views Thread by Shamin | last post: by
11 posts views Thread by Gregor Kovač | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.