FIX: You cannot run an ASP.NET 3.5-based application that uses a ScriptManager control

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

On This Page

SYMPTOMS

Consider the following scenario:
  • You have the Microsoft .NET Framework 3.5.1 installed on a computer that is running Windows 7 or Windows Server 2008 R2.
  • You enable the following security setting on this computer:
    System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing
    Note To enable this security setting, you can set the following registry entry to a value of 1.
    HKLM\System\CurrentControlSet\Control\Lsa\FIPSAlgorithmPolicy\Enabled
  • You try to run a Microsoft ASP.NET 3.5-based application that uses a ScriptManager control.
  • The application level Web.config file of this application contains following settings:
    <compilation debug="true" />
    <machineKey validationKey="AutoGenerate,IsolateApps" decryptionKey="AutoGenerate,IsolateApps" validation="3DES" decryption="3DES"/>
    
In this scenario, the application cannot run. Additionally, you receive an exception that resembles the following:
InvalidOperationException: This implementation is not part of the Windows Platform FIPS validated cryptographic algorithms.

CAUSE

This issue occurs because the ScriptResourceHandlerclass that is included in the System.Web.Extensions.dll file is not compliant with the United States Federal Information Processing Standard (FIPS).

RESOLUTION

Hotfix information

A supported hotfix is available from Microsoft. However, this hotfix is intended to correct only the problem that is described in this article. Apply this hotfix only to systems that are experiencing this specific problem. This hotfix might receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next software update that contains this hotfix.

To download this hotfix from the MSDN Code Gallery, visit the following Microsoft Web site:
http://code.msdn.microsoft.com/KB981119

Note The MSDN Code Gallery displays the languages for which the hotfix is available. If you do not see your language listed, it is because the Code Gallery resource page is not available for that language.

Note If additional issues occur or if any troubleshooting is required, you might have to create a separate service request. The usual support costs will apply to additional support questions and issues that do not qualify for this specific hotfix. For a complete list of Microsoft Customer Service and Support telephone numbers or to create a separate service request, visit the following Microsoft Web site:
http://support.microsoft.com/contactus/?ws=support
Note You can also download this hotfix from the following Microsoft Web site:
https://connect.microsoft.com/VisualStudio/Downloads/DownloadDetails.aspx?DownloadID=27494

Prerequisites

You must have the Microsoft .NET Framework 3.5.1 installed to apply this hotfix. Your computer must be running one of the following operating systems:
  • Windows 7
  • Windows Server 2008 R2

Restart requirement

You do not have to restart the computer after you apply this hotfix.

Hotfix replacement information

This hotfix does not replace any other hotfixes.

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 7
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.web.extensions.dll3.5.30729.50161,277,95208-Mar-201013:20x86
For all supported x64-based versions of Windows 7 and of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.web.extensions.dll3.5.30729.50161,277,95208-Mar-201013:21x86
System.web.extensions.dll3.5.30729.50161,277,95208-Mar-201013:20x86
For all supported IA-64-based versions of Windows Server 2008 R2
Collapse this tableExpand this table
File nameFile versionFile sizeDateTimePlatform
System.web.extensions.dll3.5.30729.50161,277,95208-Mar-201013:18x86
System.web.extensions.dll3.5.30729.50161,277,95208-Mar-201013:20x86

STATUS

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

MORE INFORMATION

For more information, click the following article number to view the article in the Microsoft Knowledge Base:
811833 The effects of enabling the "System cryptography: Use FIPS compliant algorithms for encryption, hashing, and signing" security setting in Windows XP and in later versions of Windows
For more information about the ScriptResourceHandler class, visit the following Microsoft Developer Network (MSDN) Web site:ScriptResourceHandler Class 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: 981119 - Last Review: October 6, 2011 - Revision: 3.0
APPLIES TO
  • Microsoft .NET Framework 3.5
Keywords: 
atdownload kbexpertiseadvanced kbsurveynew kbqfe KB981119

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