This is Interesting: Free Magazines for Graphics designers and webmasters  


Home > Archive > Dreamweaver > September 2005 > .ASP issue in Preview in Browser





You are viewing an archived Text-only version of the thread. To view this thread in it's original format and/or if you want to reply to this thread please [click here]

Author .ASP issue in Preview in Browser
Charles Newbury

2005-09-25, 6:20 pm

My ISP (for whatever technical reason) insists that my main site page,
formerly index.html, be named default.asp. This is fine when my page is
uploaded, but when I try to view this page locally in DW via Preview in
Browser, Firefox and Mozilla refuse to open it...they don't know how to
handle it and want to have DW open it. This sort of defeats the purpose
of previewing the page in the browser. Safari and IE have no problem
displaying this local file. Any suggestions?

Thanks!
--
Charles Newbury

To reply, eliminate the negative.

Murray *TMM*

2005-09-25, 6:20 pm

Your host, right?

Change hosts. This one is a moron.

--
Murray --- ICQ 71997575
Team Macromedia Volunteer for Dreamweaver
(If you *MUST* email me, don't LAUGH when you do so!)
==================
http://www.dreamweavermx-templates.com - Template Triage!
http://www.projectseven.com/go - DW FAQs, Tutorials & Resources
http://www.dwfaq.com - DW FAQs, Tutorials & Resources
http://www.macromedia.com/support/search/ - Macromedia (MM) Technotes
==================

"Charles Newbury" <newburcjneg@epix.net> wrote in message
news:dh65rc$5bu$1@forums.macromedia.com...
> My ISP (for whatever technical reason) insists that my main site page,
> formerly index.html, be named default.asp. This is fine when my page is
> uploaded, but when I try to view this page locally in DW via Preview in
> Browser, Firefox and Mozilla refuse to open it...they don't know how to
> handle it and want to have DW open it. This sort of defeats the purpose of
> previewing the page in the browser. Safari and IE have no problem
> displaying this local file. Any suggestions?
>
> Thanks!
> --
> Charles Newbury
>
> To reply, eliminate the negative.
>



TPK

2005-09-25, 6:20 pm

Hi Charles,

I would have a tendency to agree with Murray. If you can't change your ISP you
can look at a few things on your machine.

You could have a local configuration issue. I assume you are on a Windows XP
or 2000 machine. Have a look at (XP) Start -> Control Panels -> Folder Options
-> File Types:

Select ASP -> Click the 'Advanced' Button
Make sure you have "Edit with Dreamweaver" and "Open".

In Dreamweaver: File -> Preferences -> File Types and Editors
Make sure .asp is not listed in the "open in code view".

In File -> Preview in Browser make sure all the other browsers are listed and
are marked as 'secondary'.

As far as the Index.html vs default.asp is concerned. I am not sure why your
ISP is directing you to do this. Generally, on an IIS server (by default) the
server will (in this order) look for:
default.asp
default.htm
index.asp
index.htm
and will open the first file it recognizes. This file list can be easily added
to (such as adding 'index.html') or be re-ordered. To have you change the name
of your initial page from index.html to default.asp seems unnecessary. Of
course default.asp will work on the server. ASP pages can have straight HTML
and have no problem. Just seems odd and unnecessary.

Also make sure that the other browser preferences will open/use .asp files.

It is good to hear you are trying to be so thorough, I'll bet it is a pain to
design to so many browsers.

Tim


Charles Newbury

2005-09-30, 6:21 pm

I agree...unfortunately my clients want this host.



On 2005-09-25 12:12:56 -0400, "Murray *TMM*"
<forums@HAHAgreat-web-sights.com> said:

> Your host, right?
>
> Change hosts. This one is a moron.
>
> --
> Murray --- ICQ 71997575
> I agree


--
Charles Newbury

To reply, eliminate the negative.

Charles Newbury

2005-09-30, 6:21 pm

On 2005-09-25 12:42:15 -0400, "TPK" <webforumsuser@macromedia.com> said:

> Hi Charles,
>
> I would have a tendency to agree with Murray. If you can't change your
> ISP you can look at a few things on your machine.
>
> You could have a local configuration issue. I assume you are on a
> Windows XP or 2000 machine. Have a look at (XP) Start -> Control Panels
> -> Folder Options -> File Types:
>
> Select ASP -> Click the 'Advanced' Button
> Make sure you have "Edit with Dreamweaver" and "Open".
>
> In Dreamweaver: File -> Preferences -> File Types and Editors
> Make sure .asp is not listed in the "open in code view".
>
> In File -> Preview in Browser make sure all the other browsers are
> listed and are marked as 'secondary'.
>
> As far as the Index.html vs default.asp is concerned. I am not sure
> why your ISP is directing you to do this. Generally, on an IIS server
> (by default) the server will (in this order) look for:
> default.asp
> default.htm
> index.asp
> index.htm
> and will open the first file it recognizes. This file list can be
> easily added to (such as adding 'index.html') or be re-ordered. To have
> you change the name of your initial page from index.html to default.asp
> seems unnecessary. Of course default.asp will work on the server. ASP
> pages can have straight HTML and have no problem. Just seems odd and
> unnecessary.
>
> Also make sure that the other browser preferences will open/use .asp files.
>
> It is good to hear you are trying to be so thorough, I'll bet it is a
> pain to design to so many browsers.
>
> Tim


Thanks for the information! I'm on a Mac using OS 10.4.2, but I'll see
if I can apply your suggestions Mac-wise!
--
Charles Newbury

To reply, eliminate the negative.

Sponsored Links


Copyright 2003 - 2008 forum4designers.com  Software forum  Computer Hardware reviews