Solved

cannot preview a webpage after binding dataset to ASPX page

Posted on 2003-11-20
2
197 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

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

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

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 company’s greatest vulnerability is their email. CEO fraud, ransomware and spear phishing attacks are the no1 threat to a company’s security. Cybercrime is responsible for the largest loss of money to companies today with losses projected to r…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

932 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

14 Experts available now in Live!

Get 1:1 Help Now