Re: What am I forgetting - IIS Setup?

From: Ken Schaefer (kenREMOVE_at_THISadOpenStatic.com)
Date: 03/01/05


Date: Wed, 2 Mar 2005 03:51:23 +1000

If you install IIS before .NET Framework, then when you run the .NET
Framework install, it detects that IIS is installed, and registers the
appropriate ISAPI Extensions. This means that IIS knows that .aspx/.asax/etc
files should be processed by ASP.NET

On the other hand, if you install the .NET Framework before you install IIS,
then there's no place for .NET to register the ASP.NET ISAPI Extension. If
you then install IIS, ASP.NET doesn't work.

aspnet_regiis.exe is what the .NET Framework setup uses to register ASP.NET
with IIS. So, basically you are calling the same command that .NET Framework
setup uses to register itself with IIS.

If you want to see what ISAPI extensions are currently registered with IIS,
open IIS Manager (in your Admin Tools folder) -> Default Website ->
right-click and chose Properties -> Home Directory tab -> Configuration
button -> Mappings tab. You can see what file extensions are mapped to what
ISAPI extensions.

Cheers
Ken

"CES" <none@none.com> wrote in message
news:%23jlFpQnHFHA.3928@TK2MSFTNGP09.phx.gbl...
: Ken,
: Thank you that worked but can you please explain or beter yet point me to
a
: website that explains what I just did, I've never had the register the
: extention befor?? is this new to SP2??
: CES
:
: "Ken Schaefer" <kenREMOVE@THISadOpenStatic.com> wrote in message
: news:uWePTojHFHA.3108@tk2msftngp13.phx.gbl...
: > You may need to register the ASP.NET ISAPI Extension:
: >
: > Start -> Run
: >
: > %systemroot%\Microsoft.NET\Framework\v1.1.4322\aspnet_regiis.exe -i
: >
: > (replace v1.1.4322 with the version of the Framework that you wish to
run
: > on
: > the site)
: >
: > Cheers
: > Ken
: >
: >
: >
: > "CES" <none@none.com> wrote in message
: > news:%23ww1n2iHFHA.4060@TK2MSFTNGP14.phx.gbl...
: > :
: > :
: > :
: > :
: > : All,
: > :
: > : I sorry for the 101 question bet I can't get an .aspx page to run on
my
: > : localhost machine when I hit the page it downloads the file??? and
: > obviously
: > : doesn't execute the page.
: > :
: > :
: > :
: > : I've added the "iusr_Name" and "aspnet" user acounts to the webroot
and
: > the
: > : WINDOWS\Microsoft.NET\Framework folders and provided read and write
: > access
: > : to these accounts.
: > :
: > : I'm running Norton so I've disabled "Enable Script Blocking"
: > :
: > : This has always worked in the past but not now. Any suggestions on
what
: > I'm
: > : doing wrong would be appreciated.
: > :
: > :
: > :
: > : CES
: > :
: > :
: >
: >
:
:



Relevant Pages

  • Re: What am I forgetting - IIS Setup?
    ... Framework install, it detects that IIS is installed, and registers the ... On the other hand, if you install the .NET Framework before you install IIS, ... then there's no place for .NET to register the ASP.NET ISAPI Extension. ... If you want to see what ISAPI extensions are currently registered with IIS, ...
    (microsoft.public.inetserver.iis)
  • Re: Installed IIS after .NET Framework
    ... That should register the .Net Framework with IIS. ... ASP.NET MVP ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: What am I forgetting - IIS Setup?
    ... Thank you for the explanation,with this install I forgot to install IIS ... before I installed the .Net Framework ... ... > then there's no place for .NET to register the ASP.NET ISAPI Extension. ...
    (microsoft.public.windowsxp.security_admin)
  • Re: Can asp and asp.net reside in same IIS server
    ... When you install the .Net Framework, ... Make sure you have IIS installed before you install the .Net Framework. ... you'll have to register the .Net Framework with IIS, ...
    (microsoft.public.dotnet.framework.aspnet)
  • Re: What am I forgetting - IIS Setup?
    ... Thank you for the explanation,with this install I forgot to install IIS ... before I installed the .Net Framework ... ... > then there's no place for .NET to register the ASP.NET ISAPI Extension. ...
    (microsoft.public.inetserver.iis)