Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
K

kumar sudhir1

@kumar sudhir1
About
Posts
4
Topics
4
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Not able to read the value from App.config file
    K kumar sudhir1

    I want to read the security key value from App.config file. Below is the procedure which I did : Create a new config file name as App.config In the App.config file: Added this: After that I did the following: System.Configuration.AppSettingsReader settingsReader = new AppSettingsReader(); when i am debugging these, i find that the value of dimension is 0 which supposed to 1. since there is one key-value present in the App.config string key = (string)settingsReader.GetValue("SecurityKey", typeof(String)); Also it's throwing an exception stating “The key "SecurityKey" does not exist in the appSettings configuration section”.--which already present in the App.config. Also i tried with the second scenario: string key = System.Configuration.ConfigurationManager.AppSettings["SecurityKey"]; which giving me the key value null. Do i required to do some setting for reading the "SecurityKey" Value? Needs help! Thanks Sudhir Kumar Sudhir Kumar

    ASP.NET security help question workspace

  • Not able to read the value from App.config file
    K kumar sudhir1

    I want to read the security key value from App.config file. Below is the procedure which I did : Create a new config file name as App.config In the App.config file: Added this: After that I did the following: System.Configuration.AppSettingsReader settingsReader = new AppSettingsReader(); when i am debugging these, i find that the value of dimension is 0 which supposed to 1. since there is one key-value present in the App.config string key = (string)settingsReader.GetValue("SecurityKey", typeof(String)); Also it's throwing an exception stating “The key "SecurityKey" does not exist in the appSettings configuration section”.--which already present in the App.config. Also i tried with the second scenario: string key = System.Configuration.ConfigurationManager.AppSettings["SecurityKey"]; which giving me the key value null. Do i required to do some setting for reading the "SecurityKey" Value? Needs help! Thanks Sudhir Kumar Sudhir Kumar

    C# security help question workspace

  • Not able to read the value from App.config file
    K kumar sudhir1

    I want to read the security key value from App.config file. Below is the procedure which I did : Create a new config file name as App.config In the App.config file: After that I did the following: System.Configuration.AppSettingsReader settingsReader = new AppSettingsReader(); when i am debugging these, i find that the value of dimension is 0 which supposed to 1. since there is one key-value present in the App.config string key = (string)settingsReader.GetValue("SecurityKey", typeof(String)); Also it's throwing an exception stating “The key "SecurityKey" does not exist in the appSettings configuration section”.--which already present in the App.config. Also i tried with the second scenario: string key = System.Configuration.ConfigurationManager.AppSettings["SecurityKey"]; which giving me the key value null. Do i required to do some setting for reading the "SecurityKey" Value? Needs help! Thanks Sudhir Kumar Sudhir Kumar

    ASP.NET security help question workspace

  • Not able to read the value from App.config file
    K kumar sudhir1

    I want to read the security key value from App.config file. Below is the procedure which I did : Create a new config file name as App.config In the App.config file: After that I did the following: System.Configuration.AppSettingsReader settingsReader = new AppSettingsReader(); when i am debugging these, i find that the value of dimension is 0 which supposed to 1. since there is one key-value present in the App.config string key = (string)settingsReader.GetValue("SecurityKey", typeof(String)); Also it's throwing an exception stating “The key "SecurityKey" does not exist in the appSettings configuration section”.--which already present in the App.config. Also i tried with the second scenario: string key = System.Configuration.ConfigurationManager.AppSettings["SecurityKey"]; which giving me the key value null. Do i required to do some setting for reading the "SecurityKey" Value? Needs help! Thanks Sudhir Kumar Sudhir Kumar

    C# security help question workspace
  • Login

  • Don't have an account? Register

  • Login or register to search.
  • First post
    Last post
0
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups