Questions tagged [machinekey]
143 questions
0
votes
1 answer
Single Sign On for Web Application and Application in Virtual Directory
To enable single sign-on for a web application and a web application in a virtual directory, I set the machinekey in both apps to the same:
The single sign on works just fine,…

Stefan
- 1,719
- 2
- 15
- 27
0
votes
1 answer
Creating a web farm - ASP.Net machineKey causes membership logons to fail
We are implementing a load balancer for our web site for redundancy purposes so if website 1 goes down, the load balancer will send all traffic to server 2 and vice versa.
I have implemented a machineKey that I generated in the web.config, but in…

Scottie
- 11,050
- 19
- 68
- 109
0
votes
1 answer
In order setup machine key for website to how to generate encryption key using HMACSHA256 in C#
I tried generating machine key to update web.config manually, but I need powershell script to do the same. Can any one help me on this?

Vinoth
- 1,975
- 21
- 34
0
votes
1 answer
machinekey validation using 3DES
I am getting the error on the following machinekey when using validationkey & decryption key using 3DES validation. it works when i removed both. what's the best approach when using 3DES?

Chris Asis
- 1
- 1
- 2
0
votes
2 answers
MachineKey Relationship in subdomains. Across Servers possible?
In this example I have a couple of sites.
a.site.com
b.site.com
c.site.com
Each of the above sites all have the same identical machinekey. Also this example a.site.com and b.site.com exist on server1 and c.site.com exists on server 2.
Using forms…

user2278106
- 13
- 1
- 5
0
votes
1 answer
Asp.Net membership login & machine key
I have a .Net application that uses the ASP.Net membership login control for authentication. I had my application published on IIS7 as a web site (www.mysite.com). Everything working fine.
Now I created a new Web site and in it i have added an…

user1626401
- 1
- 2
0
votes
1 answer
Different machine keys for different web applications
I have two web applications running under .NET4. Both the web applications are hosted on same server. I have two questions here:
Will both of these applications share same machine key? How can I have different machine keys for different applications

Rocky Singh
- 15,128
- 29
- 99
- 146
-2
votes
2 answers
Web Form in web farm or cluster SQL
I have the following error:
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…

Haminteu
- 1,292
- 4
- 23
- 49