YAFLogo

marshy
  • marshy
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
http://forum.daysofchange.org/  - IIS7

It's only got a few private forums, we're really only testing at this stage. It was working fine at first for all 3 of us (only 3 users so far), 2 of us on Windows, 1 on Mac.

The Mac user has suddenly started having problems loading the forum. He gets "the connection was reset" in firefox, "this webpage is not available" in chrome, and "safari can't open the page" in safari. He was the last person to make a post, but it was nothing unusual.

I am able to load the site on Windows in firefox, IE(6-8), chrome & safari, both logged in & out.

I am NOT able to load the site on my iPad (which makes me think it's a platform issue rather than a user issue).

We've made a few posts & uploaded a few files. The only admin setting I can recall changing that's out of the ordinary is to allow .docx & .xlsx uploads.

There are no repeated error logs for repeated tries by our Mac user. There was one error log entry around about the time he first had problems:


System.Web.HttpException: The state information is invalid for this page and might be corrupted. ---> System.Web.UI.ViewStateException: Invalid viewstate. 
	Client IP: 203.59.75.138
	Port: 53974
	User-Agent: Mozilla/5.0 (Macintosh; U; Intel Mac OS X 10_6_4; en-US) AppleWebKit/533.4 (KHTML, like Gecko) Chrome/5.0.375.99 Safari/533.4
	ViewState: /

Since having problems I've tried the following additions to web.config, to no avail:

<pages validateRequest="false" enableEventValidation="false" viewStateEncryptionMode ="Never" enableViewStateMac="false" />
- also added a machine key element, but it's not on a web farm

Now I'm pretty stuck. We definitely need the site to work on a Macintosh.

Any help would be greatly appreciated 🙂

Sponsor
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
13 years ago
I guess this happens because cookies are not set properly on a Safary browser by some reason.

Don't switch off ViewState checks if you're a bit concerned about security.

marshy
  • marshy
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago

I guess this happens because cookies are not set properly on a Safary browser by some reason.

Don't switch off ViewState checks if you're a bit concerned about security.

bbobb wrote:

Thanks for the reply, I appreciate it, but it's not just safari on mac but also firefox & chrome.

bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
13 years ago
This is almost surely not a YAF problem. Mac has his own customer support service.
marshy
  • marshy
  • 54.8% (Neutral)
  • YAF Forumling Topic Starter
13 years ago
I figured it out. It was the setting "Enable Unhandled UserAgent Log". I had it checked, must have thought it looked like useful information. Unchecked and the site once again loads on iPad and Mac.
bbobb
  • bbobb
  • 100% (Exalted)
  • YAF Developer
13 years ago
Good. The setting is for developers only. It logs incorrect UserAgent strings to figure out how to deal with them/ It can be done only by getting statistics.