Preview in Browser shows html code and not page

  • Thread starter Thread starter Guest
  • Start date Start date
G

Guest

When I click on the preview in browser button, the html code appears on the
browser and not my actual page. Is this a setting or a problem in my coding?
 
Also, I noticed that none of my .asp pages can be previewed in the browser
before publishing. This is a real pain. Is there any way to get it to
preview?
 
I mean the CANNOT be previewed!

Suzanne said:
Also, I noticed that none of my .asp pages can be previewed in the browser
before publishing. This is a real pain. Is there any way to get it to
preview?
 
Suzanne said:
When I click on the preview in browser button, the html code appears on
the
browser and not my actual page. Is this a setting or a problem in my
coding?

What is the file name? You need "htm" or "html" on it for it to be
interpreted as HTML by the browser.

It also could be a server setting.
 
Not necessarily, .asp and .aspx ( among others ) will be / should be treated as normal web
page.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
Are the pages you're seeing error pages??


--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
An asp file will display in a browser.
Are you by chance getting an error page??

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
..asp pages can only be previewed when served from a web server that
supports ASP.
It sounds like you are previewing from a disc location, not a server.
 
Oops, I'm used to working in IS.

--
Steve Easton
Microsoft MVP FrontPage
95isalive
This site is best viewed..................
...............................with a computer
 
But only if it is running on a windows server
( not a Unix server or disc based web)

--

_____________________________________________
SBR @ ENJOY (-: [ Microsoft MVP - FrontPage ]
"Warning - Using the F1 Key will not break anything!" (-;
To find the best Newsgroup for FrontPage support see:
http://www.frontpagemvps.com/FrontPageNewsGroups/tabid/53/Default.aspx
_____________________________________________


| An asp file will display in a browser.
| Are you by chance getting an error page??
|
| --
| Steve Easton
| Microsoft MVP FrontPage
| 95isalive
| This site is best viewed..................
| ..............................with a computer
|
| | > It is a .asp file. Is there a way for the browser to view that type of file?
| >
| > "Ratatooie" wrote:
| >
| > >
| > > | > > > When I click on the preview in browser button, the html code appears on
| > > > the
| > > > browser and not my actual page. Is this a setting or a problem in my
| > > > coding?
| > >
| > > What is the file name? You need "htm" or "html" on it for it to be
| > > interpreted as HTML by the browser.
| > >
| > > It also could be a server setting.
| > >
| > >
| > >
|
|
 
I am not getting an error. An let me clarify that I am not view off of the
server but working off my desktop in FrontPage before I publish. when i go
to preview in the browser, the html code appears instead of the page. i
notice that it does this for just the pages with the .asp extension on them.
 
That is expected. You must publish to a server before the asp code
will be run. Viewing from a disc location (preview in browser for a
disc-based web) the asp code will be shown in the browser, though any
HTML code would normally be rendered, correctly or otherwise depending
on if or how the asp is supposed to modify it.
 
Back
Top