Re: Why won't IIS serve ASP files?
- From: "Doug Knox MS-MVP" <dknox@xxxxxxxx>
- Date: Tue, 2 May 2006 11:33:23 -0400
If you have Visual Studio 6 installed:
http://support.microsoft.com/default.aspx?scid=kb;en-us;842329
From: http://www.aspfaqs.com/aspfaqs/ShowFAQ.asp?FAQID=202
Fear not, though, if you installed the Web server after installing the ..NET Framework. You can fix this problem by simply registering the ASP.NET extensions in IIS. Chance are, you installed the .NET Framework first, and then installed a Web server, like IIS. This causes problems for the following reason: when you install IIS, it does not automatically associate the ASP.NET extensions (.aspx, asmx, .asax, etc.) with the ASP.NET engine. Therefore, it does not properly render ASP.NET Web pages. If, however, you had installed the Web server first, and then the .NET Framework, part of the .NET Framework install would have automatically made these associations for you.
Fear not, though, if you installed the Web server after installing the ..NET Framework. You can fix this problem by simply registering the ASP.NET extensions in IIS. This can be accomplished by running the aspnet_regiis.exe program, available in the WINNT\Microsoft.NET\Framework\v1.0.3705 directory. Specifically, run the program as:
aspnet_regiis -i
(The -i option installs the needed associations in IIS.)
--
Doug Knox, MS-MVP Windows Media Center\Windows Powered Smart Display\Security
Win 95/98/Me/XP Tweaks and Fixes
http://www.dougknox.com
--------------------------------
Per user Group Policy Restrictions for XP Home and XP Pro
http://www.dougknox.com/xp/utils/xp_securityconsole.htm
--------------------------------
Please reply only to the newsgroup so all may benefit.
Unsolicited e-mail is not answered.
"Cal Learner" <CalLearner@xxxxxxxxxxxxxxxxxxxxxxxxx> wrote in message news:06E58C81-E3E1-4274-95EA-5CC80DE513B7@xxxxxxxxxxxxxxxx
Recently got a new box running Win MCE (2002). Installed IIS components.
without any trouble, and it appears that all of the required directories
(inetpub, wwwroot, etc) are in place, as are iisstart.asp and localstart.asp.
The network is functioning; I pinged localhost and computer_name and
everything ran as it should. Any html file serves just fine through
http://localhost/. The problem is that it will not serve any .asp files,
including localstart.asp. I keep getting the error 500 white screen. Even
unchecking the friendly error messages doesn't give me anything useful. I've
been all through the MMC a dozen times looking for anything unusual. The
default web is there. I don't know exactly what the permissions should be set
to, but this is a development system for me only, and I'm logged on as an
administrator, so that should not be the problem. Some versions of IIS
apparently allow you to designate which file extensions to allow and which to
block. (V6.0 apparently comes locked down, so the ASP extension has to be
selected, but I can't find anything similar in v5.1.)
I give up. What's left to consider? I've done this on previous machines (XP
Pro) and don't remember having these sorts of mysteries on my hands. Please
offer the most likely steps I should take to resolve this. It just can't be
as hard as I've made it!
- Prev by Date: Re: recently recorded list
- Next by Date: Re: Repair MCE
- Previous by thread: Re: winmm.dll
- Next by thread: Re: Why won't IIS serve ASP files?
- Index(es):
Relevant Pages
|