FIX: ????? ???? "????? ???? ?????? ?? ???" ????? ??? ??? ????? ????? ???? ???????? ??????? ?????? ???? ???? ??? Webforms

?????? ????????? ?????? ?????????
???? ???????: 834608 - ??? ???????? ???? ????? ????? ??? ???????.
????? ???? | ?? ????

?? ??? ??????

???????

??? ????? ????? ???? ???????? ??????? ?????? ???? ???? ??? Webform ????? ????? ??? ?????? ??? ??? ??? ??????? ???? ???:
?? ?????? ??? ????? ???? ?????? ?? ??? ?????? '_909b6e15b33'. FindControl ????? ?? ????? ????? ?????? ??? ?????? ?????.

???: ??? ??????? ??? ????? ????? ????? ??? ??? ??????. ?????? ?????? ???? ?????? ?????? ??? ???? ?? ????????? ??? ????? ????? ????? ?? ????????? ????????.

?????? ?????????: System.Web.HttpException: ?? ?????? ??? ????? ???? ?????? ?? ??? ?????? '_909b6e15b33'. FindControl ????? ?? ????? ????? ?????? ??? ?????? ?????.
?????? ??? ??????? ?????? "???" ???? ??? ???? ?? ????? ????? ???.

?????? ????? ?? ????????? ??? ??????? ?????? ??????? ?????? ???????? ???? ??? "???????" ?? ??? ???????.

?????

???? ??? ??????? ????? ??? ??? ???? ??? ?????? ??? ?????? LoadCachedControl ??? ????? ????? ?????? ??????? ?? ????? ??????? ??????. ???? ??? ????? ???? ?? ???? ?????? ?????? ???? ??? ????? ??? ?????? ?? ???? ???? ???????? ??????? ???? ????. ??? ???? ??? ??????? ????? ???? ?? ?????? ? ?????? ???? ?? ?????? ??? ?????? ??? ????? ?????? ???????? ??????? ???? ????. ???? ??? ?????? ??????? ???????? ?? ??? "???????" ?? ??? ???????.

?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
837000??????? PartialCachingControl.CachedControl ????? ?????? ???? ?????

????

???????? ??? ??????? ?????? ????? ?? ???: ???? ???? Windows Microsoft ? ???? ????? ???????? ?????????? (OCM). ??? ??? ?????? Windows Server 2003, ??? ????? ????? ????? Windows Server 2003 (OCM) ???? ????? ????? Windows Server 2003 ??????? ????? .NET Framework 1.1. ??? ??? ?????? ???? ????? ????? ?? Windows Server 2003 ??? ?????? ??????? ???? Windows Installer.

??????? ????? ???????

????? ???? ????? ???? ????? ?? Microsoft ???? ????? ??? ?? ?? ??????? ??????? ?? ??? ??????? ???. ??? ?????? ??? ??????? ???? ????? ??? ??????? ????????. ?? ??? ????? ???????? ?????? ??? ??? ??????? ??????. ?????? ??? ?? ??? ????? ??? ??????? ??????? ???? ????????? ??? ??????? ?????? Microsoft .NET Framework 1.1 Service Pack 1 ???? ????? ??? ??? ??????? ??????.

??? ??? ??????? ?????? ???? ?????? ??? ???????? ?? Microsoft "?????? ??? ??????? ??????. ?????? ??? ????? ????? ?????? ?????? ?????? ?????? ??? ???? Microsoft ???? ??????? ??? ?????? ?????? ?? ?????? ???? Microsoft ?????? ??? ?????:
http://support.microsoft.com/contactus/?ws=support
?????? ?? ??? ???????? ?? ??? ????? ????????? ???? ?????? ????? ??? ??????? ????? ??? ??? ?????? ????? ??? Microsoft ?? ??????? ?????? ??? ???? ??? ?? ???????. ???? ????? ?????? ????? ???????? ??? ????? ????? ???????? ????????? ???? ?? ???? ??? ???? ??? ???????.

????? ????? ?????

?? ???? ??? ????? ????? ????????? ??? ??? ?? ????? ?? ??????? ??? ??????? ???? ?????? ??????? ??????? ?? ??? "??????? ?????" ?? ??? ???????.

??????? ?????

