FIX: Issues may occur when you deploy an ASP.NET 2.0-based application that communicates with Exchange Server when a SharePoint site is running IIS 7.0 or IIS 7.5 in Integrated mode

Article translations Article translations
Article ID: 2643185 - View products that this article applies to.
Expand all | Collapse all

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

Collapse this imageExpand this image
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

Collapse this imageExpand this image
Download
Download the update package now.


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

Collapse this imageExpand this image
Download
Download the update package now.


Microsoft .NET Framework 3.5.1
For all supported x86-based versions of Windows 7

Collapse this imageExpand this image
Download
Download the update package now.


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

Collapse this imageExpand this image
Download
Download the update package now.


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

Collapse this imageExpand this image
Download
Download the update package now.


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

Collapse this imageExpand this image
Download
Download the update package now.


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

Collapse this imageExpand this image
Download
Download the update package now.


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

Collapse this imageExpand this image
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
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.570531,50418-Nov-201110:56x86
Webengine.dll2.0.50727.5705437,00818-Nov-201110:57x86
System.web.dll2.0.50727.57055,251,07218-Nov-201110:56x86
For all supported x64-based versions of Windows Vista SP2 and of Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.570543,28018-Nov-201112:49x64
Webengine.dll2.0.50727.5705746,25618-Nov-201112:49x64
System.web.dll2.0.50727.57055,259,26418-Nov-201112:49x64
For all supported IA-64-based versions of Windows Server 2008 SP2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.570583,21618-Nov-201110:53IA-64
Webengine.dll2.0.50727.57051,232,14418-Nov-201110:54IA-64
System.web.dll2.0.50727.57054,780,03218-Nov-201110:53IA-64
For all supported x86-based versions of Windows 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.570531,50419-Nov-201105:18x86
Webengine.dll2.0.50727.5705437,00819-Nov-201105:19x86
System.web.dll2.0.50727.57055,251,07219-Nov-201105:19x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.570543,28019-Nov-201105:36x64
Webengine.dll2.0.50727.5705746,25619-Nov-201105:36x64
System.web.dll2.0.50727.57055,259,26419-Nov-201105:36x64
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.570583,21619-Nov-201105:12IA-64
Webengine.dll2.0.50727.57051,232,14419-Nov-201105:12IA-64
System.web.dll2.0.50727.57054,780,03219-Nov-201105:12IA-64
For all supported x86-based versions of Windows 7 SP1
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.570531,50422-Nov-201123:32x86
Webengine.dll2.0.50727.5705437,00822-Nov-201123:33x86
System.web.dll2.0.50727.57055,251,07222-Nov-201123:33x86
For all supported x64-based versions of Windows 7 SP1 and of Windows Server 2008 R2 SP1
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.570543,28022-Nov-201123:32x64
Webengine.dll2.0.50727.5705746,25622-Nov-201123:32x64
System.web.dll2.0.50727.57055,259,26422-Nov-201123:32x64
For all supported IA-64-based versions of Windows Server 2008 R2 SP1
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
Aspnet_wp.exe2.0.50727.570583,21622-Nov-201123:25IA-64
Webengine.dll2.0.50727.57051,232,14422-Nov-201123:25IA-64
System.web.dll2.0.50727.57054,780,03222-Nov-201123:25IA-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.NET
For more information about the ASP.NET\Request Queued performance counter issue, visit the following Microsoft website:
"ASP.NET\Requests Queued" bug in IIS integrated Mode
For 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

Properties

Article ID: 2643185 - Last Review: February 29, 2012 - Revision: 1.0
APPLIES TO
  • Microsoft ASP.NET 2.0
Keywords: 
kbqfe kbhotfixserver kbfix kbexpertiseinter kbsurveynew kbbug KB2643185

Give Feedback

 

Contact us for more help

Contact us for more help
Connect with Answer Desk for expert help.
Get more support from smallbusiness.support.microsoft.com