Jump to content

GreenDing

Members
  • Posts

    4
  • Joined

  • Last visited

GreenDing's Achievements

Newbie

Newbie (1/14)

0

Reputation

  1. HELP!!!! I'm sure I use asp.net 3.5 build the website. All code generated by vs 2010 except I create a <p> tag in default.aspx. Here's the file web.config, <?xml version="1.0"?> <configuration> <appSettings/> <connectionStrings/> <system.web> <customErrors mode="Off" /> </system.web> </configuration> Why such simplest website got a server error???!!! And I already created tag <customErrors> and change mode to "Off", and I've been tried "On", "off" and "on". Same Error Info. Server Error in '/' Application Description: An application error occurred on the server. The current custom error settings for this application prevent the details of the application error from being viewed remotely (for security reasons). It could, however, be viewed by browsers running on the local server machine. Details: To enable the details of this specific error message to be viewable on remote machines, please create a <customErrors> tag within a "web.config" configuration file located in the root directory of the current web application. This <customErrors> tag should then have its "mode" attribute set to "Off". <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="Off"/> </system.web> </configuration> Notes: The current error page you are seeing can be replaced by a custom error page by modifying the "defaultRedirect" attribute of the application's <customErrors> configuration tag to point to a custom error page URL. <!-- Web.Config Configuration File --> <configuration> <system.web> <customErrors mode="RemoteOnly" defaultRedirect="mycustompage.htm"/> </system.web> </configuration> Anyone can HELP me?? I've been stuck on it 3 days............ Thank U very very very MUCH!!! My domain is http://miniqud.heliohost.org/ WebSiteTry.zip
  2. I'm stuck In web.config settings, at least you can load website page... can I look at your web.config? Thanks.
  3. Thanks, I already solve the problem, but this Server Error in '/' Application I've create the tag <customErrors> and set mode to off, but it dosen't work... I saw a topic asked the same question, but there's no answer, just one day later it fixed itself... I'm sure the version is asp.net 3.5, and the folder WebSiteTry is a empty asp.net 3.5 web site, only has a <p> tag in default page, and I do create <customErrors> tag in web.config, but the same error...
  4. Hi, I got a really strange problem... I'm pretty sure folder LiLong is not exist... But I got a error page 500 about the file which isn't exist can't be defined in line 46... Here details: Server Error in '/' Application The section &amp;--#60;authentication&amp;--#62; can't be defined in this configuration file (the allowed definition context is 'MachineToApplication'). (/home/greend/public_html/LiLong/web.config line 46) Description: HTTP 500. Error processing request. Stack Trace: System.Configuration.ConfigurationErrorsException: The section &amp;--#60;authentication&amp;--#62; can't be defined in this configuration file (the allowed definition context is 'MachineToApplication'). (/home/greend/public_html/LiLong/web.config line 46) at System.Configuration.SectionInfo.ReadData (System.Configuration.Configuration config, System.Xml.XmlReader reader, Boolean overrideAllowed) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Configuration.SectionGroupInfo.ReadData (System.Configuration.Configuration config, System.Xml.XmlReader reader, Boolean overrideAllowed) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Configuration.SectionGroupInfo.ReadContent (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed, Boolean root) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Configuration.SectionGroupInfo.ReadRootData (System.Xml.XmlReader reader, System.Configuration.Configuration config, Boolean overrideAllowed) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Configuration.Configuration.ReadConfigFile (System.Xml.XmlReader reader, System.String fileName) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Configuration.Configuration.Load () [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Configuration.Configuration.Init (IConfigSystem system, System.String configPath, System.Configuration.Configuration parent) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Configuration.Configuration..ctor (System.Configuration.InternalConfigurationSystem system, System.String locationSubPath) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Configuration.InternalConfigurationFactory.Create (System.Type typeConfigHost, System.Object[] hostInitConfigurationParams) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 at System.Web.Configuration.WebConfigurationManager.OpenWebConfiguration (System.String path, System.String site, System.String locationSubPath, System.String server, System.String userName, System.String password, Boolean fweb) [0x00000] in &amp;--#60;filename unknown&amp;--#62;:0 Version information: Mono Runtime Version: 2.6.7 (tarball Thu Oct 18 23:33:40 PDT 2012); ASP.NET Version: 2.0.50727.1433 My domain is http://miniqud.heliohost.org Thanks a lot
×
×
  • Create New...