You cannot access the HTML view of an HTML page that contains an object item in Visual Studio .NET 2003 or in Visual Studio .NET 2002 (916584)



The information in this article applies to:

  • Microsoft Visual Studio .NET (2003), Professional Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2003), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2003), Academic Edition
  • Microsoft Visual Studio .NET (2002), Professional Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Architect Edition
  • Microsoft Visual Studio .NET (2002), Enterprise Developer Edition
  • Microsoft Visual Studio .NET (2002), Academic Edition

SYMPTOMS

You cannot access the HTML view for an HTML page in Microsoft Visual Studio .NET 2003 or Microsoft Visual Studio .NET 2002 when the following conditions are true:
  • Your computer is running Microsoft Windows Server 2003 Service Pack 1, Microsoft Windows XP Service Pack 2, or Microsoft Windows 2000 Server.
  • You install the MS05-038 security update.
  • You create a Microsoft Visual Basic Web application.
  • You add a new HTML page to the Visual Basic Web application.
  • You add an object item to the HTML page by using code that resembles the following code.
    <object id="Applet1" classid="java:EventScroll.class" codeType="application/java" width="500" height="100" VIEWASTEXT>
    </object>

CAUSE

This behavior occurs because the Java applet uses a custom moniker.

The Java applet uses a custom moniker to reference an ActiveX control, to create an instance of an ActiveX control, or to run code. In the affected products, the Design view uses Microsoft Internet Explorer components to display the HMTL page. After you apply MS05-038, the use of custom monikers is no longer enabled.

WORKAROUND

For information about how to change your code to work around this behavior, click the following article number to view the article in the Microsoft Knowledge Base:

906294 The use of monikers is no longer supported in Internet Explorer after installing the security updates provided by cumulative security update 896727 (MS05-038)

STATUS

This behavior is by design.

MORE INFORMATION

For more information about the MS05-038 security update, click the following article number to view the article in the Microsoft Knowledge Base:

896727 MS05-038: Cumulative security update for Internet Explorer


Modification Type:MajorLast Reviewed:5/30/2006
Keywords:kbprb KB916584 kbAudDeveloper