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

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 signingNote 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=supportNote 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

File name

File version

File size

Date

Time

Platform

System.web.extensions.dll

3.5.30729.5016

1,277,952

08-Mar-2010

13:20

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

System.web.extensions.dll

3.5.30729.5016

1,277,952

08-Mar-2010

13:21

x86

System.web.extensions.dll

3.5.30729.5016

1,277,952

08-Mar-2010

13:20

x86

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

File name

File version

File size

Date

Time

Platform

System.web.extensions.dll

3.5.30729.5016

1,277,952

08-Mar-2010

13:18

x86

System.web.extensions.dll

3.5.30729.5016

1,277,952

08-Mar-2010

13:20

x86

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 ClassFor 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?

Thank you for your feedback!

Thank you for your feedback! It sounds like it might be helpful to connect you to one of our Office support agents.

×