Microsoft IIS
 
Forums: » Register « |  User CP |  Games |  Calendar |  Members |  FAQs |  Sitemap |  Support | 
 
 
User Name:
Password:
Remember me
Go Back   ASP Free ForumsSystem AdministrationMicrosoft IIS

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 ASP Free Forums Sponsor:
  #1  
Old May 1st, 2006, 05:30 PM
Cal Learner Cal Learner is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 2 Cal Learner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 58 sec
Reputation Power: 0
Why won't IIS serve ASP files?

Alright, I give up! Installed IIS (v5.1) on my new box running Win MCE and thought that would do it. All of the required directories appear to be there (inetpub, wwwroot, etc), as do iisstart.asp and localstart.asp. Http://localhost/anything.htm serves fine, but no .asp file serves, including localstart.asp. Always get the HTTP error 500 white screen. Even removing friendly doesn't tell me anything useful.

I've read half a dozen KB articles and as many posts regarding the same topic, but nothing I try works. Other versions of IIS seem to give you the chance to specify which file extensions to allow and which to block (v6.0 apparently comes locked down and requires a selection to be made before .asp will display), but I can't seem to find anywhere to do that in v5.1. Am I just missing it?

I'm not altogether clear on the permissions required, but this is just a development system for myself, and I'm logged in as an administrator, so that should not be the problem. Right?

As far as my own webs are concerned, they look to me to be correctly created as sub folders in the wwwroot directory, just as they were in the tree in past computer (XP Pro) and gave me no trouble.

The network is running fine. I've pinged both localhost and computer_name and everything goes as it should. Frankly, I don't have a clue what else is left to consider. Anyone??

Reply With Quote
  #2  
Old May 2nd, 2006, 01:11 AM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Quote:
Even removing friendly doesn't tell me anything useful.

Ah, but you're the one asking. If you post the complete error message it may tell someone else something useful.

Here are some common problems with IIS on XP Pro.

First, make sure the WWW service is running and not in some hung state, and if you've made IIS configuration changes undo them, asp on IIS 5.1 works "out of the box". Verify that you were the adminsitrator user when you installed IIS.

If you're not using NTFS you should be. Ensure "simple file sharing" is not on.

As long as it's safe, turn off any firewall software while testing.

If you're running AV software turn off any script blocking software for testing.

Use the IIS console and create a virtual directory, make sure script execute is enabled, and put a simple asp test file in that directory. Then try to open the asp test page. Use something like <% response.write "it worked" %> as the page contents, then call it up in the browser using http://localhost/mydir/mytestpage.asp
__________________
======
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 May 2nd, 2006, 06:51 AM
Cal Learner Cal Learner is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 2 Cal Learner User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 36 m 58 sec
Reputation Power: 0
Nothing so far, but I haven't found the "simple file sharing" toggle yet. Can you tell me where to find that please? The full error 500 message is:

'The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance.'

The logfile doesn't give me the code or text of any of the custom messages, only tells me both 401 and 500. Maybe the custom messages are activated? I didn't see a toggle for doing that anywhere in the MMC. Am I just overlooking it?

Otherwise, did every step you suggested, including the testfile.asp in a brand new virtual directory. Hmmmmmm

Reply With Quote
  #4  
Old May 2nd, 2006, 10:24 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,721 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 5 h 20 m 20 sec
Reputation Power: 1914
check the computer Event Log to see the real problem.
check that you don't have any program using port 80,
like Skype for example.

Reply With Quote
  #5  
Old May 2nd, 2006, 05:34 PM
Doug G Doug G is offline
Grumpier Old Moderator
ASP Free God 11th Plane (10000 - 10499 posts)
 
Join Date: Sep 2003
Posts: 10,143 Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level)Doug G User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 23 h 19 m 36 sec
Reputation Power: 181
Simple File Sharing setting is found from a windows explorer window, Tools - Folder Options - View and scroll down the Advanced setting list.

Be careful scrolling that list, if you accidentally click in the list area you can inadvertently change some other setting

