You create a Web site that uses Microsoft ASP.NET pages. You may receive a
System.InvalidOperationException exception that resembles the following:
Exception type: System.InvalidOperationException
Message: Collection was modified; enumeration operation may not execute.
InnerException: <none>
StackTrace (generated):<none>
StackTraceString: <none>
HResult: 80131509
Additionally, you may also find an HTTP 500 error in the Internet Information Services (IIS) log when you request the Web page.
Hotfix information
A supported hotfix is now available from Microsoft. However, it is intended to correct only the problem that this article describes. Apply it only to systems that are experiencing this specific problem.
To resolve this problem, contact Microsoft Customer Support Services to obtain the hotfix. For a complete list of Microsoft Customer Support Services telephone numbers and information about support costs, visit the following Microsoft Web site:
Note In special cases, charges that are ordinarily incurred for support calls may be canceled if a Microsoft Support Professional determines that a specific update will resolve your problem. The usual support costs will apply to additional support questions and issues that do not qualify for the specific update in question.
Prerequisites
You must have the Microsoft .NET Framework 2.0 Service Pack 1 (SP1) installed to apply this hotfix.
Restart requirement
You do not have to restart the computer after you apply this hotfix.
Hotfix replacement information
This hotfix does not replace a previously released hotfix.
File information
The English version of this hotfix has the file attributes (or later file attributes) that are listed in the following table. The dates and times for these files are listed in Coordinated Universal Time (UTC). When you view the file information, it is converted to local time. To find the difference between UTC and local time, use the
Time Zone tab in the
Date and Time item in Control Panel.
The .NET Framework 2.0, 32-bit (x86) version
Collapse this tableExpand this table
| File name | File version | File size | Date | Time |
|---|
| Aspnet_perf.dll | 2.0.50727.1842 | 33,288 | 24-Jun-2008 | 0:13 |
| Aspnet_perf.h | na | 6,537 | 24-Jun-2008 | 0:13 |
| Aspnet_perf.ini | na | 897,676 | 24-Jun-2008 | 0:13 |
| Aspnet_perf2.ini | na | 895,678 | 24-Jun-2008 | 0:13 |
| Aspnet_state_perf.h | na | 318 | 24-Jun-2008 | 0:13 |
| Aspnet_wp.exe | 2.0.50727.1842 | 33,280 | 24-Jun-2008 | 0:13 |
| Webengine.dll | 2.0.50727.1842 | 433,664 | 24-Jun-2008 | 0:13 |
| System.web.dll | 2.0.50727.1842 | 5,185,536 | 24-Jun-2008 | 0:13 |
The .NET Framework 2.0, 64-bit (x64) version
Collapse this tableExpand this table
| File name | File version | File size | Date | Time |
|---|
| Aspnet_perf.dll | 2.0.50727.1842 | 40,968 | 23-Jun-2008 | 21:14 |
| Aspnet_perf.h | na | 6,537 | 23-Jun-2008 | 17:33 |
| Aspnet_perf.ini | na | 897,682 | 23-Jun-2008 | 17:39 |
| Aspnet_perf2.ini | na | 895,684 | 23-Jun-2008 | 17:39 |
| Aspnet_state_perf.h | na | 318 | 24-Jun-2008 | 0:13 |
| Aspnet_wp.exe | 2.0.50727.1842 | 45,056 | 23-Jun-2008 | 21:14 |
| Webengine.dll | 2.0.50727.1842 | 737,792 | 23-Jun-2008 | 21:14 |
| System.web.dll | 2.0.50727.1842 | 5,263,360 | 23-Jun-2008 | 21:14 |
The .NET Framework 2.0, Itanium-based version
Collapse this tableExpand this table
| File name | File version | File size | Date | Time |
|---|
| Aspnet_perf.dll | 2.0.50727.1842 | 82,440 | 23-Jun-2008 | 23:45 |
| Aspnet_perf.h | na | 6,537 | 23-Jun-2008 | 17:52 |
| Aspnet_perf.ini | na | 897,682 | 23-Jun-2008 | 18:00 |
| Aspnet_perf2.ini | na | 895,684 | 23-Jun-2008 | 18:00 |
| Aspnet_state_perf.h | na | 318 | 24-Jun-2008 | 0:13 |
| Aspnet_wp.exe | 2.0.50727.1842 | 83,968 | 23-Jun-2008 | 23:45 |
| Webengine.dll | 2.0.50727.1842 | 1,213,952 | 23-Jun-2008 | 23:45 |
| System.web.dll | 2.0.50727.1842 | 4,743,168 | 23-Jun-2008 | 23:45 |
Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.