472,969 Members | 2,813 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 472,969 software developers and data experts.

not working: <customErrors mode="Off"/>

I made the above change to my web.config file so that errors would be
reported from a remote site as explained in the Server Error:
Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrorstag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrorstag should then have its "mode" attribute
set to "Off".

OK, this had no effect. I verifed the change to web.config did take place.

I can publish my project to my own localhost IIs, to another system
running its own XP IIS.

I can even publish a FP2003 (non- aspx) app to the server that has the
problem and it runs fine. I cannot get an error message from the server
indicating the problem. I am publishing using local file as in
\\servername\acqlib and attempting to run page using
http://servername/acqlib/default.aspx

OK - to make a long story short, I got the administrator to run the page
while logged onto the system and it gave an error at:
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

This indicates the server is not running dotnet 2.0 Admin is looking into
installing dotnet 2.0 on the server.

My question: Why didnt that error message show up where I could figure out
the problem myself?


--
================================================== =====================
Joseph "Beemer Biker" Stateson
http://ResearchRiders.org Ask about my 99'R1100RT
================================================== =====================
Jan 24 '07 #1
2 2762
The way it works, unless I am very much mistaken, is that the server side
code throws an exception, which you catch and deal with on your client.

Since your code could not even run - because .NET 2.0 is not present, it
would not be possible even to load the assembly, never mind create and throw
an exception.

That's my best guess anyway.
Peter
"Beemer Biker" <js*******@swri.eduwrote in message
news:12*************@corp.supernews.com...
>I made the above change to my web.config file so that errors would be
reported from a remote site as explained in the Server Error:
Details: To enable the details of this specific error message to be
viewable on remote machines, please create a <customErrorstag within a
"web.config" configuration file located in the root directory of the
current web application. This <customErrorstag should then have its
"mode" attribute set to "Off".

OK, this had no effect. I verifed the change to web.config did take
place.

I can publish my project to my own localhost IIs, to another system
running its own XP IIS.

I can even publish a FP2003 (non- aspx) app to the server that has the
problem and it runs fine. I cannot get an error message from the server
indicating the problem. I am publishing using local file as in
\\servername\acqlib and attempting to run page using
http://servername/acqlib/default.aspx

OK - to make a long story short, I got the administrator to run the page
while logged onto the system and it gave an error at:
<configuration
xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

This indicates the server is not running dotnet 2.0 Admin is looking into
installing dotnet 2.0 on the server.

My question: Why didnt that error message show up where I could figure
out the problem myself?


--
================================================== =====================
Joseph "Beemer Biker" Stateson
http://ResearchRiders.org Ask about my 99'R1100RT
================================================== =====================


Jan 24 '07 #2
well if the error is parsing the config file, then you can turn error
reporting on with the web config.

-- bruce (sqlwork.com)

Beemer Biker wrote:
I made the above change to my web.config file so that errors would be
reported from a remote site as explained in the Server Error:
Details: To enable the details of this specific error message to be viewable
on remote machines, please create a <customErrorstag within a "web.config"
configuration file located in the root directory of the current web
application. This <customErrorstag should then have its "mode" attribute
set to "Off".

OK, this had no effect. I verifed the change to web.config did take place.

I can publish my project to my own localhost IIs, to another system
running its own XP IIS.

I can even publish a FP2003 (non- aspx) app to the server that has the
problem and it runs fine. I cannot get an error message from the server
indicating the problem. I am publishing using local file as in
\\servername\acqlib and attempting to run page using
http://servername/acqlib/default.aspx

OK - to make a long story short, I got the administrator to run the page
while logged onto the system and it gave an error at:
<configuration xmlns="http://schemas.microsoft.com/.NetConfiguration/v2.0">

This indicates the server is not running dotnet 2.0 Admin is looking into
installing dotnet 2.0 on the server.

My question: Why didnt that error message show up where I could figure out
the problem myself?

Jan 24 '07 #3

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

1
by: Han | last post by:
Has any one ran into this problem? I'm trying to debug an error on a remote ASP.NET server. I've set <customErrors mode = "Off"> in the web.config but it does not give a detailed, non-filtered...
2
by: Mary Kerrigan | last post by:
I have an IIS virtual directory on a Windows 2000 server that is configured as an application. When viewing the site remotely, if there is an error we get a screen telling us to turn customErrors...
1
by: Menno Abbink | last post by:
Hey All, I'm developing a new website and I want the customer to be able to se my work in progress so I have set up a server behind my ADSL-router. The server is using W2003. I've created a...
1
by: Savas Ates | last post by:
I have a web application It works well in my local fodler.. When i upload it to my web server i got To enable the details of this specific error message to be viewable on remote machines, please...
5
by: Savas Ates | last post by:
I have a web application It works well in my local folder.. When i upload it to my web server i got To enable the details of this specific error message to be viewable on remote machines,...
3
by: =?Utf-8?B?bmt3?= | last post by:
I want to use <customErrors mode="Off"/in the web.config file; but I want to have custom error message for database time out error message. Is it possible?
2
by: moondog | last post by:
I have just upgraded from Visual Studio 2003 to 2005 and am now trying to make my web apps work. My web app compiles and works fine in Visual Studio but once I publish it out to my server (which...
15
denny1824
by: denny1824 | last post by:
I have a working website. I copied all the files to a new folder in inetpub/wwwroot and then set that folder as a Virtual Directory in IIS. I try going to that site from the new folder and i am...
0
by: lllomh | last post by:
Define the method first this.state = { buttonBackgroundColor: 'green', isBlinking: false, // A new status is added to identify whether the button is blinking or not } autoStart=()=>{
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 4 Oct 2023 starting at 18:00 UK time (6PM UTC+1) and finishing at about 19:15 (7.15PM) The start time is equivalent to 19:00 (7PM) in Central...
0
tracyyun
by: tracyyun | last post by:
Hello everyone, I have a question and would like some advice on network connectivity. I have one computer connected to my router via WiFi, but I have two other computers that I want to be able to...
2
by: giovanniandrean | last post by:
The energy model is structured as follows and uses excel sheets to give input data: 1-Utility.py contains all the functions needed to calculate the variables and other minor things (mentions...
3
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be using a very simple database which has Form (clsForm) & Report (clsReport) classes that simply handle making the calling Form invisible until the Form, or all...
1
by: Teri B | last post by:
Hi, I have created a sub-form Roles. In my course form the user selects the roles assigned to the course. 0ne-to-many. One course many roles. Then I created a report based on the Course form and...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 1 Nov 2023 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM) Please note that the UK and Europe revert to winter time on...
0
NeoPa
by: NeoPa | last post by:
Introduction For this article I'll be focusing on the Report (clsReport) class. This simply handles making the calling Form invisible until all of the Reports opened by it have been closed, when it...
3
by: GKJR | last post by:
Does anyone have a recommendation to build a standalone application to replace an Access database? I have my bookkeeping software I developed in Access that I would like to make available to other...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.