Wrox Programmer Forums

Need to download code?

View our list of code downloads.

Go Back   Wrox Programmer Forums > ASP.NET and ASP > ASP 3 Classic ASP Active Server Pages 3.0 > Classic ASP Basics
Password Reminder
Register
Register | FAQ | Members List | Calendar | 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 tens of thousands of software programmers and website developers including Wrox book authors and readers. As a guest, you can read any forum posting. By joining today you can post your own programming questions, respond to other developers’ questions, and eliminate the ads that are displayed to guests. Registration is fast, simple and absolutely free .
DRM-free e-books 300x50
Reply
 
Thread Tools Search this Thread Display Modes
  #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?

Reply With Quote
  #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
Reply With Quote
  #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.
Reply With Quote
Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off
Trackbacks are Off
Pingbacks are On
Refbacks are Off


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



All times are GMT -4. The time now is 12:24 PM.


Powered by vBulletin®
Copyright ©2000 - 2019, Jelsoft Enterprises Ltd.
© 2013 John Wiley & Sons, Inc.