arian_P
سه شنبه 06 مهر 1389, 16:15 عصر
سلام این خط کد :
Configuration cfg = WebConfigurationManager.OpenWebConfiguration(confi gPath);
با هیچکدوم از path های زیر جواب نمیده :
string path0 = "";
string path1 = System.Web.Hosting.HostingEnvironment.ApplicationV irtualPath;
string path2 = System.Web.Hosting.HostingEnvironment.MapPath("~/web.Config");
string path3 = "Request.ApplicationPath";
string path4 = HttpContext.Current.Request.ApplicationPath;
string path5 = "/web.config";
string configPath = path5;// "";
دیگه نمی دونم چی باید بذارم:عصبانی++:
از دوستان کسی می تونه منو راهنمایی کنه ؟ ممنون میشم... فوریه :(
این Error رو دریافت می کنم :
An error occurred loading a configuration file: Failed to map the path '/'.
Configuration cfg = WebConfigurationManager.OpenWebConfiguration(confi gPath);
با هیچکدوم از path های زیر جواب نمیده :
string path0 = "";
string path1 = System.Web.Hosting.HostingEnvironment.ApplicationV irtualPath;
string path2 = System.Web.Hosting.HostingEnvironment.MapPath("~/web.Config");
string path3 = "Request.ApplicationPath";
string path4 = HttpContext.Current.Request.ApplicationPath;
string path5 = "/web.config";
string configPath = path5;// "";
دیگه نمی دونم چی باید بذارم:عصبانی++:
از دوستان کسی می تونه منو راهنمایی کنه ؟ ممنون میشم... فوریه :(
این Error رو دریافت می کنم :
An error occurred loading a configuration file: Failed to map the path '/'.