navigation
a webmaster learning community
     Home    Register     Search      Help      Login    
Sponsors

Shopping Cart Software
Ecommerce software integrated into Frontpage, Dreamweaver and Golive templates. No monthly fees and available in ASP and PHP versions.

Website Templates
We also have a wide selection of Dreamweaver, Expression Web and Frontpage templates as well as webmaster tools and CSS layouts.

Frontpage website templates
Creative Website Templates for FrontPage, Dreamweaver, Flash, SwishMax

Search Forums
 

Advanced search
Recent Posts

 Todays Posts
 Most Active posts
 Posts since last visit
 My Recent Posts
 Mark posts read

Microsoft MVP

 

Browser Preview is showing code. Help!

 
View related threads: (in this forum | in all forums)

Logged in as: Guest
Users viewing this topic: none
Printable Version 

All Forums >> Web Development >> Expression Web Help >> Browser Preview is showing code. Help!
Page: [1]
 
greedy_b

 

Posts: 3
Joined: 11/6/2007
Status: offline

 
Browser Preview is showing code. Help! - 11/6/2007 16:30:41   
Hi all,

I've been managing a website for a while now without any problems. I've recently changed computers, installed EW and updated the site without a hitch. Then halfway through some minor alterations I started getting this error pop up when I selected a browser preview:

'this page may contain dynamic content that requires a web server in order to be previewed correctly'

Since then, the home page displays itself in HTML only, the other pages seem to be working fine.

The site has been made using an EW .dwt template.

I'm new to this forum and would like to say thanks in advance for any help I receive
rdouglass

 

Posts: 9186
From: Biddeford, ME USA
Status: offline

 
RE: Browser Preview is showing code. Help! - 11/7/2007 8:37:24   
Hi and Welcome to OutFront.

What code is showing specifically and is your file name extension appropriate? For instance, if you have ASP code on a .HTML page, the code will display and not parse / process.

That help any?

_____________________________

Don't take you're eye off your final destination.

ASP Checkbox Function Tutorial.

(in reply to greedy_b)
William Lee

 

Posts: 1041
Joined: 1/25/2002
From: Singapore
Status: offline

 
RE: Browser Preview is showing code. Help! - 11/7/2007 10:28:06   
Would you by any chance in your minor alterations perform a copy and paste in EW?

You may want to try paste into Notepad first then copy again and paste into EW.

_____________________________

William Lee


(in reply to greedy_b)
greedy_b

 

Posts: 3
Joined: 11/6/2007
Status: offline

 
RE: Browser Preview is showing code. Help! - 11/8/2007 6:34:05   
Hi and thanks for your feedback,

Sorry I haven't been home so haven't yet been able to show what code is showing, but I think you might have cracked it rdouglass...

The only change I made was a change in CSS style of one of the headers, then the browser preview wouldn't work. I remember now that although the site had been designed as a HTML site, the web host's homepage had an .asp extension, so my homepage had to be changed to .asp to replace it (this despite 1&1's help files saying that .html would be fine, I had to dig around to find that there's a pecking order and .asp comes first)

So- I imagine the problem will be that because of this, ASP code will have been inserted causing the error.

I'll test later and report,

Thanks again



(in reply to William Lee)
greedy_b

 

Posts: 3
Joined: 11/6/2007
Status: offline

 
RE: Browser Preview is showing code. Help! - 11/20/2007 7:28:26   
Yes, as i thought rdouglass was indeed correct

thanks all for help


(in reply to greedy_b)
jaybee

 

Posts: 14121
Joined: 10/7/2003
From: Berkshire, UK
Status: offline

 
RE: Browser Preview is showing code. Help! - 11/20/2007 7:51:29   
Any time you get that message it means there is some code on there which needs a server to parse it and execute it. It can be ASP or PHP or others.

_____________________________

If it ain't broke..... fix it until it is.
:)

:)
GAWDS
Now where did I put that Doctype?

(in reply to greedy_b)
Page:   [1]

All Forums >> Web Development >> Expression Web Help >> Browser Preview is showing code. Help!
Page: [1]
Jump to: 1





New Messages No New Messages
Hot Topic w/ New Messages Hot Topic w/o New Messages
Locked w/ New Messages Locked w/o New Messages
 Post New Thread
 Reply to Message
 Post New Poll
 Submit Vote
 Delete My Own Post
 Delete My Own Thread
 Rate Posts