FIX: ASP.NET Client SCRIPT Elements Do Not Contain a Type Attribute (821340)



The information in this article applies to:

  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework SDK 1.0 SP2
  • Microsoft .NET Framework 1.1

SYMPTOMS

When ASP.NET generates a page that contains client-side SCRIPT elements, the SCRIPT elements do not contain a TYPE attribute. The generated SCRIPT tag follows:
<Script language="javascript">
According to the HTML 4.01 and HTML 4.0 Transitional specifications, the SCRIPT element should have a TYPE attribute as follows:
<Script type="text/javascript" language="javascript">
The hotfix described in this article refers to the default client-side SCRIPT element that ASP.NET generates. It is also possible for ASP.NET-based applications to override the RegisterClientScriptBlock method of the page. After an override, ASP.NET is no longer responsible for the content of the SCRIPT element that results.

RESOLUTION

Hotfix information

The .NET Framework version 1.1

To resolve this problem, apply the following hotfix package:

827164 FIX: References to STA objects that are stored in session state may become corrupted if they are called from a Session_End event

The .NET Framework version 1.0

A supported hotfix is now available from Microsoft, but it is only intended to correct the problem that is described in this article. Only apply it to systems that are experiencing this specific problem. This hotfix may receive additional testing. Therefore, if you are not severely affected by this problem, we recommend that you wait for the next .NET Framework 1.0 service pack that contains this hotfix.

To resolve this problem immediately, contact Microsoft Product Support Services to obtain the hotfix. For a complete list of Microsoft Product 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.

The English version of this hotfix has the file attributes (or later) 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 tool in Control Panel.
   Date         Time   Version       Size       File name
   -------------------------------------------------------------
   12-Aug-2003  08:39  1.0.3705.449  2,269,184  Mscorwks.dll
   29-Jul-2003  13:30                    8,728  SmartNav.js
   01-Aug-2002  14:38                       15  SmartNav.htm
   12-Aug-2003  09:11                    4,169  Aspnet_perf.h
   12-Aug-2003  08:31                   10,284  Mscorlib.ldo
   12-Aug-2003  09:18                  513,302  Aspnet_perf.ini
   12-Aug-2003  09:18                  510,714  Aspnet_perf2.ini
   12-Aug-2003  08:39  1.0.3705.449  2,269,184  Mscorsvr.dll
   12-Aug-2003  09:18  1.0.3705.449     28,672  Aspnet_wp.exe
   12-Aug-2003  09:18  1.0.3705.449     24,576  Aspnet_regiis.exe
   12-Aug-2003  09:17  1.0.3705.449    200,704  Aspnet_isapi.dll
   12-Aug-2003  08:40  1.0.3705.449     69,632  CORPerfMonExt.dll
   12-Aug-2003  17:07  1.0.3705.449  1,196,032  System.Web.dll
   12-Aug-2003  08:38  1.0.3705.449    303,104  Mscorjit.dll
   12-Aug-2003  17:09  1.0.3705.449  1,953,792  Mscorlib.dll
   12-Aug-2003  17:07  1.0.3705.449     32,768  TlbImp.exe

STATUS

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

MORE INFORMATION

For additional information, 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


Modification Type:MinorLast Reviewed:10/25/2005
Keywords:kbHotfixServer kbQFE kbQFE kbNetFrame100preSP3fix kbfix kbbug KB821340