473,396 Members | 2,010 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,396 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 2785
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: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.