Sunday, February 12, 2012

Collection was modified after the enumerator was instantiated

When I set the parameters on a ReportViewer and click the ViewReport
button, the "Collection was modified after the enumerator was
instantiated" error is thrown.
Acessing the report directly through IE works perfectly. The problem
only occurs in the ReportViewer.
Is this a bug? Is there any work-around?
Scenario:
- SQL 2005 April CTP running on Windows Server 2003 SP1
- Visual Studio 2005 Beta 2
- ReportViewer Control for WebForms, acessing a server report
Thanks in advance,
AndersonHavign same problem: using ASPNET as role and now can access report, then
when setting parameters in toolbar and running report, get the same error
below. Anyone have some insight. I'm using SQL RS 2005 and SQL 2005 Server
"Anderson dos Santos Pimentel" wrote:
> When I set the parameters on a ReportViewer and click the ViewReport
> button, the "Collection was modified after the enumerator was
> instantiated" error is thrown.
> Acessing the report directly through IE works perfectly. The problem
> only occurs in the ReportViewer.
> Is this a bug? Is there any work-around?
> Scenario:
> - SQL 2005 April CTP running on Windows Server 2003 SP1
> - Visual Studio 2005 Beta 2
> - ReportViewer Control for WebForms, acessing a server report
>
> Thanks in advance,
>
> Anderson
>

No comments:

Post a Comment