Solved

MachineKey in Web.Config

Posted on 2010-09-10
2
1,139 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
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

6 Surprising Benefits of Threat Intelligence

All sorts of threat intelligence is available on the web. Intelligence you can learn from, and use to anticipate and prepare for future attacks.

Join & Write a Comment

Running classic asp applications under Windows Server 2008 R2 (x64) and IIS 7 is not as easy as one may think. It took me a while to figure it out while getting error 8002801d a few times. After you install the OS you will need to install the fol…
When it comes to showing a 404 error page to your visitors, you do not want that generic page to show, and you especially do not want your hosting provider’s ad error page to show either. In this article, I will show you how to enable the custom 40…
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…
You have products, that come in variants and want to set different prices for them? Watch this micro tutorial that describes how to configure prices for Magento super attributes. Assigning simple products to configurable: We assigned simple products…

705 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

Need Help in Real-Time?

Connect with top rated Experts

22 Experts available now in Live!

Get 1:1 Help Now