简体   繁体   中英

Declaring Encryption in a ASP.NET Web App

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 ?

您可能忘记了将DLL或App_Code中的文件复制到服务器。

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.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM