New Windows Safari compatibility problem with vb.net?

J

Jeff

Okay, I read that Safari is now available for Windows, so I downloaded it to
test on a vb.net/visual web developer 2005 app. that I created.

The app works fine in other browsers.

While in safari, I get the error message below after hitting a button that
simply redirects the user to another page. Searching google provides a
number of people having prior problems, but no mention about Safari. The
error is apparently related to a security feature of .net where code that
will validate the viewstate is loaded onto the page and then checked upon
postback. There is some mention that the problem can be eliminated by
turning off this validation, but I really don't want to do that for security
reasons.

....any ideas? ...and no, I'm not running a web farm or cluster.

Jeff

Validation of viewstate MAC failed. If this application is hosted by a Web
Farm or cluster, ensure that <machineKey> configuration specifies the same
validationKey and validation algorithm. AutoGenerate cannot be used in a
cluster.
 
J

Jeff

Andrew Morton said:


Okay, good point. There was another problem, however, when I tested the app.
on an actual mac/apple machine running IE yesterday. ...haven't really
tested on this combination before. ...apparently a problem with requesting
the client IP address, which caused my app to crash. When I turned off that
line of code (below), it worked. ...or at least I think that this was the
problematic line - I only had a few minutes to check. ...was beginning to
wonder about macs altogether. Anyone familiar with this problem?

Dim x As String = Current.Request.ServerVariables("remote_addr")

Jeff
 

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

Top