Welcome to HostingForumz.com!
FAQFAQ   SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

Custom Error page does not fire at all.

 
   Web Hosting Problem Solving Community! (Home) -> IIS RSS
Related Topics:
Custom Error Page Only shows if .ASP added - My cutsom error page only displays when you add .asp to the end of the URL string. You can test this at the site below: <--- This will work (custom error msg) <---..

ASPError Custom page - Does anyone has problem with ASPError object page, when Custom page is using different page handling ASPError object. On one of the three servers, it is not executed when ASP error occured. Any ideas? Thanks

ISMTPOnArrival_OnArrival event not fire at all - Hi, I'm trying to implement an OnArrival sink on a SMTP server with IIS 6 on Windows 2003. From the doc I got the I can do this with the verison of IIS and SMTP server that When I send mail to this server, it appears in the Drop folder,..

file name not logged w/ custom 404 error script - Hello, I have created a custom 404 error page which is an ASP script. The script can determine the requested page (by looking at and then process the request as intended. However when I look in the web log file, I see the name..

Odd Error running an ASP page - Hello, I'm trying to have my IIS 6 server run an .ASP page when a 403.4 error message happens, but all the user ends up seeing is "The specified request cannot be executed from current What does this mean I'm doing wrong? If I type..
Next:  Application Mappings disappeared  
Author Message
mark8

External


Since: Oct 28, 2003
Posts: 1



(Msg. 1) Posted: Tue Oct 28, 2003 3:15 am
Post subject: Custom Error page does not fire at all.
Archived from groups: microsoft>public>inetserver>iis (more info?)

I have 2 problems with IIS and I thought I might as well
post both at the same time (I have Win2000 Server & IIS):-

1. My Custom Error page does not fire at all. Its an ASP
page so i used /errorhandler.asp as the URL. The default
error message still shows up. What gives?

2. My Regional settings are set to dd/MM/yyyy format. When
british-style (dd/MM/yyyy) dates are entered directly into
the date field, Access stores it correctly. However, when
I view the field thru a textbox in my ASP page bound to
this field, it again gets reverted back to MM/dd/yyyy
format. Please help!

 >> Stay informed about: Custom Error page does not fire at all. 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 2) Posted: Wed Oct 29, 2003 12:02 am
Post subject: Re: Custom Error page does not fire at all. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

a) What custom error page - you can create "custom error pages" for almost
any of the defined HTTP error conditions.

b) Each user on the machine has it's own regional settings. I would suggest
that the user context that the ASP page is running under has a different set
of regional settings to your personal regional settings. You could set the
LCID of the page to force a particular set of settings, eg

http://support.microsoft.com/?id=229690

Cheers
Ken

"Mark Nongkhlaw" <mark DeleteThis @shillong.meg.nic.in> wrote in message
news:075201c39d2b$b3f4df30$a601280a@phx.gbl...
: I have 2 problems with IIS and I thought I might as well
: post both at the same time (I have Win2000 Server & IIS):-
:
: 1. My Custom Error page does not fire at all. Its an ASP
: page so i used /errorhandler.asp as the URL. The default
: error message still shows up. What gives?
:
: 2. My Regional settings are set to dd/MM/yyyy format. When
: british-style (dd/MM/yyyy) dates are entered directly into
: the date field, Access stores it correctly. However, when
: I view the field thru a textbox in my ASP page bound to
: this field, it again gets reverted back to MM/dd/yyyy
: format. Please help!

 >> Stay informed about: Custom Error page does not fire at all. 
Back to top
Login to vote
anonymous77

External


Since: Oct 14, 2003
Posts: 468



(Msg. 3) Posted: Wed Oct 29, 2003 12:02 am
Post subject: Re: Custom Error page does not fire at all. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

My replies below :-

 >-----Original Message-----
 >a) What custom error page - you can create "custom error
pages" for almost
 >any of the defined HTTP error conditions.
 >

Well, my error page was set for both the HTTP Errors 500
and 500;100

 >b) Each user on the machine has it's own regional
settings. I would suggest
 >that the user context that the ASP page is running under
has a different set
 >of regional settings to your personal regional settings.
You could set the
 >LCID of the page to force a particular set of settings, eg
 >
 >http://support.microsoft.com/?id=229690
 >

I inserted :

Sub Session_OnStart
'Set the server locale to English (UK)
Session.LCID = 2057
End Sub

