Viewstate support in Mac IE5

L

Lau Lei Cheong

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
 
G

Guest

Hi,

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

cheers,

Jerome. M

Lau Lei Cheong said:
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
 
L

Lau Lei Cheong

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 said:
Hi,

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

cheers,

Jerome. M

Lau Lei Cheong said:
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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Members online

Forum statistics

Threads
473,995
Messages
2,570,231
Members
46,820
Latest member
GilbertoA5

Latest Threads

Top