Having a problem to display the report on the reopt server

Collapse
X
 
  • Time
  • Show
Clear All
new posts
  • preeti13
    New Member
    • Aug 2007
    • 67

    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_ vProductAndDesc ription'. and my code is like this
    Code:
    using System;
    using System.Data;
    using System.Configuration;
    using System.Collections;
    using System.Web;
    using System.Web.Security;
    using System.Web.UI;
    using System.Web.UI.WebControls;
    using System.Web.UI.WebControls.WebParts;
    using System.Web.UI.HtmlControls;
    using Search.Searching;
    namespace Search
    {
        public partial class RenderReport : System.Web.UI.Page
        {
            protected void Page_Load(object sender, EventArgs e)
            {
                  if (!Page.IsPostBack)
                {
                    
                    ReportViewer1.ServerReport.ReportServerUrl = new Uri(Global.ReportServer.ToString());
                    ReportViewer1.ServerReport.ReportPath = Global.ReportPath + Request["/path"];
                    
                    
                }
            }
        }
    }

    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
Working...