Wrox Programmer Forums
| Search | Today's Posts | Mark Forums Read
Classic ASP Basics For beginner programmers starting with "classic" ASP 3, pre-".NET." NOT for ASP.NET 1.0, 1.1, or 2.0
Welcome to the p2p.wrox.com Forums.

You are currently viewing the Classic ASP Basics section of the Wrox Programmer to Programmer discussions. This is a community of software programmers and website developers including Wrox book authors and readers. New member registration was closed in 2019. New posts were shut off and the site was archived into this static format as of October 1, 2020. If you require technical support for a Wrox book please contact http://hub.wiley.com
  #1 (permalink)  
Old August 11th, 2008, 09:49 PM
Registered User
 
Join Date: Aug 2008
Location: , , .
Posts: 1
Thanks: 0
Thanked 0 Times in 0 Posts
Default Classic ASP in Visual Developer Express 2008

Hi All,
I have lots of experience with static web pages & I just got asked to help figure out how to fix an old database (from 2000) that was working great until getting attacked by sql injections multiple time in the past few months. It totally destroyed the database and corrupted the asp pages used to create the xml files and the database.

I am currently trying to teach myself using beginning Active Server Pages 3.0 (Buser/Kaufman et al). & since I don't have an asp server handy I downloaded the latest VIsual web developer express 2008 from Microsoft. Chapter 1 was ok, but when I run the code examples from chapter 2, I get a declaration expected error on the line that says:
Response.Write Date

Any suggestions? I'd just as soon learn the new stuff, but this whole asp site is in classic asp, so how can I practice/try out code fixes without making the site worse?

  #2 (permalink)  
Old August 25th, 2008, 02:34 PM
Authorized User
 
Join Date: Sep 2007
Location: , , .
Posts: 56
Thanks: 0
Thanked 1 Time in 1 Post
Default

You need to setup your local computer to be running a web server. See this article for help in doing so:

http://support.microsoft.com/kb/323972

I am not sure you can run classic asp pages from within visual studio...I think that is just for asp.net

free wifi | http://localwifisearch.com
web dev | http://mynameissteve.com
  #3 (permalink)  
Old August 25th, 2008, 03:17 PM
Friend of Wrox
 
Join Date: Jun 2008
Location: Snohomish, WA, USA
Posts: 1,649
Thanks: 3
Thanked 141 Times in 140 Posts
Default

sdi126 is correct: You can use VS2008 to edit ASP programs...and you can even get "syntax coloring" and code completion to help you...but you can't *RUN* the ASP pages by way of VS2008.

You need a web server. If you have an XP Professional or Vista Home Premium (or above) machine, you can set up IIS as a "personal web server" and it will work just fine.

Don't worry about error messages from VS2008. They are most likely incorrect interpretations of your code as ASP.NET code.


Similar Threads
Thread Thread Starter Forum Replies Last Post
Visual Web Developer 2008 Express jjc9809 Visual Web Developer 2008 2 December 23rd, 2008 12:06 PM
Visual Web Developer 2008.. Express Edition Neamat .NET Framework 3.5 14 August 3rd, 2008 09:47 AM
Visual Web Developer 2005 Express Edition - Limits snew BOOK: ASP.NET 2.0 Website Programming Problem Design Solution ISBN: 978-0-7645-8464-0 7 November 15th, 2007 01:00 PM
SQL Server 2005 Express with Visual Web Developer steffteo SQL Server 2005 1 March 19th, 2006 04:28 PM
ASP.Net 2.0 Visual Web Developer 2005 Express Ed cpanson BOOK: Wrox's ASP.NET 2.0 Visual Web Developer 2005 Express Edition Starter ISBN: 978-0-7645-8807-5 2 February 26th, 2006 12:36 PM





Powered by vBulletin®
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.
Copyright (c) 2020 John Wiley & Sons, Inc.