in my global.asa file, but the dd/mm/yyyy date fields were
still displayed in mm/dd/yyyy style.My browser Language
preference was English (UK) [en-gb]

How can I change the regional settings for IUSR_myServer
or any other user?


 >Cheers
 >Ken
 >

Further help will be appreciated.

Mark

 >"Mark Nongkhlaw" <mark RemoveThis @shillong.meg.nic.in> wrote in
message
 >news:075201c39d2b$b3f4df30$a601280a@phx.gbl...
 >: I have 2 problems with IIS and I thought I might as well
 >: post both at the same time (I have Win2000 Server &
IIS):-
 >:
 >: 1. My Custom Error page does not fire at all. Its an ASP
 >: page so i used /errorhandler.asp as the URL. The default
 >: error message still shows up. What gives?
 >:
 >: 2. My Regional settings are set to dd/MM/yyyy format.
When
 >: british-style (dd/MM/yyyy) dates are entered directly
into
 >: the date field, Access stores it correctly. However,
when
 >: I view the field thru a textbox in my ASP page bound to
 >: this field, it again gets reverted back to MM/dd/yyyy
 >: format. Please help!
 >
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Custom Error page does not fire at all. 
Back to top
Login to vote
kenremove

External


Since: Aug 23, 2003
Posts: 3041



(Msg. 4) Posted: Wed Oct 29, 2003 12:44 am
Post subject: Re: Custom Error page does not fire at all. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

a) Did you set the error handler type to "URL" in the dialogue box? Did you
set it for the website in question?
(sorry for the obvious questions)

b) You can logon as IUSR_<machinename> and make the changes if you want -
however I would check again in your database to make sure the date is
actually being stored as you think it is. Maybe the date is being swapped in
the database....

Cheers
Ken


<anonymous.DeleteThis@discussions.microsoft.com> wrote in message
news:08d801c39d3f$b1207260$a601280a@phx.gbl...
: My replies below :-
:
: >-----Original Message-----
: >a) What custom error page - you can create "custom error
: pages" for almost
: >any of the defined HTTP error conditions.
: >
:
: Well, my error page was set for both the HTTP Errors 500
: and 500;100
:
: >b) Each user on the machine has it's own regional
: settings. I would suggest
: >that the user context that the ASP page is running under
: has a different set
: >of regional settings to your personal regional settings.
: You could set the
: >LCID of the page to force a particular set of settings, eg
: >
: >http://support.microsoft.com/?id=229690
: >
:
: I inserted :
:
: Sub Session_OnStart
: 'Set the server locale to English (UK)
: Session.LCID = 2057
: End Sub
:
: in my global.asa file, but the dd/mm/yyyy date fields were
: still displayed in mm/dd/yyyy style.My browser Language
: preference was English (UK) [en-gb]
:
: How can I change the regional settings for IUSR_myServer
: or any other user?
:
:
: >Cheers
: >Ken
: >
:
: Further help will be appreciated.
:
: Mark
:
: >"Mark Nongkhlaw" <mark.DeleteThis@shillong.meg.nic.in> wrote in
: message
: >news:075201c39d2b$b3f4df30$a601280a@phx.gbl...
: >: I have 2 problems with IIS and I thought I might as well
: >: post both at the same time (I have Win2000 Server &
: IIS):-
: >:
: >: 1. My Custom Error page does not fire at all. Its an ASP
: >: page so i used /errorhandler.asp as the URL. The default
: >: error message still shows up. What gives?
: >:
: >: 2. My Regional settings are set to dd/MM/yyyy format.
: When
: >: british-style (dd/MM/yyyy) dates are entered directly
: into
: >: the date field, Access stores it correctly. However,
: when
: >: I view the field thru a textbox in my ASP page bound to
: >: this field, it again gets reverted back to MM/dd/yyyy
: >: format. Please help!
: >
: >
: >.
: >
 >> Stay informed about: Custom Error page does not fire at all. 
Back to top
Login to vote
anonymous77

External


Since: Oct 14, 2003
Posts: 468



(Msg. 5) Posted: Wed Oct 29, 2003 12:44 am
Post subject: Re: Custom Error page does not fire at all. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

a) Yes, sure it was set to URL for my site in question.
b) The dates were entered directly into the database in
dd/mm/yyyy style. It was when the page was viewed (not
updated) that these were reverted to mm/dd/yyyy style. If
I changed the data field to Text instead of Date/Time, it
of course displays (and updates) correctly as desired
(dd/mm/yyyy), but then, that is not what I intend to do.

