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:
- 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
- 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
- Open Visual Studio .NET, and then create a new Visual C# project .
- Select the Windows Control Library template, and then name the project MyControl.
- Under Location, select ..\Inetpub\wwwroot. Click OK.
- In the Windows Forms toolbox, double-click ImageList.
- Select the new ImageList control. In the Properties window, click Images to add images to this control.
- In Image Collection Editor, click Add.
- Click the image, and then close Image Collection Editor.
- In the Windows Forms toolbox, double-click ToolBar.
- Select the new ToolBar control. In the Properties window, click Buttons to add menu items.
- In ToolBarButton Collection Editor, click Add.
- In Text Property, type MyTestToolButton1.
- Click OK to close ToolBarButton Collection Editor.
- Build the application.
- Close the project.
Steps to Create Framed Pages
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>
- In the ..\Inetpub\wwwroot\MyControl folder, name the file Page.htm.
Open Notepad and then copy the following code:
<html> <frameset id="demo" rows="50%,*"> <frame src="page.htm"> <frame src="page.htm"> </frameset> </html>
- In the ..\Inetpub\wwwroot\MyControl folder, name the file Default.htm.
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>
- In the ..\Inetpub\wwwroot\MyControl folder, name the file MyControl.myconfig.
Steps to Browse the Framed Page
- Open Internet Explorer.
- Locate http://localhost/MyControl/default.htm
- Internet Explorer stops responding.
Keywords: kbbug kbctrl KB814663