Button click event not firing on production IIS server?

Discussion in 'ASP .Net Web Controls' started by JohnH., Mar 29, 2005.

  1. JohnH.

    JohnH. Guest

    I'm obviously not looking in the right place to find the source of
    this problem. Anybody got any ideas where to look?

    I have an ASP.NET c# application w/ several pages that have buttons.
    On my development IIS server everything works fine. When I publish my
    code to a pre-productions staging area everything works fine. When I
    move the code to our productions environment the buttons click events
    for the buttons on one page stop firing.

    Facts:
    (1) The buttons on all of the other pages work fine in production.
    (2) I have cycled this code from development to staging to production
    several times and the buttons on this problem page have always worked
    fine in the past.
    (3) All of the buttons on this page have stopped firing.
    (4) My Page directive has these settings:
    AutoEventWireup="False"
    smartNavigation="False"
    enableViewState="True"
    (5) I am attaching the event handlers as delegates. I've traced
    through the code on the production server and the event handler
    delegate functions are getting attached to the buttons they are just
    not firing.
    (6) The development and production servers are both Windows 2003
    Servers w/ all of the latest patches, and .Net Framework v1.1 w/ SP1.
    (7) I did make changes to the problem page, but nothing (famous last
    words) that should effect the buttons.

    I've searched MSDN, Technet, Google, and news groups. I'm pulling
    my hair out. Anybody got any ideas?

    Thanks,
    John
     
    JohnH., Mar 29, 2005
    #1
    1. Advertising

  2. Hi John,

    I guess you've tried this since you have SP1, but I thought I'd mention it:

    BUG: The Submit button on ASP.NET pages does not work after you install the
    ..NET Framework 1.1 Service Pack 1

    http://support.microsoft.com/default.aspx?scid=kb;en-us;889877


    "JohnH." <> wrote in message
    news:...
    > I'm obviously not looking in the right place to find the source of
    > this problem. Anybody got any ideas where to look?
    >
    > I have an ASP.NET c# application w/ several pages that have buttons.
    > On my development IIS server everything works fine. When I publish my
    > code to a pre-productions staging area everything works fine. When I
    > move the code to our productions environment the buttons click events
    > for the buttons on one page stop firing.
    >
    > Facts:
    > (1) The buttons on all of the other pages work fine in production.
    > (2) I have cycled this code from development to staging to production
    > several times and the buttons on this problem page have always worked
    > fine in the past.
    > (3) All of the buttons on this page have stopped firing.
    > (4) My Page directive has these settings:
    > AutoEventWireup="False"
    > smartNavigation="False"
    > enableViewState="True"
    > (5) I am attaching the event handlers as delegates. I've traced
    > through the code on the production server and the event handler
    > delegate functions are getting attached to the buttons they are just
    > not firing.
    > (6) The development and production servers are both Windows 2003
    > Servers w/ all of the latest patches, and .Net Framework v1.1 w/ SP1.
    > (7) I did make changes to the problem page, but nothing (famous last
    > words) that should effect the buttons.
    >
    > I've searched MSDN, Technet, Google, and news groups. I'm pulling
    > my hair out. Anybody got any ideas?
    >
    > Thanks,
    > John
    >
     
    Ken Cox [Microsoft MVP], Mar 30, 2005
    #2
    1. Advertising

  3. JohnH.

    JohnH. Guest

    Ken,

    You are the man!!! That fixed it. I'm little puzzled because the
    symptoms did not exactly match the knowledge base article. But, I went
    ahead and ran aspnet_regiis.exe and the buttons started firing. Thanks
    for responding to my post.

    John
     
    JohnH., Mar 30, 2005
    #3
  4. Hey John,

    Glad you got going again!

    "JohnH." <> wrote in message
    news:...
    > Ken,
    >
    > You are the man!!! That fixed it. I'm little puzzled because the
    > symptoms did not exactly match the knowledge base article. But, I went
    > ahead and ran aspnet_regiis.exe and the buttons started firing. Thanks
    > for responding to my post.
    >
    > John
    >
     
    Ken Cox [Microsoft MVP], Mar 30, 2005
    #4
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Purvi T
    Replies:
    0
    Views:
    864
    Purvi T
    Oct 19, 2004
  2. =?Utf-8?B?QmluIFNvbmcsIE1DUA==?=
    Replies:
    2
    Views:
    6,499
    rick74
    May 27, 2008
  3. Amy
    Replies:
    0
    Views:
    997
  4. GauravGupta
    Replies:
    4
    Views:
    2,111
    Shilpa1234
    Jan 19, 2012
  5. Max2006
    Replies:
    2
    Views:
    1,585
    Walter Wang [MSFT]
    Sep 19, 2007
Loading...

Share This Page