From: Alexey Smirnov on
On Oct 25, 9:15 am, "Hemant" <Hem...(a)nomail.com> wrote:
> I got where i am wrong.
> here is detail:
> I have change my iis 6.0 settings for custom url .
> I have added .html extension to application configuraion and copy  its
> executable path same as .aspx extension
> this all for SEO.
> know my .aspx page is show in .html extension but the original page which
> has .html extension  shows the error that page can not be displayd .
> i think i am missing some settings for iis 6.0
> If i change the .html to .htm than all are working fine but whats wrong with
> .html extension
> please help me.
>
> thanks,
> hemant"Alexey Smirnov" <alexey.smir...(a)gmail.com> wrote in message
>
> news:d11f7370-d42f-403b-8774-b1dacf1b2b09(a)d23g2000vbm.googlegroups.com...
> On Oct 23, 7:16 am, "Hemant" <Hem...(a)nomail.com> wrote:
>
> > thanks George ,
> > If i wirte .htm it give me 404 error.
> > I am missing something else?
> > thanks ,
> > hemant"George" <noem...(a)comcast.net> wrote in message
>
> To make .htm working you need to have an appropriate .htm file in the
> directory of your website. If you don't have the file - create it and
> test.

Add a static file handler to the web.config file as below

<httpHandlers>
<add path="*.html" verb="*" type="System.Web.StaticFileHandler" /
>
</httpHandlers>

More details on
http://msdn.microsoft.com/en-us/library/bya7fh0a.aspx
From: Hemant on
Thanks Alexey Smirnov .
You have solved my problem
thanks a lot once again.

"Alexey Smirnov" <alexey.smirnov(a)gmail.com> wrote in message
news:ad92fe5b-a483-4487-a208-41cc1dc00386(a)h2g2000vbd.googlegroups.com...
On Oct 25, 9:15 am, "Hemant" <Hem...(a)nomail.com> wrote:
> I got where i am wrong.
> here is detail:
> I have change my iis 6.0 settings for custom url .
> I have added .html extension to application configuraion and copy its
> executable path same as .aspx extension
> this all for SEO.
> know my .aspx page is show in .html extension but the original page which
> has .html extension shows the error that page can not be displayd .
> i think i am missing some settings for iis 6.0
> If i change the .html to .htm than all are working fine but whats wrong
> with
> .html extension
> please help me.
>
> thanks,
> hemant"Alexey Smirnov" <alexey.smir...(a)gmail.com> wrote in message
>
> news:d11f7370-d42f-403b-8774-b1dacf1b2b09(a)d23g2000vbm.googlegroups.com...
> On Oct 23, 7:16 am, "Hemant" <Hem...(a)nomail.com> wrote:
>
> > thanks George ,
> > If i wirte .htm it give me 404 error.
> > I am missing something else?
> > thanks ,
> > hemant"George" <noem...(a)comcast.net> wrote in message
>
> To make .htm working you need to have an appropriate .htm file in the
> directory of your website. If you don't have the file - create it and
> test.

Add a static file handler to the web.config file as below

<httpHandlers>
<add path="*.html" verb="*" type="System.Web.StaticFileHandler" /
>
</httpHandlers>

More details on
http://msdn.microsoft.com/en-us/library/bya7fh0a.aspx