Symptoms

You deploy a Microsoft ASP.NET 2.0-based web application to a website that is hosted on a Microsoft Office SharePoint server. The web application communicates with Microsoft Exchange Server 2010. Additionally, you have Internet Information Services (IIS) 7.0 or IIS 7.5 running in Integrated mode on the SharePoint server. In this situation, you may encounter the following issues.

Issue 1

When you deploy a partially trusted Web Part on a SharePoint site, you may find that the Web Part may unexpectedly be able to perform Full Trust operations.

Issue 2

The Requests Queued performance counter in an ASP.NET performance object functions incorrectly in Integrated mode. For example, when the MaxConcurrentRequestsPerCPU setting is set too low, queuing is not reflected in the counter. Additionally, when the setting is set too high, queuing requests may be denied. This issue may decrease the performance of the SharePoint site.

Cause

Issue 1

This issue occurs because of an error in the ASP.NET 2.0 authentication component. The error causes the partially trusted Web Parts to impersonate the application pool account. Therefore, the Web Parts have full permission to access the SharePoint site.

Issue 2

This issue occurs because the ASP.NET\Request Queued performance counter only reports values when a request is queued in the ASP.NET Queue. It does not count the requests that are waiting for the common language runtime (CLR) thread pool.

Resolution

Issue 1

This hotfix adds a new application setting (aspnet:AllowAnonymousImpersonation) in ASP.NET 2.0. To enable this setting, add the following section to the Web.config file:

<appSettings>

<add key="aspnet:AllowAnonymousImpersonation" value="true" /></appSettings>To enable this setting, you must have IIS 7 or IIS 7.5 running in Integrated mode. When this setting is enabled, the application runs under the security context of the IUSR identity.

Issue 2

When you monitor the ASP.NET\Request Queued performance counter after you apply this hotfix, you see the values increase for the same application under the same load. This occurs because the ASP.NET\Request Queued performance counter counts both the requests that are queued in the ASP.NET Queue and the requests that are waiting for the CLR thread pool.

Download information

The following files are available for download from the Microsoft Download Center:

Microsoft .NET Framework 2.0 Service Pack 2 (SP2)

For all supported x86-based versions of Windows Vista Service Pack 2 and Windows Server 2008 Service Pack 2

Download Download the update package now.


For all supported x64-based versions of Windows Vista Service Pack 2 and Windows Server 2008 Service Pack 2

Download Download the update package now.


For all supported IA-64-based versions of Windows Server 2008 Service Pack 2

Download Download the update package now.


Microsoft .NET Framework 3.5.1

For all supported x86-based versions of Windows 7

Download Download the update package now.


For all supported x86-based versions of Windows 7 Service Pack 1 (SP1)

Download Download the update package now.


For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

Download Download the update package now.


For all supported x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1

Download Download the update package now.


For all supported IA-64-based versions of Windows Server 2008 R2

Download Download the update package now.


For all supported IA-64-based versions of Windows Server 2008 R2 SP1

Download Download the update package now.


For more information about how to download Microsoft support files, click the following article number to view the article in the Microsoft Knowledge Base:

119591 How to obtain Microsoft support files from online services Microsoft scanned this file for viruses. Microsoft used the most current virus-detection software that was available on the date that the file was posted. The file is stored on security-enhanced servers that help prevent any unauthorized changes to the file.

Prerequisites

To apply this hotfix, you must be running one of the following operating systems:

  • Windows Vista Service Pack 2 (SP2)

  • Windows Server 2008 Service Pack 2 (SP2)

  • Windows 7

  • Windows 7 Service Pack 1 (SP1)

  • Windows Server 2008 R2

  • Windows Server 2008 R2 Service Pack 1 (SP1)

Restart information

You must restart the computer after you apply this hotfix if any affected files are being used when you install this hotfix. To avoid restarting the computer, shut down any ASP.NET websites before you install this 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.

For all supported x86-based versions of Windows Vista SP2 and of Windows Server 2008 SP2

File name

File version

File size

Date

Time

Platform

Aspnet_wp.exe

2.0.50727.5705

31,504

18-Nov-2011

10:56

x86

Webengine.dll

2.0.50727.5705

437,008