Reply With Quote
  #6  
Old May 3rd, 2006, 06:01 AM
kokolin kokolin is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 2 kokolin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 5 sec
Reputation Power: 0
Unhappy Server Application Error

Cal Learner, I have the same exact issue you have!!! Been working on it for the last 24 hours.

I just bought a new HP Pavilion laptop with Windows XP Pro yesterday and was installing all the development software. Since this laptop is also my developemtn system, I added IIS 5.1 component from my Windows XP cd. I got the 500 error code ('Server Application Error') when I try to run a test.asp or any ASP file. HTML file in wwwroot works fine. I read KB articles too and tried many things, still not working. Also, turn off "simple file sharing", turn off firewall,no av software running. However, I noticed that I don't have a few files related to Microsoft Distributed Transaction Coordinator (MSDTC), such as Comclust.exe, or not seeing Cluster Administrator under Administrative Tools. Is that the problem.

So, the error message:

"Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance."

In event log:

The server failed to load application '/LM/W3SVC/1/ROOT'. The error was 'Class not registered
'.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

For more information, see Help and Support Center at http://go.microsoft.com/fwlink/events.asp.

Thanks!!!

Reply With Quote
  #7  
Old May 4th, 2006, 03:17 AM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,721 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 5 h 20 m 20 sec
Reputation Power: 1914
well, google found this:
http://www.iis-resources.com/module...id=4696&forum=4
which leads to this:
http://msmvps.com/blogs/bernard/arc...3/22/39216.aspx
solved the problem for that other guy, hopefully for you two as well!

Reply With Quote
  #8  
Old May 4th, 2006, 11:02 AM
degsy degsy is offline
Contributing User
ASP Free God 2nd Plane (6000 - 6499 posts)
 
Join Date: Aug 2005
Location: North East, UK
Posts: 6,191 degsy User rank is First Lieutenant (10000 - 20000 Reputation Level)degsy User rank is First Lieutenant (10000 - 20000 Reputation Level)degsy User rank is First Lieutenant (10000 - 20000 Reputation Level)degsy User rank is First Lieutenant (10000 - 20000 Reputation Level)degsy User rank is First Lieutenant (10000 - 20000 Reputation Level)degsy User rank is First Lieutenant (10000 - 20000 Reputation Level)degsy User rank is First Lieutenant (10000 - 20000 Reputation Level)degsy User rank is First Lieutenant (10000 - 20000 Reputation Level) 
Time spent in forums: 3 Weeks 4 Days 19 h 41 m 52 sec
Reputation Power: 121
In IIS, goto the Home Directory for the site.
Have you enabled Script Execution?

Reply With Quote
  #9  
Old May 4th, 2006, 01:07 PM
kokolin kokolin is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: May 2006
Posts: 2 kokolin User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: 30 m 5 sec
Reputation Power: 0
Thumbs up

Quote:
Originally Posted by Shadow Wizard
well, google found this:
URL
which leads to this:
URL
solved the problem for that other guy, hopefully for you two as well!


Shadow Wizard, thank you, thank you, thank you!!! I was able to follow the article and got IIS 5.1 to work with my new Windows XP Pro!! Bravo! I love it ~~~

Koko

Reply With Quote
  #10  
Old May 4th, 2006, 01:32 PM
Shadow Wizard's Avatar
Shadow Wizard Shadow Wizard is offline
Moderator From Beyond
ASP Free God 46th Plane (27500 - 27999 posts)
 
Join Date: Sep 2004
Location: Israel
Posts: 27,721 Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)Shadow Wizard User rank is General 14th Grade (Above 100000 Reputation Level)  Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1Folding Points: 377411 Folding Title: Super Ultimate Folder - Level 1
Time spent in forums: 3 Months 2 Weeks 5 h 20 m 20 sec
Reputation Power: 1914
cheers Koko, thank that person who posted the solution, I only googled..

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > Why won't IIS serve ASP files?


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 |