????? ????? ?????????? ?? ????? ??????? ??? ???? ????? (?? ??????) ???????? ?? ?????? ??????. ??? ??? ???????? ???????? ?????? ???? ??????? ???????? ??????? coordinated (UTC). ????? ???? ???? ??????? ?????? ??? ??????? ??? ??????? ??????. ?????? ????? ??? ??????? ??????? (UTC) ???????? ??????? ?????? ????? ??????? ??????? ??????? ?? ???? ??????? ?????? ?? "???? ??????".
   Date         Time   Version            Size    File name
   --------------------------------------------------------------
   04-Feb-2004  04:14  1.1.4322.996      258,048  Aspnet_isapi.dll  
   04-Feb-2004  04:14  1.1.4322.996       20,480  Aspnet_regiis.exe  
   04-Feb-2004  04:14  1.1.4322.996       32,768  Aspnet_state.exe  
   04-Feb-2004  04:14  1.1.4322.996       32,768  Aspnet_wp.exe    
   16-May-2003  00:49                     33,522  Installpersistsqlstate.sql
   16-May-2003  00:49                     34,150  Installsqlstate.sql
   04-Feb-2004  04:05  1.1.4322.996       94,208  Perfcounter.dll  
   04-Feb-2004  04:10                      8,571  Smartnav.js
   05-Feb-2004  05:11  1.1.4322.996    1,220,608  System.dll       
   05-Feb-2004  05:11  1.1.4322.996      241,664  System.messaging.dll  
   05-Feb-2004  05:11  1.1.4322.996      323,584  System.runtime.remoting.dll  
   05-Feb-2004  05:11  1.1.4322.996      131,072  System.runtime.serialization.formatters.soap.dll  
   05-Feb-2004  05:11  1.1.4322.996    1,257,472  System.web.dll   
   05-Feb-2004  05:11  1.1.4322.996      819,200  System.web.mobile.dll  
   05-Feb-2004  05:11  1.1.4322.996      569,344  System.web.services.dll  
   05-Feb-2004  05:11  1.1.4322.996    1,339,392  System.xml.dll   
   04-Feb-2004  04:10                     14,482  Webuivalidation.js

?????

???? Microsoft ?? ??? ????? ?? ?????? Microsoft ??????? ?? ??? "????? ???" ?? ??? ???????.

??????? ????

????? ????? ????? ???????

  1. ????? ???? ??? ??? ???? ?????? ?? ?????? ???? \inetpub\wwwrooot\PageCaching.
  2. ??????? ????????? ???????? ??????? ??? ????? ???? ???? ?????? ???? Test1.ascx ??? ?? ???? ??? ???? ??? ?? ?????? ?? ?????? 1:
    <%@ OutputCache Duration="60" VaryByParam="none" %>
    <%@ Control Language="c#" "%>
    <asp:Label id="lblTest1" runat="server">Test 1 Control</asp:Label>&nbsp;
    <asp:Label id="lblDynamic" runat="server">Dynamic</asp:Label>
  3. ??????? ????????? ???????? ??????? ??? ????? ???? ???? ?????? ???? Test2.ascx ??? ?? ???? ??? ???? ??? ?? ?????? ?? ?????? 1:
    <%@ OutputCache Duration="60" VaryByParam="none" %>
    <%@ Control Language="c#" "%>
    <asp:Label id="lblTest1" runat="server">Test 2 Control</asp:Label>&nbsp;
    <asp:Label id="lblDynamic" runat="server">Dynamic</asp:Label>
  4. Use the following code to create a Web form that is named PageCaching.aspx, and then save it to the Web folder that was created in step 1:
    <script runat=server>
        void Page_Init(Object sender, EventArgs ev)
        {
    			Control Pane = Page.FindControl("uc1");
    			Control Item = (Control) LoadCachedControl("test1.ascx", "Dynamic1a");
    			Pane.Controls.Add(Item);
    
    			Pane = Page.FindControl("uc2");
    			Item = (Control) LoadCachedControl("test2.ascx", "Dynamic2a");
    			Pane.Controls.Add(Item);
    
    			Pane = Page.FindControl("uc3");
        }
    
    public PartialCachingControl LoadCachedControl(string r_ControlName, string r_ControlID)
    {
    			PartialCachingControl Control = (PartialCachingControl) Page.LoadControl(r_ControlName);
    			Control.ID = r_ControlID;
    			return Control;
    }			                                                
    </script>
    
    
    <%@ Page language="c#" %>
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN" >
    <HTML>
    	<HEAD>
    		<title>WebForm1</title>
    		<meta name="GENERATOR" Content="Microsoft Visual Studio .NET 7.1">
    		<meta name="CODE_LANGUAGE" Content="C#">
    		<meta name="vs_defaultClientScript" content="JavaScript">
    		<meta name="vs_targetSchema" content="http://schemas.microsoft.com/intellisense/ie5">
    	</HEAD>
    	<body>
    		<form id="Form1" method="post" runat="server">
    			<table>
    				<tr>
    					<td id="uc1" runat="server"></td>
    				</tr>
    				<tr>
    					<td id="uc2" runat="server"></td>
    				</tr>
    				<tr>
    					<td id="uc3" runat="server"></td>
    				</tr>
    			</table>
    		</form>
    	</body>
    </HTML>
  5. ?????? ?????? ??? http://localhost/PageCaching/PageCaching.aspx. ???? ????? ????? ??????? ?? ??? "???????" ?? ??? ???????.
