If you want the html files to be handled by the ASP.NET engine,
you have to add the .html file type in the "configuration" option
for the specific application in the Internet Service Manager.
If you want the html files to process Asp.Net instructions,
you'll also need to modify your web.config :
<compilation>
<buildProviders>
<add extension=".html" type="System.Web.Compilation.PageBuildProvider" />
</buildProviders>
</compilation>
<httpHandlers>
<add path="*.html" verb="*" type="System.Web.UI.PageHandlerFactory" />
</httpHandlers>
Of course, if all you want is to serve html files from within an
ASP.NET application, all you need to do is provide an html link for them.
IIS will serve html files in any ASP.NET application directory.
Juan T. Llibre, asp.net MVP
aspnetfaq.com :
http://www.aspnetfaq.com/
asp.net faq :
http://asp.net.do/faq/
foros de asp.net, en español :
http://asp.net.do/foros/
===================================
"Keith" <kb******@dslextreme.comwrote in message news:12************@corp.supernews.com...
>I have an IIS 6.0 web server hosting an ASP.NET 2.0 web site. Help files for
the site are pure html. Is there some way to serve these html pages using
the same ASP.NET web site? If so, how do I include them in my ASP.NET project?
Thanks,
Keith