Solved

cannot preview a webpage after binding dataset to ASPX page

Posted on 2003-11-20
2
200 Views
Last Modified: 2010-05-18
i'm new to this so struggling though.  Using dreamweaver and ASP.net to link to an access database.

when i create page (*.aspx) and view it though browser it is OK.  when i bind data to it and preview it comes up with the html code listed whether on the local files, remote server or testing server.  am i viewing live data in the right way

probably not that difficult but need some guidance!

0
Comment
Question by:jpsFW
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 3

Expert Comment

by:alexgreen
ID: 9786775
might be better just to keep an open instance of IE or NS to preview the code and then you can just refresh each time, also gives a slightly more accurate view than the dreamweaver preview!
0
 
LVL 23

Accepted Solution

by:
Saqib Khan earned 250 total points
ID: 9788319
jpsFW when you Dealing with DataBase then you Should test your Website VIA your Live/Test Server in this format.

http://localhost/Directory/page_name.asp

where localhost could be your IP Address/Computer Name

Reason why you have HTML code printed on the webpage is because Your are not parsing your ASP code, But you are viewing Regaulr Page with a .aspx Extenions.
if you try to open any Asp/Aspx page and that page is not hosted on the Server Root Directory, then you will see this Error.
0

Featured Post

Free Tool: IP Lookup

Get more info about an IP address or domain name, such as organization, abuse contacts and geolocation.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
Dreamweaver CS5.5 Error 5 539
Unable to Connect Via FTP 109 1,295
Pattern Matching LF in Dreamwever CS5 2 303
Adobe Dreamwever CS5.5 - mage sites help needed. 1 137
For those who don't know, Adobe Dreamweaver is a popular commercial web editor that enables you to design, build and manage complex websites. The editor is a WYSIWYG (What You See Is What You Get) web editor, which means that you can create your web…
I still run into .cgi files every now and then. In some instances, I actually prefer the simplicity of a .cgi script to other options. Since I use DreamWeaver extensively, what I needed was a way to open .cgi scripts in Dreamweaver. And I wanted to …
A short tutorial showing how to set up an email signature in Outlook on the Web (previously known as OWA). For free email signatures designs, visit https://www.mail-signatures.com/articles/signature-templates/?sts=6651 If you want to manage em…
In an interesting question (https://www.experts-exchange.com/questions/29008360/) here at Experts Exchange, a member asked how to split a single image into multiple images. The primary usage for this is to place many photographs on a flatbed scanner…

726 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question