IIS 7.0
(1)
IIS
(1)
Cc753473
(1)
Whicjh
(1)

How to enable htm pages on an asp.net web on IIS 7

Asked By KurtSune
17-Nov-09 04:41 PM
I have tried to set up an aspnet web on a vista machine housing IIS 7.

I manage to run .aspx-pages.
However no .htm-pages get shown.

They are all blank ans the html is not what I have written. It is as if a
default htm-page is shown instead of the real one.

I run the web in a new application pool whicjh is set to asp net 2.0 and
integrated.

I am using Visual Web Developer to do the pages.

Anyone has som advice?

/k

Hi,It sounds like you are missing the Static Content module.

Jeffrey Ingalls replied to KurtSune
18-Nov-09 09:11 PM
Hi,

It sounds like you are missing the Static Content module.

Go to Start, Administrative Tools, Server Manager.  In Server Manager, in
the Roles Summary section click on "Add Roles" and click Next.  You should
see "Web Server (IIS)" checked. Click Next.  An information page will be
displayed discussing the changes in IIS 7.0. Click Next.  In the Select Role
Services page place a check mark in "Static Content".  You will probably want

Description of the role services in IIS 7.0:
http://technet.microsoft.com/en-us/library/cc753473(WS.10).aspx

All the best,
Jeffrey Ingalls

You were absolutely right.Adding Static content and a repair of asp.net did it.

KS replied to Jeffrey Ingalls
20-Nov-09 02:55 AM
You were absolutely right.
Adding Static content and a repair of asp.net did it.

A thousand thanks!

/k

Great, glad that did the trick. Have a great weekend!

Jeffrey Ingalls replied to KS
20-Nov-09 01:58 PM
Great, glad that did the trick.  Have a great weekend!

All the best,
Jeffrey Ingalls
Post Question To EggHeadCafe