What am I forgetting - IIS Setup?

C

CES

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
 
K

Ken Schaefer

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



:
:
:
:
: 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
:
:
 
C

CES

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
 
C

CES

Ken,
Thank you for the explanation,with this install I forgot to install IIS
before I installed the .Net Framework ... I did however speak a little to
soon, while IE and Opera are now working Firefox is still attempting to
download the file... any suggestions?

CES
 
K

Ken Schaefer

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


: 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
:
: : > 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
: >
: >
: >
: > : > :
: > :
: > :
: > :
: > : 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
: > :
: > :
: >
: >
:
:
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top