So I have went through the steps to encrypt my connection strings and machine key, as seen here.
When opening the page after its uploaded to the server I get the error.
I exported the RSA key which I'm now supposed to import onto the server with command prompt, but my hosting doesn't include a command prompt.
I'm not really sure what to do at this point, any help would be appreciated.
I'm also having this problem. I called Godaddy to try to find out how to encrypt my connection strings, and the person who I spoke with seemed to not understand the question. He kept saying there are no articles about that. Yeah, that's why I was calling. So I did some research and attempted to run the following code on Godaddy's server based on this article from Microsoft.
// Open the Web.config file.
Configuration config = WebConfigurationManager.OpenWebConfiguration("~");
// Get the connectionStrings section.
ConnectionStringsSection section = config.GetSection("connectionStrings") as ConnectionStringsSection;
// Toggle encryption.
// Save changes to the Web.config file.
I got an error saying that I attempted to perform an operation that is disallowed on the server. So that was a bust.
After searching for ages I finally found out that it is simply not possible. To be able to do it you need a machine key, which you need to do certain things on the system itself. And unless you are renting a dedicated server you have no access to a console.
I haven't tried to find an alternate solution for quite some time now, but I was thinking a couple of days ago maybe there is a way to at least grab passwords, and any other private data from a database using your own encryption/decryption.