p2p.wrox.com Forums

p2p.wrox.com Forums (http://p2p.wrox.com/index.php)
-   Classic ASP Basics (http://p2p.wrox.com/forumdisplay.php?f=61)
-   -   Classic ASP in Visual Developer Express 2008 (http://p2p.wrox.com/showthread.php?t=70003)

esstepansky August 11th, 2008 09:49 PM

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?


sdi126 August 25th, 2008 02:34 PM

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

Old Pedant August 25th, 2008 03:17 PM

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.


All times are GMT -4. The time now is 03:41 PM.

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