IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
User Name:
Password:
Remember me
Go Back   Dev Shed ForumsSystem AdministrationIIS

Reply
Add This Thread To:
  Del.icio.us   Digg   Google   Spurl   Blink   Furl   Simpy   Y! MyWeb 
Thread Tools Search this Thread Rate Thread Display Modes
 
Unread Dev Shed Forums Sponsor:
  #1  
Old March 28th, 2006, 07:04 PM
bettysun bettysun is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 6 bettysun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 43 sec
Reputation Power: 0
Set custom error page 500-100.asp

Hi all,

I created a virtual director named "Errors" and also I put my own 500-100.asp page under this directory, in the customer error of this virtual dir, I used URL--> /Errors/500-100.asp,I also have a test page under this dir, when there is an error, my error page is called. It works fine.

Same thing, I created another virtual directory "select2006" for a testing program and put 500-100.asp under this dir and set up custom error to page with link "/select2006/500-100.asp" for this virtual directory, but somehow when I have error on an asp page under this directoy, the customer error page is not called, instead, it still use microsoft default error page, I don't get it, what's going on?

Can you help?
Thanks
Betty

Reply With Quote
  #2  
Old March 29th, 2006, 01:13 AM
Doug G Doug G is offline
Grumpier Old Moderator
Dev Shed God 12th Plane (10500 - 10999 posts)
 
Join Date: Jun 2003
Posts: 10,957 Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level)Doug G User rank is Major General (70000 - 90000 Reputation Level) 
Time spent in forums: 1 Month 1 Day 15 h 35 m 19 sec
Reputation Power: 802
Just a guess, since you created a new directory for your error pages, verify that IIS has execute permissions granted to the error asp pages.
__________________
======
Doug G
======
I didn't attend the funeral, but I sent a nice letter saying I approved
of it. --Mark Twain

Reply With Quote
  #3  
Old March 29th, 2006, 10:45 AM
bettysun bettysun is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 6 bettysun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 43 sec
Reputation Power: 0
Question How do I verify that IIS has execute permissions granted to the error asp pages?

Quote:
Originally Posted by Doug G
Just a guess, since you created a new directory for your error pages, verify that IIS has execute permissions granted to the error asp pages.



Hi Doug,
How do I do it?
Betty

Reply With Quote
  #4  
Old March 29th, 2006, 11:07 AM
bettysun bettysun is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 6 bettysun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 43 sec
Reputation Power: 0
Quote:
Originally Posted by bettysun
Hi Doug,
How do I do it?
Betty


on virtual directory tab, the execute permission is set as "scripts only", I don't know if there is anywhere else I should set up?
Betty

Reply With Quote
  #5  
Old March 29th, 2006, 12:02 PM
bettysun bettysun is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Aug 2005
Posts: 6 bettysun User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 41 m 43 sec
Reputation Power: 0
I soved it

Hi all,
I figured out, it's my fault, I messed up virutal directory path.
It's OK now. Thanks for all your attention.
Betty



Quote:
Originally Posted by bettysun
Hi all,

I created a virtual director named "Errors" and also I put my own 500-100.asp page under this directory, in the customer error of this virtual dir, I used URL--> /Errors/500-100.asp,I also have a test page under this dir, when there is an error, my error page is called. It works fine.

Same thing, I created another virtual directory "select2006" for a testing program and put 500-100.asp under this dir and set up custom error to page with link "/select2006/500-100.asp" for this virtual directory, but somehow when I have error on an asp page under this directoy, the customer error page is not called, instead, it still use microsoft default error page, I don't get it, what's going on?

Can you help?
Thanks
Betty

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > Set custom error page 500-100.asp


Thread Tools  Search this Thread 
Search this Thread:

Advanced Search
Display Modes  Rate This Thread 
Rate This Thread:


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
View Your Warnings | New Posts | Latest News | Latest Threads | Shoutbox
Forum Jump


Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
  
 





© 2003-2008 by Developer Shed. All rights reserved. DS Cluster 2 hosted by Hostway
Stay green...Green IT