The result of a query cannot be enumerated more than once RRS feed

  • Question

  • Hi to all,

    I'm getting this error when I try to show a report (RDLC) in a WinForms application:

    "Cannot create a connection to the data source 'MyDataSource'"

    "The result of query cannot be enumerated more than once"

    The unusual part (at least for me) is that report executed fine the first time, this error happen any time after first time I execute any report that I got in the application. Also this only happen in the production server (Windows Server 2012/Sql Server 2012), in my local machine (Windows 7/Sql Server 2012) I don't get any error.

    Can anybody give me some advice about how can I solve this issue?

    Thanks in advance.

    Tuesday, March 3, 2015 1:51 PM