data at the root level is invalid


  • I have moved a  rdl file from one server to another and then opened it in visual studio.

    I have changed the data source connections too.

    But I am getting the following error.

    One or more errors encountered while loading the designer. The errors are listed below.

    "Data at the root level is invalid. Line 6423,position 10"

    can anyone tell me how to fix this please?


    Wednesday, February 23, 2011 5:42 PM

All replies

  • Hi Shamen,

    It loos like your RDL file contains invalid XML.  It may have gotten corrupted.  Can you open it in a text editor?  Check  that the <DataSourceName> element is not inside <CommandText>.

    Please let us know your feedback.



    KG, MCTS
    Wednesday, February 23, 2011 6:05 PM
  • Hi Kumar,

    First part of XML code is;

    <?xml version="1.0" encoding="utf-8"?>
    <Report xmlns:rd="" xmlns="">
    <Description>Displays a comparison of two email campaigns delivered, open, click, opt-out and abuse rates for a selected date range.</Description>
    <DataSource Name="dsTestOLAP">
    <DataSet Name="TestDataSet">
    <Field Name="Folder_Name">

    This is where line and position are referenced.





    Wednesday, February 23, 2011 6:25 PM
  • Also when I try to deploy the report,I get following errors.

    Error 3 There are multiple root elements. Line 6133, position 14.  0 0 
    Error 10 The definition of the report '/Test_Report_New' is invalid.  0 0 





    Wednesday, February 23, 2011 7:20 PM