473,406 Members | 2,390 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

Viewstate support in Mac IE5

Hello,

It turns out that some of my website's visitors are using MSIE 5.X for
Mac, and they frequently suffers from the "Invalid viewstate" exception(The
exception is not recorded on other browsers, so may be IE for Mac specific
problem). The following is a sample of returned report(I implemented email
notification on exception):

System.Web.HttpUnhandledException: Exception of type
System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException:
Invalid_Viewstate
Client IP: XXX.XXX.XXX.XX
Port: 6255
User-Agent: Mozilla/4.0 (compatible; MSIE 5.16; Mac_PowerPC)
ViewState:
[deleted]
System.Web.HttpException: Authentication of viewstate failed. 1) If this is
a cluster, edit <machineKey> configuration so all servers use the same
validationKey and validation algorithm. AutoGenerate cannot be used in a
cluster. 2) Viewstate can only be posted back to the same page. 3) The
viewstate for this page might be corrupted. ---> System.Web.HttpException:
Unable to validate data.
Please note that the website is hosted on single server.

Is there ayway I can help them get rid of the exception? I don't want to
turn off the viewstate check as they're really good in protecting the site
from sproofing.

Yours,
Lau Lei Cheong

--
If you want to mail to me, please replace all instance of "e" to "a" in my
email address. Thank you.
Sorry for any inconvience caused, but there's many spam-mailers.
Nov 19 '05 #1
2 1771
Hi,

try by setting enableViewStateMac="False" in the page directive explicitly

cheers,

Jerome. M

"Lau Lei Cheong" wrote:
Hello,

It turns out that some of my website's visitors are using MSIE 5.X for
Mac, and they frequently suffers from the "Invalid viewstate" exception(The
exception is not recorded on other browsers, so may be IE for Mac specific
problem). The following is a sample of returned report(I implemented email
notification on exception):

> System.Web.HttpUnhandledException: Exception of type
System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException:
Invalid_Viewstate
Client IP: XXX.XXX.XXX.XX
Port: 6255
User-Agent: Mozilla/4.0 (compatible; MSIE 5.16; Mac_PowerPC)
ViewState:
[deleted]
System.Web.HttpException: Authentication of viewstate failed. 1) If this is
a cluster, edit <machineKey> configuration so all servers use the same
validationKey and validation algorithm. AutoGenerate cannot be used in a
cluster. 2) Viewstate can only be posted back to the same page. 3) The
viewstate for this page might be corrupted. ---> System.Web.HttpException:
Unable to validate data.

Please note that the website is hosted on single server.

Is there ayway I can help them get rid of the exception? I don't want to
turn off the viewstate check as they're really good in protecting the site
from sproofing.

Yours,
Lau Lei Cheong

--
If you want to mail to me, please replace all instance of "e" to "a" in my
email address. Thank you.
Sorry for any inconvience caused, but there's many spam-mailers.

Nov 19 '05 #2
Oh, I see. :)

The MSDN doesn't seem to document this property very well, just say that "it
is not intended to be used directly from your code" without further
specifying the reasons.

"DotNetJerome" <reachjerome@_yahoo.com-remove-the-underscore-after@> ¦b¶l¥ó
news:22**********************************@microsof t.com ¤¤¼¶¼g...
Hi,

try by setting enableViewStateMac="False" in the page directive explicitly

cheers,

Jerome. M

"Lau Lei Cheong" wrote:
Hello,

It turns out that some of my website's visitors are using MSIE 5.X for Mac, and they frequently suffers from the "Invalid viewstate" exception(The exception is not recorded on other browsers, so may be IE for Mac specific problem). The following is a sample of returned report(I implemented email notification on exception):

> > System.Web.HttpUnhandledException: Exception of type
System.Web.HttpUnhandledException was thrown. ---> System.Web.HttpException: Invalid_Viewstate
Client IP: XXX.XXX.XXX.XX
Port: 6255
User-Agent: Mozilla/4.0 (compatible; MSIE 5.16; Mac_PowerPC)
ViewState:
[deleted]
System.Web.HttpException: Authentication of viewstate failed. 1) If this is a cluster, edit <machineKey> configuration so all servers use the same
validationKey and validation algorithm. AutoGenerate cannot be used in a cluster. 2) Viewstate can only be posted back to the same page. 3) The
viewstate for this page might be corrupted. ---> System.Web.HttpException: Unable to validate data.

Please note that the website is hosted on single server.

Is there ayway I can help them get rid of the exception? I don't want to
turn off the viewstate check as they're really good in protecting the site from sproofing.

Yours,
Lau Lei Cheong

--
If you want to mail to me, please replace all instance of "e" to "a" in my email address. Thank you.
Sorry for any inconvience caused, but there's many spam-mailers.

Nov 19 '05 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Ben Rush | last post by:
Hello World, Okay, I have spent the day browsing the newsgroups and reading up on article after article concerning ViewState corruption and so forth, and I have a couple questions. We...
2
by: Jay Walker | last post by:
I created a custom DataGridColumn based on Marcie Robillard's MSDN Article: Creating Custom Columns for the ASP.NET Datagrid...
10
by: Robert | last post by:
I have an app that was originally 1.1, now migrated to 2.0 and have run into some sporadic viewstate errors...usually saying the viewstate is invalid, eventvalidation failed or mac error. My web...
6
by: sck10 | last post by:
Hello, I have applications that produce the following error when they have been open to long without activity. Is there any way to force a re-load of the page or go to another page if the page...
4
by: Rolf Welskes | last post by:
Hello, the problem seems simple I have an own webcontrol one property is public bool IsEdit { get
6
by: scottrm | last post by:
Hi Users seem to be getting the following intermitent error whe they post a form. Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that...
5
by: russell.lane | last post by:
I'm getting the much-hated "validation of viewstate MAC failed" error. This is on an ASP.Net 2.0 app running in IIS with IE 6+ as the browser. The full error text is: Validation of viewstate...
5
by: Mark Olbert | last post by:
Tonight's episode of me beating my head bloody against the monitor was the result of ViewState/ControlState information not being available when CreateChildControls() gets called for a...
9
by: =?Utf-8?B?TUNN?= | last post by:
I'm sure the answer to my question varies depending on the situation, but I am looking for a general "best practice". If I have an asp.net application and I load certain data from a database,...
4
by: =?Utf-8?B?TUNN?= | last post by:
I am trying to disable ViewState at the application level. I have the following line in my web.config: <pages enableViewState="false"></pages> But it is not working. What can I do?
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.