₦airaland Forum

Welcome, Guest: Register • Login • With Google • Trending • Recent • New

Stats: 3,347,855 members, 8,529,494 topics. Date: Friday, 04 December 2026 at 07:22 AM

Toggle theme

Dotnet Hosting Error On Web Config Any Help? - Nairaland General - Nairaland

Nairaland Forum › Nairaland General › Dotnet Hosting Error On Web Config Any Help? (615 Views)

1 Reply

Dotnet Hosting Error On Web Config Any Help? by luckyCO(op): 10:40am On Nov 21, 2009
I designed asp.net website.
Ran properly in my system but when I host it gives the below problem,

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

Am the one that removed xml tag to enable me save it here.

Any help?
1 Reply

I Have Problem With Dotnet Hosting • Dotnet Hosting Error On Web Config Any Help? • Dotnet Hosting Error On Web Config Any Help? • 2 • 3 • 4

Financial Controller, Procurement Officer Needed Urgently • Nigerian School Management Software For Primary And Secondary School Now Free • When You Are Told Happy New Year. How Do You Feel?