Forum Moderators: open
I am encountering a very curious problem - neither my webhost or I can figure it out.
I develop many web pages in ASP.NET. Obviously the standard is to use .aspx file extensions for pages to be compiled by the ASP.NET .dll
Well, I'd like to have my .html and .htm files compiled by this same ASP.NET dll. The configuration I have done on my IIS server is the following :
Open IIS manager, and right click on my default website (the one in question).
Go into tab "home directory", and then click on the button "configuration".
Now I can see all of the file extensions, along with the .dll that they are to be compiled by. I have added 2 entries - one with .htm and one with .html.
I have simply copied the path of the .dll that the .aspx extension uses, along with the "Verbs".
I apply the changes, and then stop and start IIS. My .html pages are NOT being compiled by the ASP.NET .dll
Any idea why? One of my web hosts was able to do this, but I do now know how they got it to work...
Any ideas?
Thanks,
Dan