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 December 21st, 2003, 09:39 PM
kothreat kothreat is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 kothreat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
IIS serves all HTMLs not ASPs

Hi all, I'm using Win2K prof.

I'm getting .html pages fine with IIS.
But whenever I try to view an .asp file, I get:

The page cannot be displayed
There is a problem with the page you are trying to reach and it cannot be displayed.
--------------------------------------------------------------------------------
Please try the following:
Open the localhost home page, and then look for links to the information you want.
Click the Refresh button, or try again later.
Click Search to look for information on the Internet.
You can also see a list of related sites.
HTTP 500 - Internal server error
Internet Explorer

I'm sure IIS is running since things like URL work, but URL does NOT work.

Any help would be much appreciated!

Thanks in advance.

URL

Reply With Quote
  #2  
Old December 23rd, 2003, 09:23 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 22 h 9 m 49 sec
Reputation Power: 181
If you are running any antivirus script blocking try turning it off.

Make sure your pages have execute permissions.

If you ran urlscan or iis lockdown tool review the settings and make sure you didn't disable asp processing.

Reply With Quote
  #3  
Old December 23rd, 2003, 11:16 AM
janus janus is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: New Orleans
Posts: 2 janus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Hey, I had this same problem but with a few others I just did a complete reinstall. I would assume however that you are running .net and that you installed it before you did IIS which usually presents a problem. You can try to reinstall .net and let it set everything up right or this is the solution Microsoft gives:

from the visual studio .net command prompt type:
aspnet_regiis.exe -i

and then you have to go through and make sure all the permissions are set up right.

user: iusr_<machinename> needs rights to the wwwroot folder
user: aspnet needs rights to all folders in the path to the .net framework folder

a few quirks in the permissions are that iis needs to have security access to content in c:\inetpub\wwwroot\ but that should already be set.

the c# compiler needs to have access to the framework folder when it's running under aspnet_wp.exe as well as access to the web folder where your asp.net pages as well as all folders up to wwwroot from there.

Also, to set these, make sure you have "Use simple file sharing (recommended)" turned off under tools->Folder Options->View and make sure you hit Apply as well as Apply to all Folders

Reply With Quote
  #4  
Old December 23rd, 2003, 03:10 PM
janus janus is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Location: New Orleans
Posts: 2 janus User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
Ok, I again got that problem after doing a reinstall and found the solution. Basically the Distributed Transaction Coordinator service wasn't running. So you just have to start that and reinstall IIS and mine worked as soon as I did that.

One problem you might encounter is it coming back with an error when you try to start the DTC so you just open up the command prompt and type msdtc -resetlog then start the service up and reinstall iis....

Reply With Quote
  #5  
Old December 28th, 2003, 11:22 PM
kothreat kothreat is offline
Registered User
ASP Free Newbie (0 - 499 posts)
 
Join Date: Dec 2003
Posts: 2 kothreat User rank is Just a Lowly Private (1 - 20 Reputation Level) 
Time spent in forums: < 1 sec
Reputation Power: 0
I was not running any antivirus script...
I installed .NET AFTER I installed IIS... But everything was working before. And then last week I tried running something ASP and it did not work.

I did do a reinstall. It's working now. I don't know what's wrong.

anyways, it's working now.

Thanks very much everyone!! You guys were great!

URL

Reply With Quote
Reply

Viewing: ASP Free ForumsSystem AdministrationMicrosoft IIS > IIS serves all HTMLs not ASPs


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
Stay green...Green IT