Register

If this is your first visit, please click the Sign Up now button to begin the process of creating your account so you can begin posting on our forums! The Sign Up process will only take up about a minute of two of your time.

Results 1 to 8 of 8
  1. #1
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    Code:
    <%@ Language=VBScript%>
     <html>
       <head>  
          <title> Testing stuff 
                 <% Response.Write Date() %> 
           </title>  
        </head>
    
       <body>
         <p>
           <% 
                Response.write "Hello Web from ASP!!!" 
           %>
    
                hello from the web non-asp
         </p>
       </body>
     </html>
    what stupid thing am I doing that the <%%> is not being evaluated? I've installed IIS ...
    DerFarm
    I talk to squirrels.
    Squirrels Answer.

  2.  

  3. #2
    Senior Member Kings's Avatar
    Join Date
    Feb 2002
    Posts
    129
    Member #
    19
    What do you mean the <% %> isn't being evaluated? Do you mean the ASP code isn't working? If so, are you sure you saved the page as .asp?
    K i n g s

    Several handy ASP Resources:
    4guysfromrolla | aspin | ASP101 | AspIt | learnasp

    Several handy ASP.NET resources:
    ASP.NET | .NET Experts | O'Reilly .NET | AspIt | 4guysfromrolla

    Several paid ASP/ASP.NET webhosts:
    Brinkster | Maximum ASP | Clicktech | Nodehosting | Uplinkearth | Webhost4life

  4. #3
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    Yeah, it's saved as as .asp.

    Is there something I'm not doing? Re-direction or something?

    I call up the file using IE under File->Browse -> ... and get nothing
    DerFarm
    I talk to squirrels.
    Squirrels Answer.

  5. #4
    Senior Member nsr81's Avatar
    Join Date
    Oct 2002
    Posts
    1,132
    Member #
    250
    Liked
    15 times
    Not sure if I understood what you are saying, but shouldn't you be accessing the file using a url like http://localhost/file.asp ?
    There and Back Again :Ogre:

  6. #5
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    I think you are right. do you have any idea where I could find references to such an animal?

    I've looked in my books (all 3 of them) and can't recognize the process ... although I'm quite sure that once it's explained, it'll jump up and bite me in the butt.
    DerFarm
    I talk to squirrels.
    Squirrels Answer.

  7. #6
    Senior Member Kings's Avatar
    Join Date
    Feb 2002
    Posts
    129
    Member #
    19
    Yeap, nsr81 is right. You need to access all your ASP scripts from http://localhost (that can be changed if you want).

    Why you need to go to localhost, instead of opening it in IE? Well, that's because the ASP code in the page needs to be parsed by an asp-capable server, e.g IIS or PWS. When you open it in IE, nothing will be parsed.
    K i n g s

    Several handy ASP Resources:
    4guysfromrolla | aspin | ASP101 | AspIt | learnasp

    Several handy ASP.NET resources:
    ASP.NET | .NET Experts | O'Reilly .NET | AspIt | 4guysfromrolla

    Several paid ASP/ASP.NET webhosts:
    Brinkster | Maximum ASP | Clicktech | Nodehosting | Uplinkearth | Webhost4life

  8. #7
    Senior Member
    Join Date
    Mar 2002
    Location
    Alabama sans the damn flag
    Posts
    263
    Member #
    38
    That's cool. But HOW????????

    When I type in http://localhost
    I get that nothing can be found.

    I set the default file to DEFAULT.HTML in the innetweb/wwwroot folder

    but I still can't get the asp pages to work.
    DerFarm
    I talk to squirrels.
    Squirrels Answer.

  9. #8
    Junior Member
    Join Date
    Aug 2002
    Location
    Norway. Shibby.
    Posts
    24
    Member #
    178
    you got to be runing a local server, let it be iis or pws or apache... and it got to configured for parsing asp documents..


Remove Ads

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
All times are GMT -6. The time now is 09:04 AM.
Powered by vBulletin® Version 4.2.3
Copyright © 2019 vBulletin Solutions, Inc. All rights reserved.
vBulletin Skin By: PurevB.com