Solved

MachineKey in Web.Config

Posted on 2010-09-10
2
1,151 Views
Last Modified: 2012-05-10
We're building a new farm:
3 Windows 2008 R2 X64 machines
I've generated a MachineKey and applied it in IIS 7.5 Machine Key section.
Do I use the same MachineKey values for .NET 4.0?
Or Do I have different Keys for 2.0 and 4.0?

Thanks
Ron
0
Comment
Question by:Capt_Ron
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 30

Accepted Solution

by:
Brad Howe earned 125 total points
ID: 33662102
Hi,
Yes, the HashKey is the same for both web.configs. The key is at the SERVER level.
"I've generated a MachineKey and applied it in IIS 7.5 Machine Key section."
> Good, Take the validation and decryption Keys and paste them into your <machinekey validationkey and decreptionkey locations>
Do I use the same MachineKey values for .NET 4.0? Or Do I have different Keys for 2.0 and 4.0?
> Yes. It is a SERVER Level key. It has nothing to do with the version of .net.
Take a read here. http://msdn.microsoft.com/en-us/library/w8h3skw9(v=VS.80).aspx
ex:
<machineKey
    validationKey="32E35872597989D14CC1D5D9F5B1E94238D0EE32CF10AA2D2059533DF6035F4F"
    decryptionKey="B179091DBB2389B996A526DE8BCD7ACFDBCAB04EF1D085481C61496F693DF5F4"
/>

cheers, Hades666

 
 
0
 
LVL 1

Author Closing Comment

by:Capt_Ron
ID: 33662341
Perfect. Thank you VERY much!!!!!
0

Featured Post

Three Reasons Why Backup is Strategic

Backup is strategic to your business because your data is strategic to your business. Without backup, your business will fail. This white paper explains why it is vital for you to design and immediately execute a backup strategy to protect 100 percent of your data.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Prologue It is often required to host multiple websites on a single instance of IIS, mostly in development environments instead of on production servers. I am sure it is not much a preferred solution on production servers but this is at least a pos…
Lync server 2013 or Skype for business Backup Service Error ID 4049 – After File Share Migration
Monitoring a network: how to monitor network services and why? Michael Kulchisky, MCSE, MCSA, MCP, VTSP, VSP, CCSP outlines the philosophy behind service monitoring and why a handshake validation is critical in network monitoring. Software utilized …
Sometimes it takes a new vantage point, apart from our everyday security practices, to truly see our Active Directory (AD) vulnerabilities. We get used to implementing the same techniques and checking the same areas for a breach. This pattern can re…

630 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question