I am trying to encryot my con string and I am getting an error
Object reference not set to an instance of an object.
Description: An unhandled exception occurred during the execution of the current web request. Please review the stack trace for more information about the error and where it originated in the code.
Exception Details: System.NullReferenceException: Object reference not set to an instance of an object.
Source Error:
Line 10: Dim section As ConfigurationSection = config.GetSection("ConnectionStrings")
Line 11:
Line 12: section.SectionInformation.ProtectSection("DataProtectionConfigurationProvider")
Line 13: config.Save()
Line 14: End Sub ...
Go to the complete details ...