site publish problem
-
Right now , i buy a host and a domain. and i want to publish my project on real website : WWW.MYDOMAIN.COM . but i encounter a problem : when i want to login to website it send me an error with this title : "Server Error in '/' Application." and contain this message : <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration> I dont undersetand what should i do ! Any Idea?
[]D @ []v[] []D @ []v[]
-
Right now , i buy a host and a domain. and i want to publish my project on real website : WWW.MYDOMAIN.COM . but i encounter a problem : when i want to login to website it send me an error with this title : "Server Error in '/' Application." and contain this message : <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration> I dont undersetand what should i do ! Any Idea?
[]D @ []v[] []D @ []v[]
Create a file called Web.config in the root directory of your site. Put this in the file: <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Then it will tell you where the error is... Warning, that will show intimate data about your site, before you go live you need to either remove that Web.config file, or better yet, set a better one up, go read about Web.config files, they are quite useful.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo
-
Create a file called Web.config in the root directory of your site. Put this in the file: <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Then it will tell you where the error is... Warning, that will show intimate data about your site, before you go live you need to either remove that Web.config file, or better yet, set a better one up, go read about Web.config files, they are quite useful.
The best way to accelerate a Macintosh is at 9.8m/sec² - Marcus Dolengo