locked
undocumented error in rdlc RRS feed

  • Question

  • User1610382325 posted

    Hi

    When i am trying to add dataset i am geetting this error. 

    Any solution.

    Regards,
    Ponraj

    Wednesday, May 13, 2015 2:40 AM

Answers

  • User1711366110 posted

    Hi Ponraj,
       As per this case, you can try the following steps which may help you to resolve this issue :

    1. Add a datasource in your report viewer via objectdatasource like below

    <asp:ObjectDataSource ID="ods1" runat="server"
                OldValuesParameterFormatString="..."
                SelectMethod="..."
                TypeName="...">
                <SelectParameters>
                    <asp:QueryStringParameter Name="Id" QueryStringField="Id"
                        Type="Int32" />
                </SelectParameters>
    </asp:ObjectDataSource>
    

    2. Go to its designer and click on the arrow appearing in front of datasource, and click on it.

    3. Click Refresh Schema and Save the file.

    4. Go to its code again and comment/remove the datasource code.

    5. then you can add new dataset in rdlc. hopefully It will allow to add new dataset hereafter.

    --
    with regards,
    Edwin

    • Marked as answer by Anonymous Thursday, October 7, 2021 12:00 AM
    Wednesday, May 13, 2015 10:14 PM