Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

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

2 views
Skip to first unread message

KurtSune

unread,
Nov 17, 2009, 4:41:30 PM11/17/09
to
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

Jeffrey Ingalls

unread,
Nov 18, 2009, 9:11:02 PM11/18/09
to
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
"Default Document" selected too.

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


"KurtSune" wrote:

> .
>

KS

unread,
Nov 20, 2009, 2:55:24 AM11/20/09
to
You were absolutely right.
Adding Static content and a repair of asp.net did it.

A thousand thanks!

/k

"Jeffrey Ingalls" <Jeffrey...@discussions.microsoft.com> wrote in
message news:B4ABF3EF-A1A0-40F0...@microsoft.com...

Jeffrey Ingalls

unread,
Nov 20, 2009, 1:58:13 PM11/20/09
to
Great, glad that did the trick. Have a great weekend!

All the best,
Jeffrey Ingalls

"KS" wrote:

> .
>

0 new messages