Preview of .aspx page in browser only displays code (Full Version)

FrontPage Talk - Great Talk About Microsoft FrontP: http://www.frontpagetalk.com/forums/
- FrontPage Specific Issues: http://www.frontpagetalk.com/forums/default.asp?catApp=2
- - FrontPage 2003: http://www.frontpagetalk.com/forums/appid_27/tt.htm



Message


lespaul00 -> Preview of .aspx page in browser only displays code (6/18/2008 3:41:38 PM)

Hello,

I created a sample .aspx page in FrontPage 2003. I clicked "Preview in browser", and when the browser opened, only the .aspx page's code was displayed! The page appears correctly in design view, but only shows code when I preview in browser.

A few things:

1. Preview in browser is only testing it locally. I can display .aspx pages fine on the internet.
2. My code is correct.
3. Html files display in "preview in browser" appropriately.
4. I am only using internet explorer.

Please, if anyone can help, I appreciate it! I have been pulling my hair out trying to figure this out!

Thanks.




tonymuffin -> RE: Preview of .aspx page in browser only displays code (6/18/2008 4:55:11 PM)

Are you previewing your page on an IIS server?




lespaul00 -> RE: Preview of .aspx page in browser only displays code (6/18/2008 6:05:28 PM)

Well, I just wanted to test some code. I am used to coding with ColdFusion and Dreamweaver, but I need to try using C# and ASP.NET within FrontPage to create a simple dynamic page [&:]

So, I used FrontPage's database connection wizard, and set up a test with Northwind's database. So, it sets up a few .aspx pages to test, etc. The main html page created works fine when I Preview in Browser, but whenever I click on an .aspx page link, it solely shows the code for the page.

To your question: I do not know. Do I need to download IIS or something? I assume this preview is strictly just running on my localhost machine's server. Is this still necessary to display .aspx pages correctly? If so, where can I download/enable it?




TexasWebDevelopers -> RE: Preview of .aspx page in browser only displays code (6/19/2008 5:31:17 PM)

Install the .NET framework on your iis server.




Page: [1]

Valid CSS!




Forum Software powered by ASP Playground Advanced Edition 2.0.5
Copyright © 2000 - 2003 ASPPlayground.NET