Last post Mar 20, 2009 10:29 AM by firstname.lastname@example.org
Mar 19, 2009 01:32 PM|Sanjeev.Kejriwal|LINK
My site is hosted in shared hosting ,where i need to get the path of configuration file . i am using this code
which is running absolutely fine In my local .
This .cs file is in the my application APP_code folder
// Get the Web application configuration.
Configuration configuration = WebConfigurationManager.OpenWebConfiguration("~");
but when i host this site on my shared hosting , it shows the error . as i think i need to change this tilde sign.
can anybody let me know what piece of code should be written here in place of "~" .
Mar 20, 2009 10:29 AMemail@example.com|LINK
it shows the error