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 Display Modes
  #1 (permalink)  
Old April 26th, 2006, 07:32 AM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default code clinic - Why wont example asp code work?

I am reading Beginning Active Serv pages 3.0, and installed IIS 5.0 as described. It mentioned that there are example codes in the Inetpub folder. I navigated to\Inetpub\iissamoples\sdk\asp\database\ and ran simplequery_vbscript.asp.
The results I get is two lines:
Simple ADO Query with ASP
and
Contacts within the Authors Database
Then a small square!!!

huh?

I am on a lan, however my inetpub is on my D drive. Is there something i should be doing in the setup of IIS? Or what.....

Thanks

Thanks In Advance
Reply With Quote
  #2 (permalink)  
Old April 26th, 2006, 08:04 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

When you say ran. What exactly do you mean (you can not just click on an asp page)

You should open a browser:
http://localhost/dirName/pageName.asp

EG:
http://localhost/localstart.asp

FYI: The above page address will open up the IIS help windows. If it doesnt you have not installed and started IIS properly. Does it?

Wind is your friend
Matt
Reply With Quote
  #3 (permalink)  
Old April 27th, 2006, 02:23 AM
Registered User
 
Join Date: Apr 2006
Location: , , .
Posts: 5
Thanks: 0
Thanked 0 Times in 0 Posts
Default

When I found my url for my webserver, it prompts me for a password etc. I'm on a LAN so will have to invest further. Thanks

Thanks In Advance
Reply With Quote
  #4 (permalink)  
Old April 27th, 2006, 06:22 PM
Friend of Wrox
Points: 6,664, Level: 34
Points: 6,664, Level: 34 Points: 6,664, Level: 34 Points: 6,664, Level: 34
Activity: 0%
Activity: 0% Activity: 0% Activity: 0%
 
Join Date: Jan 2004
Location: Sydney, NSW, Australia.
Posts: 1,870
Thanks: 12
Thanked 20 Times in 20 Posts
Send a message via AIM to mat41
Default

iIteresting reply. Hope things start working for you...

Wind is your friend
Matt
Reply With Quote
Reply


Thread Tools
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
Adodc connections variable wont work, need help honam00000 VB How-To 1 December 10th, 2006 10:21 AM
JetComp Wont Work .....HELP!! timmaher Access VBA 3 August 25th, 2005 01:38 AM
How do I make this C# code work in ASP.NET? aowen355 ASP.NET 1.x and 2.0 Application Design 1 July 19th, 2005 01:00 PM
Query wont work unless I copy and past into new on Mitch Access 1 March 4th, 2005 01:22 AM



All times are GMT -4. The time now is 01:22 PM.


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