18-Nov-2011

10:57

x86

System.web.dll

2.0.50727.5705

5,251,072

18-Nov-2011

10:56

x86

For all supported x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2

File name

File version

File size

Date

Time

Platform

Aspnet_wp.exe

2.0.50727.5705

43,280

18-Nov-2011

12:49

x64

Webengine.dll

2.0.50727.5705

746,256

18-Nov-2011

12:49

x64

System.web.dll

2.0.50727.5705

5,259,264

18-Nov-2011

12:49

x64

For all supported IA-64-based versions of Windows Server 2008 SP2

File name

File version

File size

Date

Time

Platform

Aspnet_wp.exe

2.0.50727.5705

83,216

18-Nov-2011

10:53

IA-64

Webengine.dll

2.0.50727.5705

1,232,144

18-Nov-2011

10:54

IA-64

System.web.dll

2.0.50727.5705

4,780,032

18-Nov-2011

10:53

IA-64

For all supported x86-based versions of Windows 7

File name

File version

File size

Date

Time

Platform

Aspnet_wp.exe

2.0.50727.5705

31,504

19-Nov-2011

05:18

x86

Webengine.dll

2.0.50727.5705

437,008

19-Nov-2011

05:19

x86

System.web.dll

2.0.50727.5705

5,251,072

19-Nov-2011

05:19

x86

For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Aspnet_wp.exe

2.0.50727.5705

43,280

19-Nov-2011

05:36

x64

Webengine.dll

2.0.50727.5705

746,256

19-Nov-2011

05:36

x64

System.web.dll

2.0.50727.5705

5,259,264

19-Nov-2011

05:36

x64

For all supported IA-64-based versions of Windows Server 2008 R2

File name

File version

File size

Date

Time

Platform

Aspnet_wp.exe

2.0.50727.5705

83,216

19-Nov-2011

05:12

IA-64

Webengine.dll

2.0.50727.5705

1,232,144

19-Nov-2011

05:12

IA-64

System.web.dll

2.0.50727.5705

4,780,032

19-Nov-2011

05:12

IA-64

For all supported x86-based versions of Windows 7 SP1

File name

File version

File size

Date

Time

Platform

Aspnet_wp.exe

2.0.50727.5705

31,504

22-Nov-2011

23:32

x86

Webengine.dll

2.0.50727.5705

437,008

22-Nov-2011

23:33

x86

System.web.dll

2.0.50727.5705

5,251,072

22-Nov-2011

23:33

x86

For all supported x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1

File name

File version

File size

Date

Time

Platform

Aspnet_wp.exe

2.0.50727.5705

43,280

22-Nov-2011

23:32

x64

Webengine.dll

2.0.50727.5705

746,256

22-Nov-2011

23:32

x64

System.web.dll

2.0.50727.5705

5,259,264

22-Nov-2011

23:32

x64

For all supported IA-64-based versions of Windows Server 2008 R2 SP1

File name

File version

File size

Date

Time

Platform

Aspnet_wp.exe

2.0.50727.5705

83,216

22-Nov-2011

23:25

IA-64

Webengine.dll

2.0.50727.5705

1,232,144

22-Nov-2011

23:25

IA-64

System.web.dll

2.0.50727.5705

4,780,032

22-Nov-2011

23:25

IA-64

Status

Microsoft has confirmed that this is a problem in the Microsoft products that are listed in the "Applies to" section.

References

For more information about the options that you can use to deploy SharePoint Web Parts, visit the following Microsoft TechNet website:

Configure and deploy Web Parts (SharePoint Server 2010)For more information about performance counters for ASP.NET, visit the following Microsoft Developer Network (MSDN) website:

Performance Counters for ASP.NETFor more information about the ASP.NET\Request Queued performance counter issue, visit the following Microsoft website:

"ASP.NET\Requests Queued" bug in IIS integrated ModeFor more information about software update terminology, click the following article number to view the article in the Microsoft Knowledge Base:

824684 Description of the standard terminology that is used to describe Microsoft software updates

Need more help?

Expand your skills
Explore Training
Get new features first
Join Microsoft Insiders

Was this information helpful?

What affected your experience?

Thank you for your feedback!

×