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:
Be the architects of evolution and help create the mobile internet future. It’s your move---enter to win here!
  #1  
Old February 11th, 2004, 01:19 PM
jkrew_devshed jkrew_devshed is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 105 jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 14 m 42 sec
Reputation Power: 22
page cannot be found error after redirect to .shtml with IIS 6

Greetings life savers,

I am currently migrating some applications from an NT/IIS ? server to a Windows 2000 / IIS 6 server. Some apps are using .Net, some are not.

One application in particular is composed of .asp and .shtml files. For instance, if a login fails, the user is directed towards a standard .shtml file that contains information.

IIS 6 seems to be unable to display these .shtml files for some reason. When typing n the explicit URL of an .shtml file, I receive a "The page cannot be found" error. The file is exactly where it should be.

The Web application files reside inside of a virtual directory.

From what I can tell in the IIS Manager, .shtml files should be able to run. I see that "all verbs" is selected for .shtml files in Properties->Virtual Directory->Application Configuration.

What the heck!? I expected problems with truly dynamic pages, not .shtml files.

Have a great day!
__________________
"I'm between quotes right now"

Reply With Quote
  #2  
Old February 11th, 2004, 03:00 PM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 36 m 40 sec
Reputation Power: 92
Hi,

I think you are having a similar problem that I had with PHP files. Open up the IIS 6 management console, expand the server name and click Web Service Extensions. Right-click Server Side Includes and select Allow. If this doesn't work, try allowing all ISAPI and CGI extensions.

If this is the problem, this happens because IIS 6 only runs extensions which have explicitly been allowed. By default, everything like shtml files is disabled for better security.

HTH,

Edwin

Reply With Quote
  #3  
Old February 11th, 2004, 03:32 PM
jkrew_devshed jkrew_devshed is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 105 jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 14 m 42 sec
Reputation Power: 22
Edwin, you are the man!
And the fact that PHP is even mentioned in the solution makes it that much sweeter.

I thought I had covered this area when looking in the application configuration. This knowledge also saves me from running into WebDav trouble later.

Much thanks,
John


Quote:
Originally posted by edwinbrains
Hi,

I think you are having a similar problem that I had with PHP files. Open up the IIS 6 management console, expand the server name and click Web Service Extensions. Right-click Server Side Includes and select Allow. If this doesn't work, try allowing all ISAPI and CGI extensions.

If this is the problem, this happens because IIS 6 only runs extensions which have explicitly been allowed. By default, everything like shtml files is disabled for better security.

HTH,

Edwin

Reply With Quote
  #4  
Old February 12th, 2004, 12:51 AM
edwinbrains's Avatar
edwinbrains edwinbrains is offline
Retired Moderator
Dev Shed God 4th Plane (6500 - 6999 posts)
 
Join Date: Jan 2004
Location: London, UK
Posts: 6,670 edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)edwinbrains User rank is Second Lieutenant (5000 - 10000 Reputation Level)  Folding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced FolderFolding Points: 85411 Folding Title: Advanced Folder
Time spent in forums: 1 Week 6 Days 23 h 36 m 40 sec
Reputation Power: 92
it's sort of annoying that web service extensions bit - I've wasted hours before when my sites have not been working because of it!

Reply With Quote
  #5  
Old July 20th, 2004, 03:38 PM
tlcable7 tlcable7 is offline
Registered User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Sep 2003
Location: Salt Lake City, UT
Posts: 9 tlcable7 User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
This worked for me too... I couldn't get .php files to work.

Thanks.

One more problem I have with IIS 6 is that ASP processes script really slowly. Do you know what that could be and how to fix it?

Travis Cable

Reply With Quote
  #6  
Old July 23rd, 2004, 02:21 PM
jkrew_devshed jkrew_devshed is offline
Contributing User
Dev Shed Newbie (0 - 499 posts)
 
Join Date: Nov 2001
Posts: 105 jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level)jkrew_devshed User rank is Sergeant (500 - 2000 Reputation Level) 
Time spent in forums: 13 h 14 m 42 sec
Reputation Power: 22
Quote:
Originally Posted by tlcable7
This worked for me too... I couldn't get .php files to work.

Thanks.

One more problem I have with IIS 6 is that ASP processes script really slowly. Do you know what that could be and how to fix it?

Travis Cable


What kind of pages? Is a database involved? asp.net?

Reply With Quote
Reply

Viewing: Dev Shed ForumsSystem AdministrationIIS > page cannot be found error after redirect to .shtml with IIS 6


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 5 hosted by Hostway