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

Article translations Article translations
Article ID: 821340 - View products that this article applies to.
This article has been archived. It is offered "as is" and will no longer be updated.
Expand all | Collapse all

On This Page

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:
http://support.microsoft.com/contactus/?ws=support
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

Properties

Article ID: 821340 - Last Review: February 27, 2014 - Revision: 3.5
APPLIES TO
  • Microsoft .NET Framework 1.0
  • Microsoft .NET Framework Software Development Kit 1.0 Service Pack 2
  • Microsoft .NET Framework 1.1
Keywords: 
kbnosurvey kbarchive kbbug kbfix kbqfe kbnetframe100presp3fix kbhotfixserver KB821340

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