Solved

cannot preview a webpage after binding dataset to ASPX page

Posted on 2003-11-20
2
196 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
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:
adilkhan 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

What Is Threat Intelligence?

Threat intelligence is often discussed, but rarely understood. Starting with a precise definition, along with clear business goals, is essential.

Join & Write a Comment

Suggested Solutions

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 …
Adobe Dreamweaver CS5 is a WYSIWYG web page editor that has advanced HTML, CSS, and Javascript rendering functionality and is probably the most well-known HTML editor available. Much of Dreamweaver's appeal centers around the Design View interfac…
This video discusses moving either the default database or any database to a new volume.
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

708 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

Need Help in Real-Time?

Connect with top rated Experts

11 Experts available now in Live!

Get 1:1 Help Now