locked
SSRS Error "Operation is not valid due to the current state of the object" RRS feed

  • Question

  • I got a strange error in a report.

    When the report is opened it runs fine with default parameters but as soon as I run it again, with or without modified parameters, it just shows "Error". The message is "Operation is not valid due to the current state of the object".

    I searched for the error and found that adding a line to web.config solved the problem for others.

    <appSettings>
        <add key="aspnet:MaxHttpCollectionKeys" value="10000" />
    </appSettings>

    I added the line but nothing changed, (tried with higer numbers as well).

    The SSRS log files does not show any error nor the event log.

    The error happens when the report is run via http://sqlserver/Reports/Pages/Report.aspx?ItemPath=...

    but not when run via http://sqlserver/Reports/Pages/ReportViewer.aspx?...

    Monday, April 14, 2014 12:37 PM

Answers

All replies