G
Guest
I've been debugging an issue we have in an asp.net 2.0 application for
several days.
The initial report of the bug was that, after waiting for some minutes with
an open page, entering a number in a search box and clicking the
corresponding button, the page came empty.
Entering the data again and clicking the button always gives results.
I wrote a "request sniffer" module that writes a log for all requests that
includes the time, method, url, IsPostBack, referer, server ip and body
contents (I'm willing to share it - just ask)
Using it, I was able to determine that IsPostBack is returning false when
this happens, regardless of the Request.Form collection having post data.
Some more information:
- This happens in a web farm. My initial analysis showed that the error
happened when a different server answered. But later I reproduced it with the
same server
- We're using SiteMinder, a SSO agent implemented in ISAPI. However, this
appears not to be the cause
- The site is located in a network share. This required changes to the .NET
security policies. Also, besides having supposedly configured the machineKey
in all the boxes, I had to disable viewStateEncryption and enableViewStateMac
some time ago
- The error appears in a completely erratic way; I haven't found a
reproduction pattern yet. I have another development server (not a web farm)
where the error hasn't been reproduced
All help with this will be greatly appreciated.
When suggesting things to test, keep in mind that I'm NOT the server
administrator (I only have file share access to the website root). The web
farm runs several corporate sites and it can't be happily restarted or have
its global configuration changed without a good reason.
several days.
The initial report of the bug was that, after waiting for some minutes with
an open page, entering a number in a search box and clicking the
corresponding button, the page came empty.
Entering the data again and clicking the button always gives results.
I wrote a "request sniffer" module that writes a log for all requests that
includes the time, method, url, IsPostBack, referer, server ip and body
contents (I'm willing to share it - just ask)
Using it, I was able to determine that IsPostBack is returning false when
this happens, regardless of the Request.Form collection having post data.
Some more information:
- This happens in a web farm. My initial analysis showed that the error
happened when a different server answered. But later I reproduced it with the
same server
- We're using SiteMinder, a SSO agent implemented in ISAPI. However, this
appears not to be the cause
- The site is located in a network share. This required changes to the .NET
security policies. Also, besides having supposedly configured the machineKey
in all the boxes, I had to disable viewStateEncryption and enableViewStateMac
some time ago
- The error appears in a completely erratic way; I haven't found a
reproduction pattern yet. I have another development server (not a web farm)
where the error hasn't been reproduced
All help with this will be greatly appreciated.
When suggesting things to test, keep in mind that I'm NOT the server
administrator (I only have file share access to the website root). The web
farm runs several corporate sites and it can't be happily restarted or have
its global configuration changed without a good reason.