Ajax UpdatePanel does not work when deployed in IIS8

2

I implemented a UpdatePanel in a Webform that I need to update automatically every 30 seconds, when debugeo in Visual Studio 2013 works correctly but when I implement it in my Web server with IIS8 is not updated. Help me know if I need to make any configuration on my IIS server.

<asp:ScriptManager ID="ScriptManager1" runat="server">
</asp:ScriptManager>
<asp:Timer ID="Timer1" runat="server" Interval="3600" OnTick="Timer1_Tick1">
</asp:Timer>
<asp:UpdatePanel ID="UpdatePanel1" UpdateMode="Conditional" runat="server">
    <Triggers>
        <asp:AsyncPostBackTrigger ControlID="Timer1" EventName="Tick" />
    </Triggers>
    <ContentTemplate>
        <script runat="server">
            protected void Reload()
            {
                InitScreen();//inicializa controles de asp.net
                LoadData(); //carga informacion en conntroles del asp.net
            }
        </script>
               ///CODIGO HTML
     </ContentTemplate>
</asp:UpdatePanel> 
    
asked by Luis Angel Mata Torres 23.05.2017 в 15:37
source

1 answer

2

Try some of these steps:

  • Check if the page has any Javascript errors.
  • Verify the version of ajax on the server and on the local computer, it should be the same.
  • Copy the dll System.Web.Extensions that references in your web.config in the local application to your remote server in the folder bin of the application.
  • You can also review this page for more information about it.

        
    answered by 23.05.2017 / 17:37
    source