Search:
Namespaces
Discussions
.NET v1.1
Feedback
Server error in '/' application
Messages
Related Types
This message was discovered on
ASPFriends.com 'aspngconfig' list
.
Gopal
Hi All,
I recently created a hello world ASP.NET page and hosted it with
my host. But it seems to come up with the following error.
____________________________________________________________________________
_________________________
Server Error in '/' Application.
----------------------------------------------------------------------------
----
Runtime Error
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>
____________________________________________________________________________
_______________
But actually I do have ' <customErrors mode="Off"/>' in my web.config.
Which means that ASP.NET is not picking up settings from my Web.config, but
probably from web.config in some parent directory, over which I have no
control(being in a hosted enviro.).
The wierdest thing is that, I get this error for any request with ASPX
extension. Even if the file doesn't exist!
I am a total novice to ASP.NET....but it does seem to me that my Application
goes crazy even before actually checking if the file exists.
Has anyone of you seen this evil error before? Also could it be that my
folder is not configured as an application?
thanks
G
__________________________________________________
Do You Yahoo!?
Everything you'll ever need on one web page
from News and Sport to Email and Music Charts
http://uk.my.yahoo.comm
Reply to this message...
Brad Kingsley
It could be an error in the web.config file itself, or in the global.asax
file, or it could even be that the permissions are incorrect on the site.
~Brad Kingsley
Microsoft MVP - ASP
Windows 2000 MCSE
http://www.orcsweb.com/
Powerful Web Hosting Solutions
#1 in Service and Support
----- Original Message -----
From: "Gopal" <
Click here to reveal e-mail address
>
To: "aspngconfig" <
Click here to reveal e-mail address
>
Sent: Wednesday, July 17, 2002 7:54 AM
Subject: [aspngconfig] Server error in '/' application
[Original message clipped]
---
[This E-mail scanned for viruses by Declude Virus]
Reply to this message...
Aaron Seet
----- Original Message -----
From: "Gopal" <
Click here to reveal e-mail address
>
[Original message clipped]
Yes that web.config should exist in your web site's document root, not your
particular sub-directory. How can you not have your own web site though?
You are riding on a reseller are you?
Aaron
Reply to this message...
Mallu Mallu
I'm getting the same error message. Does anyone have a solution for this? Thank you
--------------------------------
From: Mallu Mallu
Reply to this message...
Timmy .
So do I, I have the similiar situation. The web.config only detects off a parent directory. And I have no control nor the permission for this directory.
Does anyone knows how to build a solution in sub directory only?
Reply to this message...
Timmy .
So do I, I have the similiar situation. The web.config only detects off a parent directory. And I have no control nor the permission for this directory.
Does anyone knows how to build a solution in sub directory only?
Reply to this message...
Diggy Life
I had the same problem, I did two things and then it started working. I don't know if the combination worked or only one item made the fix.
First, I place web.config in 4 different files. I removed all instances except in the virtual directory of my web application.
Next I added the line at the top that specifies the format of the xml file. Mine looks like this.
<?xml version="1.0" encoding="utf-8" ?>
Hope this helps
--------------------------------
From: Diggy Life
Reply to this message...
Ad
MBR BootFX
Best-of-breed application framework for .NET projects, developed by Matthew Baxter-Reynolds and MBR IT
Copyright © Matthew Baxter-Reynolds 2001-2008. '.NET 247 Software Development Services' is a trading style of MBR IT Solutions Ltd.
Contact Us
-
Terms of Use
-
Privacy Policy
-
www.dotnet247.com