Im receiving the following error
"Name 'Encryption' is not declared."
On 开发者_开发百科Line
If reader_login("password").ToString() = Encryption.Rijndael.Encrypt(Password, "SHA1", 2, 256) Then
Locally it is fine just seeing this error now on my development machine. Any Ideas ?
You probably forgot to copy a DLL or a file in App_Code
to the server.
Can you find out where the Encryption class is located in your development machine? If it's a 3rd party component that's installed in the GAC, you'll need to install that component on the server too, or if possible copy its assembly (.dll) to the bin folder of your application on the production server.
精彩评论