?????? ??? ??????? ??????? ???? ??? ??? ??????? ?????? ?????? ?? "????? ??????? ?? Microsoft:
824684??? ????????? ???????? ????????? ?? ??? ??????? ????? Microsoft

???????? ??? PartialCachingControl

????? ??? PartialCachingControl ????? CacheControl. ???? ??????? ??????? CacheControl ?????? ?? ??? ??? ???? ???? ?????? ?? ?? ??????. ????? ????? CacheControl ???? ???? ???????? ??? ????? ?? ??? ????? ????? ???? ??????? ??????? ???? ???? ????????. ??? ?? ??? ??????? ???? ???? ???????? ?? ????? ??????? ??????? ?????? ??????? CacheControl ?????? ???? ???? ??? ???? ?????? ?? ???? ????? ???? ?? (?? Microsoft Visual Basic ??????? CacheControl ????? ???). ??? ???? ??????? CacheControl ????? ?????? FALSE ??? ?? ??? ????? PartialCachingControl ?? ???? ???? ??????.

?????

?????? ??? ??????? ??????? ???? ??? ????? ???????? ??????? ?????? ?? "????? ??????? ?? Microsoft:
306459???? ???? ??? ????? ???? ?????? ASP.NET
308378????? ????? ??????? ?????? ????? ?? ASP.NET ???????? Visual C# .NET
308645????? ????? ??????? ?????? ????? ?? ASP.NET ???????? Visual Basic .NET

???????

???? ???????: 834608 - ????? ??? ??????: 09/???? ?????/1427 - ??????: 4.2
????? ???
  • Microsoft .NET Framework 1.1
  • Microsoft Visual Studio .NET 2003 Professional Edition
  • Microsoft Visual Studio .NET 2003 Enterprise Developer
  • Microsoft Visual Studio .NET 2003 Enterprise Architect
  • Microsoft ASP.NET 1.1
????? ??????: 
kbmt kbqfe kbhotfixserver kbfix kbnetframe110presp1fix kbcodegen kbcode kbbug KB834608 KbMtar
????? ????
???: ??? ????? ??? ?????? ???????? ?????? ????? ???? ????? ?????????? ????? ?? ????????? ?????? ????. ???? ???? ?????????? ???? ?? ???????? ???????? ?????? ????????? ????? ????????? ???????? ????? ???????? ?????? ?? ?????? ??? ?? ???????? ???????? ?? ????? ??????? ?????? ??? ??????? ?????? ??. ?????? ?? ???? ??? ??????? ???????? ????? ?? ???? ????? ?????? ??? ????? ??? ????? ??????? ?? ????? ?? ?????? ??? ??? ??????? ??????? ?? ????? ????? ????? ????? ?????. ?? ????? ???? ?????????? ??????? ??? ????? ?? ??????? ?? ????? ?????? ?? ??? ????? ?? ????? ??????? ?? ???????? ?? ??? ???????. ???? ???? ?????????? ???????? ??? ????? ?????? ??????? ??????
???? ??? ????? ??????? ?????? ??????????834608

????? ???????

 

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