开发者

Declaring Encryption in a ASP.NET Web App

开发者 https://www.devze.com 2023-01-07 16:08 出处:网络
Im receiving the following error \"Name \'Encryption\' is not declared.\" On 开发者_开发百科Line

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.

0

精彩评论

暂无评论...
验证码 换一张
取 消