473,854 Members | 1,731 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

IIS 500-100 Custom Error - irreversible setting?

4 New Member
Hi all!


Brief subject:

I have to develop an ASP-based application, and build also a specific error handling ASP. After that I had set the virtual directory Custom Error 500;100 to new ASP - and now I have no error handling at all. Even if I reset it to Default!


Detailed description:

First I developed the error handling code directly in 500-100.asp, making no setting to IIS (under localhost). It worked fine, both all the standard functionality of 500-100.asp and the new-written messaging that sends e-mail to me (containing asp error details).
  • After all the successful testing the 500-100.asp had been restored
  • The new 500-100_company.asp had been placed in wwwroot dir.
  • In the IIS Mamager /(virtual directory) /Properties /Custom Errors tab /500;100 was set to URL, pointing onto /500-100_company.asp

The workflow descripted above seems to ruin totally the error handling of IIS. I am unable to reset even the original 500-100 error handling functionality (setting in manager to Default or any other way). The new error handling ASP cannot be set to work as well.

The effect is the same both on IIS 5.1, or 6.0

What's wrong, who could help me?
András
Jan 16 '07 #1
5 7230
radcaesar
759 Recognized Expert Contributor
Check ur ie settings

Tools | Internet Options | Advanced --> Show friendly HTTP error messages

u have to uncheck this one to show custom errors.

:)


Hi all!


Brief subject:

I have to develop an ASP-based application, and build also a specific error handling ASP. After that I had set the virtual directory Custom Error 500;100 to new ASP - and now I have no error handling at all. Even if I reset it to Default!


Detailed description:

First I developed the error handling code directly in 500-100.asp, making no setting to IIS (under localhost). It worked fine, both all the standard functionality of 500-100.asp and the new-written messaging that sends e-mail to me (containing asp error details).
  • After all the successful testing the 500-100.asp had been restored
  • The new 500-100_company.asp had been placed in wwwroot dir.
  • In the IIS Mamager /(virtual directory) /Properties /Custom Errors tab /500;100 was set to URL, pointing onto /500-100_company.asp

The workflow descripted above seems to ruin totally the error handling of IIS. I am unable to reset even the original 500-100 error handling functionality (setting in manager to Default or any other way). The new error handling ASP cannot be set to work as well.

The effect is the same both on IIS 5.1, or 6.0

What's wrong, who could help me?
András
Jan 17 '07 #2
jegec
4 New Member
Thanks, Radcaesar...

'Course I will try, but...
  1. If it is so, why do not work the 'Default' (re)setting for 500-100?
  2. My browser in which I have tested is a Mozilla Firefox 2.0

Do you have some suggestions?
Jegec

P.S.: As I wrote before, the effect is the same on IIS 5.x and 6.0. Alas, I've got in trouble not only on my own machine but also on two remote servers :-( and it urges me to solve the problem quite rapidly...
Jan 17 '07 #3
jegec
4 New Member
I unchecked the "Show friendly..." option and experienced no change. Still the appearing error page looks exactly as shown below (just not in bold) both in IE and Firefox:

Microsoft VBScript runtime error '800a01f4'

Variable is undefined: 'blabla'

/donpepe/RendFelv/src/DonPepe_RendFel v_Main.asp, line 5
Jan 17 '07 #4
radcaesar
759 Recognized Expert Contributor
Be sure that u did the following,

1. Create a file that contains your custom error message, and place it in a directory.

2. In the Internet Information Services snap-in, select the Web site, virtual directory, directory, or file you would like to customize HTTP errors, and then click Properties.

3. Select Custom Errors.

4. Select the HTTP error that you would like to change, in this case 404.

5. Click Edit Properties.

6. Select File from the drop-down list.

7.Enter the full path that points to your customized error message, or use Browse... to locate the file on your computer's hard disk.

8. Click OK.

:)
Jan 17 '07 #5
jegec
4 New Member
Hi, rad!