BTW, the page was tested in Win98 & PWS and it displayed
and stored the dates correctly, so I suspect its something
to do with IIS.

You mentioned logging in as IUSR_machine name. This may
sound stupid, but what password do I need for this account?

Mark

 >-----Original Message-----
 >a) Did you set the error handler type to "URL" in the
dialogue box? Did you
 >set it for the website in question?
 >(sorry for the obvious questions)
 >
 >b) You can logon as IUSR_<machinename> and make the
changes if you want -
 >however I would check again in your database to make sure
the date is
 >actually being stored as you think it is. Maybe the date
is being swapped in
 >the database....
 >
 >Cheers
 >Ken
 >
 >
 ><anonymous DeleteThis @discussions.microsoft.com> wrote in message
 >news:08d801c39d3f$b1207260$a601280a@phx.gbl...
 >: My replies below :-
 >:
 >: >-----Original Message-----
 >: >a) What custom error page - you can create "custom
error
 >: pages" for almost
 >: >any of the defined HTTP error conditions.
 >: >
 >:
 >: Well, my error page was set for both the HTTP Errors 500
 >: and 500;100
 >:
 >: >b) Each user on the machine has it's own regional
 >: settings. I would suggest
 >: >that the user context that the ASP page is running
under
 >: has a different set
 >: >of regional settings to your personal regional
settings.
 >: You could set the
 >: >LCID of the page to force a particular set of
settings, eg
 >: >
 >: >http://support.microsoft.com/?id=229690
 >: >
 >:
 >: I inserted :
 >:
 >: Sub Session_OnStart
 >: 'Set the server locale to English (UK)
 >: Session.LCID = 2057
 >: End Sub
 >:
 >: in my global.asa file, but the dd/mm/yyyy date fields
were
 >: still displayed in mm/dd/yyyy style.My browser Language
 >: preference was English (UK) [en-gb]
 >:
 >: How can I change the regional settings for IUSR_myServer
 >: or any other user?
 >:
 >:
 >: >Cheers
 >: >Ken
 >: >
 >:
 >: Further help will be appreciated.
 >:
 >: Mark
 >:
 >: >"Mark Nongkhlaw" <mark DeleteThis @shillong.meg.nic.in> wrote in
 >: message
 >: >news:075201c39d2b$b3f4df30$a601280a@phx.gbl...
 >: >: I have 2 problems with IIS and I thought I might as
well
 >: >: post both at the same time (I have Win2000 Server &
 >: IIS):-
 >: >:
 >: >: 1. My Custom Error page does not fire at all. Its an
ASP
 >: >: page so i used /errorhandler.asp as the URL. The
default
 >: >: error message still shows up. What gives?
 >: >:
 >: >: 2. My Regional settings are set to dd/MM/yyyy format.
 >: When
 >: >: british-style (dd/MM/yyyy) dates are entered directly
 >: into
 >: >: the date field, Access stores it correctly. However,
 >: when
 >: >: I view the field thru a textbox in my ASP page bound
to
 >: >: this field, it again gets reverted back to MM/dd/yyyy
 >: >: format. Please help!
 >: >
 >: >
 >: >.
 >: >
 >
 >
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Custom Error page does not fire at all. 
Back to top
Login to vote
anonymous77

External


Since: Oct 14, 2003
Posts: 468



(Msg. 6) Posted: Wed Oct 29, 2003 12:44 am
Post subject: Re: Custom Error page does not fire at all. [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

Ken,

This is getting murkier. I tried the example you gave on
<a style='text-decoration: underline;' href="http://support.microsoft.com/?id=3D229690" target="_blank">http://support.microsoft.com/?id=3D229690</a>

When I viewed the page it showed :-

Date/Time Formats
Date =3D 28/10/2003
Month =3D 10
Day =3D 28
Year =3D 2003
Time =3D 16:37:16

Currency Formats

=A31.05
1,000,000.00
-1,000,000.00=20

I must add that I used Visual Interdev textbox DTC bound=20
to the date/time field in Access. Maybe what I need is a=20
Date/Time DTC? Are there any available?

Mark


 >-----Original Message-----
 >a) Yes, sure it was set to URL for my site in question.
 >b) The dates were entered directly into the database in=20
 >dd/mm/yyyy style. It was when the page was viewed (not=20
 >updated) that these were reverted to mm/dd/yyyy style. If=20
 >I changed the data field to Text instead of Date/Time, it=20
 >of course displays (and updates) correctly as desired=20
 >(dd/mm/yyyy), but then, that is not what I intend to do.
 >
 >BTW, the page was tested in Win98 & PWS and it displayed=20
 >and stored the dates correctly, so I suspect its=20
