Thanks Steve worked like a charm. It's interesting to note that I can do the samething without adding a handler for html, but I need this code to make it work with htm.
E --- In [email protected], "Steve Parrish" <[EMAIL PROTECTED]> wrote: > Eric, > > Try adding a handler in the appropriate .config file to tell ASP.NET what > to do with files with an '.htm' extension. > > <system.web> > <httpHandlers> > <add verb="*" path="*.htm" type="System.Web.UI.PageHandlerFactory" /> > </httpHandlers> > ... > <system.web> > > > HIH, > > Steve > > ----- Original Message ----- > From: "Eric Kaufman" <[EMAIL PROTECTED]> > To: <[email protected]> > Sent: Monday, October 03, 2005 4:36 PM > Subject: [AspNetAnyQuestionIsOk] Mapping .htm to .aspx in IIS > > > > I'm trying to map ASP.NET to process my .htm files in IIS for one of my > > websites. Works great if I map it to .html, but not .htm. Is there > > something special about using .htm? > > > > Using Win Server 2003 and IIS 6. > > > > Thanks > > > > E > > > > > > [Non-text portions of this message have been removed] > > > > > > > > > > > > Yahoo! Groups Links > > > > > > > > > > > > > > ------------------------ Yahoo! Groups Sponsor --------------------~--> Get Bzzzy! (real tools to help you find a job). Welcome to the Sweet Life. http://us.click.yahoo.com/A77XvD/vlQLAA/TtwFAA/saFolB/TM --------------------------------------------------------------------~-> Yahoo! Groups Links <*> To visit your group on the web, go to: http://groups.yahoo.com/group/AspNetAnyQuestionIsOk/ <*> To unsubscribe from this group, send an email to: [EMAIL PROTECTED] <*> Your use of Yahoo! Groups is subject to: http://docs.yahoo.com/info/terms/
