We have a wordpress site on a linux share server (using cPanel). we want to create a login script to connect our site to another link that is using a microsoft server (aspx page). When we use the script and try to login we see the following error:
Server Error in '/NET' Application.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
<a href="http://go.microsoft.com/fwlink/?LinkID=314055" rel="nofollow">http://go.microsoft.com/fwlink/?LinkID=314055</a>
We did some checks and it seems this problem can be solved by editing the web.config file on a windows server but ours is linux. Can anyone suggest how to resolve the issue on the wordpress?
Here is how we used the code in wordpress:
Server Error in '/NET' Application.
Validation of viewstate MAC failed. If this application is hosted by a Web Farm or cluster, ensure that configuration specifies the same validationKey and validation algorithm. AutoGenerate cannot be used in a cluster.
<a href="http://go.microsoft.com/fwlink/?LinkID=314055" rel="nofollow">http://go.microsoft.com/fwlink/?LinkID=314055</a>
We did some checks and it seems this problem can be solved by editing the web.config file on a windows server but ours is linux. Can anyone suggest how to resolve the issue on the wordpress?
Here is how we used the code in wordpress:
Code:
<form method="post" action="http://owners.mydomain.com/login.aspx" id="ddl00">
<div class="aspNetHidden">
<input type="hidden" name="__VIEWSTATE" id="__VIEWSTATE" value="/fdfdfaerghjkkaaklgjlakrrvc34fdfWjAdfdfdfamNIzDfdf6adBjuDFWfzdfmdffY" />
</div>
<div class="aspNetHidden">
<input type="hidden" name="__EVENTVALIDATION" id="__EVENTVALIDATION" value="/dfdfdasfasdfjglakfJKLFJDLKJR34252KKJLKJFD/fdfkadfeoawrfir/IeirIIURIR+KKJFKEjkdsfjerk" />
</div>
<table style="width:auto; margin:2em auto 0 auto;">
<tr>
<td class="label">
Username
</td>
<td>
<input name="username" type="text" id="username" tabindex="1" />
</td>
</tr>
<tr>
<td class="label">
Password
</td>
<td>
<input name="password" type="password" id="password" tabindex="2" />
</td>
</tr>
<tr>
<td colspan="2" class="button_row">
<input type="submit" name="ctl15" value="Login" tabindex="3" />
</td>
</tr>
</table>
</form>