something=20
 >to do with IIS.
 >
 >You mentioned logging in as IUSR_machine name. This may=20
 >sound stupid, but what password do I need for this=20
account?
 >
 >Mark
 >
  >>-----Original Message-----
  >>a) Did you set the error handler type to "URL" in the=20
 >dialogue box? Did you
  >>set it for the website in question?
  >>(sorry for the obvious questions)
  >>
  >>b) You can logon as IUSR_<machinename> and make the=20
 >changes if you want -
  >>however I would check again in your database to make=20
sure=20
 >the date is
  >>actually being stored as you think it is. Maybe the date=20
 >is being swapped in
  >>the database....
  >>
  >>Cheers
  >>Ken
  >>
  >>
  >><anonymous.RemoveThis@discussions.microsoft.com> wrote in message
  >>news:08d801c39d3f$b1207260$a601280a@phx.gbl...
  >>: My replies below :-
  >>:
  >>: >-----Original Message-----
  >>: >a) What custom error page - you can create "custom=20
 >error
  >>: pages" for almost
  >>: >any of the defined HTTP error conditions.
  >>: >
  >>:
  >>: Well, my error page was set for both the HTTP Errors=20
500
  >>: and 500;100
  >>:
  >>: >b) Each user on the machine has it's own regional
  >>: settings. I would suggest
  >>: >that the user context that the ASP page is running=20
 >under
  >>: has a different set
  >>: >of regional settings to your personal regional=20
 >settings.
  >>: You could set the
  >>: >LCID of the page to force a particular set of=20
 >settings, eg
  >>: >
  >>: >http://support.microsoft.com/?id=3D229690
  >>: >
  >>:
  >>: I inserted :
  >>:
  >>: Sub Session_OnStart
  >>: 'Set the server locale to English (UK)
  >>: Session.LCID =3D 2057
  >>: End Sub
  >>:
  >>: in my global.asa file, but the dd/mm/yyyy date fields=20
 >were
  >>: still displayed in mm/dd/yyyy style.My browser Language
  >>: preference was English (UK) [en-gb]
  >>:
  >>: How can I change the regional settings for=20
IUSR_myServer
  >>: or any other user?
  >>:
  >>:
  >>: >Cheers
  >>: >Ken
  >>: >
  >>:
  >>: Further help will be appreciated.
  >>:
  >>: Mark
  >>:
  >>: >"Mark Nongkhlaw" <mark.RemoveThis@shillong.meg.nic.in> wrote in
  >>: message
  >>: >news:075201c39d2b$b3f4df30$a601280a@phx.gbl...
  >>: >: I have 2 problems with IIS and I thought I might as=20
 >well
  >>: >: post both at the same time (I have Win2000 Server &
  >>: IIS):-
  >>: >:
  >>: >: 1. My Custom Error page does not fire at all. Its=20
an=20
 >ASP
  >>: >: page so i used /errorhandler.asp as the URL. The=20
 >default
  >>: >: error message still shows up. What gives?
  >>: >:
  >>: >: 2. My Regional settings are set to dd/MM/yyyy=20
format.
  >>: When
  >>: >: british-style (dd/MM/yyyy) dates are entered=20
directly
  >>: into
  >>: >: the date field, Access stores it correctly. However,
  >>: when
  >>: >: I view the field thru a textbox in my ASP page=20
bound=20
 >to
  >>: >: this field, it again gets reverted back to=20
MM/dd/yyyy
  >>: >: format. Please help!
  >>: >
  >>: >
  >>: >.
  >>: >
  >>
  >>
  >>.
  >>
 >.
 ><!-- ~MESSAGE_AFTER~ -->
 >> Stay informed about: Custom Error page does not fire at all. 
Back to top
Login to vote
Display posts from previous:   
   Web Hosting Problem Solving Community! (Home) -> IIS All times are: Pacific Time (US & Canada) (change)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]