Web reportviewer doesnt fail, but the page loads forever RRS feed

  • Question

  • Hi,


    I'm trying to load a data set into the web reportviewer. I have looked at various guides, and the method i'm using is specifying the data fields with a xsd file and then load my dataset in, that has the same names. The xsd file should be alright because it worked when i used it with crystal reports and the same datasets.


    The problem arrises when i try to view the page - I can set a breakpoint at the first line of code and step through all the lines that load up data without any problems, but when its finished stepping through it returns to the browser and it still keeps loading forever.


    The code i use is:


    objCourseList = objProxy.ManagerCourseList(strInit);

    objCourseList.Tables[0].TableName = "UddanelsesSkema_MainTable";

    ReportViewer1.ProcessingMode = ProcessingMode.Local;

    ReportDataSource repDS = new ReportDataSource("UddanelsesSkema_MainTable", objCourseList.Tables[0]);



    ReportViewer1.LocalReport.ReportPath = Server.MapPath("KursusRapport.rdlc");



    I'm all out of ideas :-/

    Wednesday, August 22, 2007 12:30 PM