开发者

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 ?


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

上一篇:

下一篇:

精彩评论

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

最新问答

问答排行榜