Microsoft KB Archive/814663

From BetaArchive Wiki

Article ID: 814663

Article Last Modified on 1/24/2004



APPLIES TO

  • Microsoft .NET Framework 1.1
  • Microsoft .NET Framework 1.0



SYMPTOMS

When you try to browse through a frameset page with frames that host Microsoft .NET Windows Forms (Winforms) Controls that use localized assemblies, Microsoft Internet Explorer may not respond the first time. The page may load correctly with successive tries to browse it.

WORKAROUND

There are two ways to work around this problem:

  1. Increase the maximum number of connections for each server.

    Note This technique increases the connection load on all HTTP servers that Microsoft Internet Explorer visits, and then globally forces Internet Explorer to violate the HTTP specification. This workaround is only recommended if Internet Explorer frequently does not respond, and if you cannot change the code for the Web site. For additional information, click the following article number to view the article in the Microsoft Knowledge Base:

    183110 INFO: Winlet Limits Connections Per Server

  2. You can initially host the frame in a non-frameset page. Mark the page as hidden, to make download of the control easier. Subsequently, when you locate the frameset page, the control in the frames loads correctly. You can initially browse the non-frameset page that hosts the control. When you browse the page, the control downloads to a local computer. Subsequently, when you locate the frameset page, the control in the frames loads correctly.


STATUS

Microsoft has confirmed that this is a bug in the Microsoft products that are listed at the beginning of this article.

MORE INFORMATION

Steps to Reproduce the Behavior

Steps to Create a Windows Control Library

  1. Open Visual Studio .NET, and then create a new Visual C# project .
  2. Select the Windows Control Library template, and then name the project MyControl.
  3. Under Location, select ..\Inetpub\wwwroot. Click OK.
  4. In the Windows Forms toolbox, double-click ImageList.
  5. Select the new ImageList control. In the Properties window, click Images to add images to this control.
  6. In Image Collection Editor, click Add.
  7. Click the image, and then close Image Collection Editor.
  8. In the Windows Forms toolbox, double-click ToolBar.
  9. Select the new ToolBar control. In the Properties window, click Buttons to add menu items.
  10. In ToolBarButton Collection Editor, click Add.
  11. In Text Property, type MyTestToolButton1.
  12. Click OK to close ToolBarButton Collection Editor.
  13. Build the application.
  14. Close the project.


Steps to Create Framed Pages

  1. Open Microsoft Notepad and copy the following code:

    <html>
    <head>
    <link rel="Configuration" href="http://localhost/MyControl/MyControl.myconfig">
    </head>
    <object id="TestTable" classid="http://localhost/MyControl/bin/Debug/MyControl.dll#MyControl.UserControl1" style="width:500px;height:400px;">
    </object>
    </html>
  2. In the ..\Inetpub\wwwroot\MyControl folder, name the file Page.htm.
  3. Open Notepad and then copy the following code:

    <html>
    <frameset id="demo" rows="50%,*">
      <frame src="page.htm">
      <frame src="page.htm">
    </frameset>
    </html>
  4. In the ..\Inetpub\wwwroot\MyControl folder, name the file Default.htm.
  5. Open Notepad and then copy the following code:

    <?xml version="1.0" encoding="utf-8" ?>
      <configuration>
       <runtime>
          <assemblyBinding xmlns="urn:schemas-microsoft-com:asm.v1">
           <dependentAssembly>
                <assemblyIdentity name="MyControl"/>
                <codeBase href="http://localhost/MyControl/bin/Debug/MyControl.dll"/>
           </dependentAssembly>
          </assemblyBinding>
       </runtime>
    </configuration>
  6. In the ..\Inetpub\wwwroot\MyControl folder, name the file MyControl.myconfig.


Steps to Browse the Framed Page

  1. Open Internet Explorer.
  2. Locate http://localhost/MyControl/default.htm
  3. Internet Explorer stops responding.


Keywords: kbbug kbctrl KB814663