Type aes is not defined gives error when upload on server asp.net

Posted by Pcjoshi under ASP.NET on 9/18/2014 | Points: 10 | Views : 1218 | Status : [Member] | Replies : 1
I am facing a problem in asp.net page.
Error: BC30002: Type 'Aes' is not defined.
Error Line:Using encryptor As Aes = Aes.Create()
Its working fine in local machine when uploaded it on server it gives error
i also used Imports System.Security.Cryptography.


Posted by: Naveenhcl on: 9/18/2014 [Member] Starter | Points: 25


Please remember one thing if any logic is working fine in development and production it's give error means there is no issue in your code logic please check the settings for production compare with development.

Pcjoshi, if this helps please login to Mark As Answer. | Alert Moderator

Login to post response