views:

50

answers:

3

We have recently put up a new server with IIS7, where we now have published a .NET4 site.

Locally everything works fine, but on this server the Default.aspx is not working. No events are firing at all for this page. Every other page works as should.

We've tried deleting the Default.aspx and adding a new blank one with just a button event but same thing still applies.

We've spent quite some time troubleshooting this without any results. Same problem exists both with and without using a masterpage.

Any help appreciated.

A: 

Locally everything works fine

On your local IIS or Cassini?

Check for "AutoWireUpEvent" property in the page directive

citronas
A: 

That's really weird. Maybe you can try: Find other machines to visit the site, to see if it's working. If you are using IE, go to Internet Options->General->Settings->Check for version of stored pages->Every visit to the page. And even delete all temp files then try.

Danny Chen
A: 

Right after posting this question we stumbled across a solution.

Apparently we need to set the form action property for just Default.aspx.

The story behind this can be found here:

http://jai-on-asp.blogspot.com/2010/06/changes-and-differences-between-aspnet.html

Kind of disturbing that this problem even exists.

EDIT After more research it was a module from Telerik that caused it. When disabling RadCompression everything work as intended.

Lars Thorén