On a previous article I showed how to set, create and the importance of using a machine key in your ASP application. However, we used a third party to get our MachineKey, which is not bad but it is always better to create your own key locally. In this article I will give you a step by step guide on how to generate a MachineKey within WebsitePanel.
1. Sign into WebsitePanel.
2. In the left side menu, click on MachineKey Generator:
3. In the MachineKey page, you have to options: ASP.NET 2.0 or ASP.NET 4.0. Select the version you use in your ASP application and click on “Generate MachineKey”:
4. Now, copy the MachineKey generated, which is the blue text inside <system.web> tag:
5. Open the web.config file of your application. Put that Machine right below the <system.web> tag:
6. And that’s it! You just generated and applied your own MachineKey in your application.
This concludes Generate MachineKey in WebsitePanel
Looking for quality Asp Hosting? Look no further than Arvixe Web Hosting!
Happy Hosting!
Rodolfo Hernandez