Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 6129765
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: May 23, 20262026-05-23T16:46:49+00:00 2026-05-23T16:46:49+00:00

I have a situation where all client OnClick events have stopped working when the

  • 0

I have a situation where all client OnClick events have stopped working when the code is hosted under IIS, yet work perfectly when run in the VS2010 environment.

The page is a simple ASPX page with one textbox and one linkbutton on, the linkbutton OnClick calls an event handler btnMyButton_Click.

When run under IIS, the event handler is never called (I have stepped through the code to determine this) but the page is posted. When run under VS2010, the event handler is called as wanted.

The IIS environment is Windows 7, IIS 7.5, ASP.Net 4.0 with an integrated AppPool.

This has also been verified on a Windows Server 2008 R2 server, again with IIS 7.5, ASP.Net 4.0 and an integrated AppPool.

I have tried turning off Event Validation for the page, no dice.

Does any one have any ideas?

Edited to add: Ok, some significant new info. The issue is down to how you visit the page:

http://mydomain.com/SomeFolder/ <- when visited using this url, the OnClick events do not fire

http://mydomain.com/SomeFolder/Default.aspx <- when visiting using this url, everything works as normal

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-05-23T16:46:50+00:00Added an answer on May 23, 2026 at 4:46 pm

    And the answer to this one is simple, but quite buried 🙂

    I had “runAllManagedModulesForAllRequests” set to true in the system.Webserver modules block in the web.config.

    Even tho I had no modules defined (just http handlers), it was still causing issues – set it to false and normal service resumed.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

I have such situation: We have a website which code is not hosted on
My Situation I have a N rectangles The rectangles all have the same shape
here's the situation: I have a where in every cell all the area has
All, my situation is that I have the basic route, plus some other simple
Basically the situation is like this (simplified, pseudo code): I have 2 TABLES person
I have somewhat interesting development situation. The client and deployment server are inside a
I have a rather hectic situation in which my client has given me a
At work we had a situation in which a client required a web front
Unusual situation. I have a client, let's call them BuyNow. They would like for
I have many PHP files in / /client/ /user/ /config/ etc... I want all

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.