title: asp:button click event not firing when project run from iis 6.1
body: <p>When I run a project from visual studio 2012 an asp:button that I am using works correctly. However when I publish the project to IIS 6.1 the button's click event handler is not getting called. I have attached visual studio to the running process on the server and confirmed that the postback is firing but the click handler never gets called. </p>
  
  <p>Below is my web.config along with the page and code behind.</p>
  
  <p>Default.aspx</p>
  
  <pre><code>&lt;%@ Page Language="VB" AutoEventWireup="false" CodeBehind="Default.aspx.vb" Inherits="BIR_Injuries._Default" %&gt;
  
  &lt;!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"&gt;
  
  &lt;html xmlns="http://www.w3.org/1999/xhtml"&gt;
  &lt;head runat="server"&gt;
      &lt;title&gt;&lt;/title&gt;
      &lt;link rel="Stylesheet" type="text/css" href="Styles/main.css" /&gt;
  &lt;/head&gt;
  &lt;body&gt;
      &lt;form id="form1" runat="server"&gt;
      &lt;div id="wrap"&gt;
          &lt;div id="divFields" runat="server"&gt;
              &lt;hr /&gt;
              &lt;telerik:RadTextBox ID="rtb_ID" Visible="false" runat="server"&gt;&lt;/telerik:RadTextBox&gt;
              &lt;table cellspacing="3" cellpadding="3" border="0"&gt;
                  &lt;tr&gt;
                      &lt;td valign="top"&gt;&amp;nbsp;&lt;/td&gt;
                      &lt;td valign="top"&gt;
                          &lt;asp:button id="RadButton1" runat="server" text="Submit" AutoPostBack="true" CausesValidation="false" OnClick="RadButton1_Click"&gt;&lt;/asp:button&gt;
                      &lt;/td&gt;
                  &lt;/tr&gt;
              &lt;/table&gt;
          &lt;/div&gt;
          &lt;div id="divSent" runat="server"&gt;
              &lt;p&gt;Your injury assessment has been submitted. &lt;asp:HyperLink ID="hlSendAnother" runat="server" NavigateUrl="~/Default.aspx" Text="Send another"&gt;&lt;/asp:HyperLink&gt;.&lt;/p&gt;
          &lt;/div&gt;
      &lt;/div&gt;
      &lt;/form&gt;
  &lt;/body&gt;
  &lt;/html&gt;
  </code></pre>
  
  <p>Default.aspx.vb</p>
  
  <pre><code>Imports Telerik.Web.UI
  Imports System.Net
  Imports System.Net.Mail
  Imports System.Data.SqlClient
  Imports System.Configuration
  
  Partial Class _Default
  
      Inherits System.Web.UI.Page
  
      Public Testing As Boolean = False
  
      Protected Sub Default_Load(ByVal sender As Object, ByVal e As EventArgs) Handles Me.Load
          divSent.Visible = False
          If Request.QueryString("iid") IsNot Nothing Then
              rtb_ID.Text = Request.QueryString("iid")
          Else
              rtb_ID.Text = Guid.NewGuid.ToString
          End If
          If Testing Then
              rtb_Event.Text = "Test"
              rdp_Date.SelectedDate = "01/01/2001"
              rtb_Email.Text = "email@address.com"
              rtb_RespondingAT.Text = "Responding AT"
          End If
      End Sub
  
  
      Protected Sub RadButton1_Click(sender As Object, e As EventArgs) Handles RadButton1.Click
          Page.Validate()
      End Sub
  End Class
  </code></pre>
  
  <p>web.config</p>
  
  <pre><code>&lt;?xml version="1.0"?&gt;
  &lt;configuration&gt;
      &lt;configSections&gt;
          &lt;sectionGroup name="applicationSettings" type="System.Configuration.ApplicationSettingsGroup, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089"&gt;
              &lt;section name="BIR_Injuries.My.MySettings" type="System.Configuration.ClientSettingsSection, System, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b77a5c561934e089" requirePermission="false"/&gt;
          &lt;/sectionGroup&gt;
      &lt;/configSections&gt;
      &lt;connectionStrings&gt;
      &lt;!--&lt;add name="birinjury" providerName="System.Data.SqlClient" connectionString="Data Source=smcdevprtl01;Initial Catalog=BaylorInjuryForm_Dev;User ID=birinjury;Password=#password#;" /&gt;--&gt;
      &lt;add name="birinjury" providerName="System.Data.SqlClient" connectionString="Data Source=10.9.5.111;Initial Catalog=BaylorInjuryForm;User ID=birinjury;Password=#password#;"/&gt;
      &lt;/connectionStrings&gt;
      &lt;appSettings&gt;
          &lt;add key="Telerik.Skin" value="WebBlue"/&gt;
          &lt;add key="Telerik.ScriptManager.TelerikCdn" value="Disabled"/&gt;
          &lt;add key="Telerik.StyleSheetManager.TelerikCdn" value="Disabled"/&gt;
          &lt;add key="EmailFrom" value="webmaster@address.com" /&gt;
          &lt;add key="EmailCC" value="webmaster@address.com" /&gt;
          &lt;add key="EmailTo" value="webmaster@address.com" /&gt;
          &lt;add key="SMTPServer" value="172.23.0.71" /&gt;
      &lt;/appSettings&gt;
      &lt;system.web&gt;
          &lt;customErrors mode="Off"/&gt;
          &lt;compilation debug="true" strict="false" explicit="true" targetFramework="4.0"&gt;
          &lt;/compilation&gt;
          &lt;pages controlRenderingCompatibilityVersion="3.5" clientIDMode="AutoID"&gt;
              &lt;controls&gt;
                  &lt;add tagPrefix="telerik" namespace="Telerik.Web.UI" assembly="Telerik.Web.UI"/&gt;
              &lt;/controls&gt;
          &lt;/pages&gt;
          &lt;httpHandlers&gt;
              &lt;add path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" validate="false"/&gt;
              &lt;add path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" validate="false"/&gt;
              &lt;add path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" validate="false"/&gt;
              &lt;add path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" validate="false"/&gt;
              &lt;add path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" validate="false"/&gt;
          &lt;/httpHandlers&gt;
          &lt;httpModules&gt;
              &lt;add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule"/&gt;
              &lt;add name="RadCompression" type="Telerik.Web.UI.RadCompression"/&gt;
          &lt;/httpModules&gt;
          &lt;httpRuntime maxRequestLength="5120" executionTimeout="120"/&gt;
      &lt;/system.web&gt;
      &lt;system.webServer&gt;
          &lt;validation validateIntegratedModeConfiguration="false"/&gt;
          &lt;modules runAllManagedModulesForAllRequests="true"&gt;
              &lt;remove name="RadUploadModule"/&gt;
              &lt;add name="RadUploadModule" type="Telerik.Web.UI.RadUploadHttpModule" preCondition="integratedMode"/&gt;
              &lt;remove name="RadCompression"/&gt;
              &lt;add name="RadCompression" type="Telerik.Web.UI.RadCompression" preCondition="integratedMode"/&gt;
          &lt;/modules&gt;
          &lt;handlers&gt;
              &lt;remove name="ChartImage_axd"/&gt;
              &lt;add name="ChartImage_axd" path="ChartImage.axd" type="Telerik.Web.UI.ChartHttpHandler" verb="*" preCondition="integratedMode"/&gt;
              &lt;remove name="Telerik_Web_UI_SpellCheckHandler_axd"/&gt;
              &lt;add name="Telerik_Web_UI_SpellCheckHandler_axd" path="Telerik.Web.UI.SpellCheckHandler.axd" type="Telerik.Web.UI.SpellCheckHandler" verb="*" preCondition="integratedMode"/&gt;
              &lt;remove name="Telerik_Web_UI_DialogHandler_aspx"/&gt;
              &lt;add name="Telerik_Web_UI_DialogHandler_aspx" path="Telerik.Web.UI.DialogHandler.aspx" type="Telerik.Web.UI.DialogHandler" verb="*" preCondition="integratedMode"/&gt;
              &lt;remove name="Telerik_RadUploadProgressHandler_ashx"/&gt;
              &lt;add name="Telerik_RadUploadProgressHandler_ashx" path="Telerik.RadUploadProgressHandler.ashx" type="Telerik.Web.UI.RadUploadProgressHandler" verb="*" preCondition="integratedMode"/&gt;
              &lt;remove name="Telerik_Web_UI_WebResource_axd"/&gt;
              &lt;add name="Telerik_Web_UI_WebResource_axd" path="Telerik.Web.UI.WebResource.axd" type="Telerik.Web.UI.WebResource" verb="*" preCondition="integratedMode"/&gt;
          &lt;/handlers&gt;
          &lt;security&gt;
              &lt;requestFiltering&gt;
                  &lt;requestLimits maxAllowedContentLength="5242880"/&gt;
              &lt;/requestFiltering&gt;
          &lt;/security&gt;
      &lt;/system.webServer&gt;
  &lt;/configuration&gt;
  </code></pre>