Internet Explorer cannot display the webpage

Internet Explorer cannot display the webpage

Post by Heman » Thu, 22 Oct 2009 19:33:47


Hi,
I am working on vb.net 2005.
When I type a url with .html extension it says
web page can not be displayed.
but if i type the url for the same page with .aspx page its working.
both pages exists but only .aspx is working.
what is the error?

thanks ,
hemant
 
 
 

Internet Explorer cannot display the webpage

Post by Alexey Smi » Thu, 22 Oct 2009 19:50:24


Try to disable HTTP Friendly Error Messages in Internet Explorer
http://www.yqcomputer.com/ (WS.10).aspx

or look in Event Log (if this is your server) or in other browser...

Hope this would give you more details on error

 
 
 

Internet Explorer cannot display the webpage

Post by Heman » Thu, 22 Oct 2009 20:37:26

Hi,
Thanks for your reply,
I am getting the same message after disable the show friendly message check
box.
I have also check the event log .
In event description there is a message :
The Microsoft Business Framework must be started using
EnterpriseSession.Initiali().

and the source is MbfQueuedWorkItemService

what is the problem i am not getting yet.

thanks,

hemant





Try to disable HTTP Friendly Error Messages in Internet Explorer
http://www.yqcomputer.com/ (WS.10).aspx

or look in Event Log (if this is your server) or in other browser...

Hope this would give you more details on error
 
 
 

Internet Explorer cannot display the webpage

Post by Alexey Smi » Thu, 22 Oct 2009 21:07:56


Is it a standard ASP.NET site on IIS, or it is a Microsoft Dynamics
application? All links about Business Framework refer to Dynamics

http://www.yqcomputer.com/ %22The+Microsoft+Business+Framework+must+be+started+using%22&start=20&sa=N
 
 
 

Internet Explorer cannot display the webpage

Post by Heman » Thu, 22 Oct 2009 21:29:11

Hi,
thanks
It is standard asp.net application in vb.net 2005.
as i mention before.
thanks,
hemant







Is it a standard ASP.NET site on IIS, or it is a Microsoft Dynamics
application? All links about Business Framework refer to Dynamics

http://www.yqcomputer.com/ %22The+Microsoft+Business+Framework+must+be+started+using%22&start=20&sa=N
 
 
 

Internet Explorer cannot display the webpage

Post by Heman » Thu, 22 Oct 2009 22:05:47

Hi,
I am facing with the same problem .
as i type .html in the url it says the page can not be displayed and if i
type .aspx it is working fine.
but both pages are exists . it is a vb.net 2005 application.
thanks,
hemant
 
 
 

Internet Explorer cannot display the webpage

Post by Georg » Sat, 24 Oct 2009 09:02:24

try .htm and not .html
Just my lucky guess :)

George.
 
 
 

Internet Explorer cannot display the webpage

Post by Heman » Sat, 24 Oct 2009 14:16:18

thanks George ,
If i wirte .htm it give me 404 error.
I am missing something else?
thanks ,
hemant
 
 
 

Internet Explorer cannot display the webpage

Post by Alexey Smi » Sat, 24 Oct 2009 17:11:23


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.
 
 
 

Internet Explorer cannot display the webpage

Post by Heman » Mon, 26 Oct 2009 17:15:48

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





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.
 
 
 

Internet Explorer cannot display the webpage

Post by Alexey Smi » Mon, 26 Oct 2009 17:58:51


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://www.yqcomputer.com/
 
 
 

Internet Explorer cannot display the webpage

Post by Heman » Mon, 26 Oct 2009 18:42:08

Thanks Alexey Smirnov .
You have solved my problem
thanks a lot once again.









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://www.yqcomputer.com/
 
 
 

Internet Explorer cannot display the webpage

Post by Alexey Smi » Mon, 26 Oct 2009 20:01:25


> More details on http://www.yqcomputer.com/ ;
> - Show quoted text -

Great, no problem.

It was difficult to find where the issue is because I didn't know that
you've modified the IIS settings.

BTW, I don't think that replacement of "aspx" to "html" will give you
a big advantage in SEO. I think, Google and others don't rely on this
at all and an extension has no effect on rankings. Read what Google
said about this

http://www.yqcomputer.com/
 
 
 

Internet Explorer cannot display the webpage

Post by Heman » Tue, 27 Oct 2009 22:51:32

Hi Alexey,
Yes you are right .html is not necessary but i have implemented it so i
don't want to change it.
I have make the unique url for every product with .html extension
I think this is the main for SEO.
Now I want to ask that if I want to pass query string with this unique url
for SEO than should I use "?" for query string or I should use "/" .
which is right from below url:
www.domain.com/apple.html?type=a
or
www.domain.com/type=a/apple.html

Please suggest me.

Thanks,
Hemant












Great, no problem.

It was difficult to find where the issue is because I didn't know that
you've modified the IIS settings.

BTW, I don't think that replacement of "aspx" to "html" will give you
a big advantage in SEO. I think, Google and others don't rely on this
at all and an extension has no effect on rankings. Read what Google
said about this

http://www.yqcomputer.com/
 
 
 

Internet Explorer cannot display the webpage

Post by Alexey Smi » Tue, 27 Oct 2009 23:13:41

n Oct 26, 2:51m, "Hemant" < XXXX@XXXXX.COM > wrote:

If you have read the link, you might notice what Google says about
"static-looking URLs which may cause more crawling problems than
serving the dynamic URL without rewriting". Moreover, if you do a
rewriting, it would make sense to change

www.domain.com/type=a/apple.html

to

www.domain.com/type/apple

to get rid of all irrelevant parameters from the url.

Otherwise, just keep

www.domain.com/apple.html?type=a

as it is.