Sure I did the very things you have suggested, with only 3 points to discuss (may be, both have no relation to the core problem, but who knows...):
  1. the error to be customized is the 500;100 (Internal Server ASP) and not the 404 error;
  2. therefore its pointer will be of type URL or Default, not File as for html-s;
  3. what is the snap-in in practice (could I make these same settings elsewhere)?

Have a nice week-end!
András
Jan 19 '07 #6

Sign in to post your reply or Sign up for a free account.

Similar topics

79
4876
by: Tim Tyler | last post by:
PHP has some pretty funky error messages: "parse error, unexpected T_IF"; "Parse error: parse error, unexpected T_CONSTANT_ENCAPSED_STRING"; Humans often see these - shouldn't they be more human readable? ....and why are there no stack backtraces? When a problem arises, I am often interested in knowing where the
7
2530
by: yzhshi | last post by:
hello, the follow code get different result from Command line and browser that is to say ,i get the correct result from the command line,but i cant say the result from browser. IPC::RUN is used in this code; i get it from http://ppm.activestate.com/PPMPackages/zips/8xx-builds-only/Windows/IPC-Run-0.77.zip my environment is: Microsoft windows 2000 professional
32
4173
by: Rich | last post by:
I'm sure it sounds kinda nutty to display 200 columns and 500,000 rows of data. But I have been pulling data from a Lotus Notes database into Sql Server for a while now, but Lotus Notes is starting to crack, columns getting corrupted. Can't handle the volume of data and number of columns. Sql Server has no problem. But displaying the data is the big deal. The end users want to be able to scroll acros a page to the colum of their...
0
598
by: Evan Escently | last post by:
Hi, I've laid out a _very_ simple database that tracks my artwork the table 'works' looks like: +---------+----------+------------+------------+-------------+ | work_id | title | media | category | year | etc.... +---------+----------+------------+------------+-------------+ | 1 | One | oil | painting | 2002 | +---------+----------+------------+------------+-------------+
9
1596
by: John | last post by:
I recently finished a project for someone and they are getting 500 errors. What's driving me nuts is the application works fine from my location. All I can think is it could be a firewall issue but I've messed with my firewall and I can't reproduce the error. What's ever more annoying is they are getting this error from more than one location. I don't see anything that would cause this. This is an admin application that uses Session and...
4
1531
by: Alex Vinokur | last post by:
Compiler GNU gpp.exe (GCC) 3.4.1 Foo(300) = Foo(500); // Foo(300) is const. Why does a compiler compile that? ------ foo.cpp ------ struct Foo { explicit Foo(int) {}
3
1758
by: barhoooooom | last post by:
hello, hows life? mine is good ;) as I was surfing the net, I found a little question, it wants a progra that gets the factorial of any number only less than 1000....you kno what is 30! ...? it is simply 2.6525285981219105863630848e+32 so if I am going to get 500! or maybe 1000! then you can imagine ho big the number is. I thought of using an array whose elements are the digits of my bi
4
1862
by: Dean R. Henderson | last post by:
Hi, I am getting HTTP/1.1 500 Internal Server Errors when I try to create a new ASP.NET Web Service or ASP.NET Web Application. I have been able to create these in the past and my previous ones can still be opened, so I suspect I have done something to mess up my security configuration or settings. I am using Visual Studio 2003 on a Windows 2000 Server running IIS 5. Thanks for any help to resolve this problem.
2
6176
by: Siva | last post by:
Hi, I am getting XMLHTTP status 500 when I try to post a page on my simple ASPX page. I am not doing much in Aspx page. What I am doing is I just print the type of Request by the following line: MsgBox(Request.ServerVariables("REQUEST_METHOD")) I have another page which post the xml on this aspx page. oXMLHTTP.open "POST", sURL, False oXMLHTTP.send sData
0
1135
by: mcfly1204 | last post by:
I am being told by developers that it is virtually impossible to work with Sage Products, in this case Mas 500, because the databases are read-only. This does not make much sense to me given I can run DTS's on our Mas 500 databases without a problem. Does anyone have experience with this? Mas 500 6.3/Win2k3 Server/MS Sql Server 2000
0
9901
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
11031
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10685
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10763
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
9518
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
7918
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
5942
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
4563
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
3
3188
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.