A very simple issue

Discussion in 'ASP .Net' started by Cowboy \(Gregory A. Beamer\), Apr 19, 2008.

  1. The norm is not to click on these types of files, but request them through a
    web server. This is true both of ASP and ASP.NET. I imagine you could set it
    to spin up INternet Explorer, etc., when you click on the file, but it is
    not the normal behavior.

    --
    Gregory A. Beamer
    MVP, MCP: +I, SE, SD, DBA

    Subscribe to my blog
    http://gregorybeamer.spaces.live.com/lists/feed.rss

    or just read it:
    http://gregorybeamer.spaces.live.com/

    *************************************************
    | Think outside the box!
    |
    *************************************************
    "K Viltersten" <> wrote in message
    news:...
    > I'm running Vista Business, no SP yet and
    > i'm trying to create a simple example of
    > how to apply ASP to a webpage.
    >
    > The document is very short - containing
    > the following lines of code.
    >
    > <html><head></head><body>
    > <%response.write("Hello World!")%>
    > </body></html>
    >
    > However, as i try to click the file, it
    > opens in the browser but no text is displayed. What could i be doing
    > wrong?
    >
    >
    > --
    > Regards
    > Konrad Viltersten
    > --------------------------------
    > sleep - a substitute for coffee for the poor
    > ambition - lack of sense to be lazy
    >
     
    Cowboy \(Gregory A. Beamer\), Apr 19, 2008
    #1
    1. Advertising

  2. Cowboy \(Gregory A. Beamer\)

    K Viltersten Guest

    I'm running Vista Business, no SP yet and
    i'm trying to create a simple example of
    how to apply ASP to a webpage.

    The document is very short - containing
    the following lines of code.

    <html><head></head><body>
    <%response.write("Hello World!")%>
    </body></html>

    However, as i try to click the file, it
    opens in the browser but no text is
    displayed. What could i be doing wrong?


    --
    Regards
    Konrad Viltersten
    --------------------------------
    sleep - a substitute for coffee for the poor
    ambition - lack of sense to be lazy
     
    K Viltersten, Apr 19, 2008
    #2
    1. Advertising

  3. There is no Response object in a classic asp page when you click on the file
    in windows explorer. You need to request the page via HTTP, e.g.
    "http://localhost/myIISappname/mypage.asp"
    Does that help?
    -- Peter
    Site: http://www.eggheadcafe.com
    UnBlog: http://petesbloggerama.blogspot.com
    Short Urls & more: http://ittyurl.net


    "K Viltersten" wrote:

    > I'm running Vista Business, no SP yet and
    > i'm trying to create a simple example of
    > how to apply ASP to a webpage.
    >
    > The document is very short - containing
    > the following lines of code.
    >
    > <html><head></head><body>
    > <%response.write("Hello World!")%>
    > </body></html>
    >
    > However, as i try to click the file, it
    > opens in the browser but no text is
    > displayed. What could i be doing wrong?
    >
    >
    > --
    > Regards
    > Konrad Viltersten
    > --------------------------------
    > sleep - a substitute for coffee for the poor
    > ambition - lack of sense to be lazy
    >
    >
     
    Peter Bromberg [C# MVP], Apr 19, 2008
    #3
  4. RE: SV: A very simple issue

    You must have a webserver installed and running on the local machine for
    development if you want to be able to request a page in the normal way it
    would be requested in production - via HTTP. If it is classic ASP, you have
    no choice but to install and setup IIS which comes with windows Xp and
    windows Vista ( most versions).
    -- Peter
    To be a success, arm yourself with the tools you need and learn how to use
    them.

    Site: http://www.eggheadcafe.com
    http://petesbloggerama.blogspot.com
    http://ittyurl.net


    "K Viltersten" wrote:

    > > There is no Response object in a classic asp page when
    > > you click on the file in windows explorer. You need to
    > > request the page via HTTP, e.g.
    > > "http://localhost/myIISappname/mypage.asp"
    > > Does that help?

    >
    > Yes, it does. However, it doesn't solve my problem. :)
    >
    > I'm currently without access to a server where i could
    > put the document and then request it.
    >
    > Perhaps it could be an idea to install a server locally
    > on my laptop. What do you think?
    >
    > --
    > Regards
    > Konrad Viltersten
    > --------------------------------
    > sleep - a substitute for coffee for the poor
    > ambition - lack of sense to be lazy
    >
    >
     
    Peter Bromberg [C# MVP], Apr 21, 2008
    #4
  5. Cowboy \(Gregory A. Beamer\)

    K Viltersten Guest

    SV: SV: A very simple issue

    > If it is classic ASP, you have no choice but to install and
    > setup IIS which comes with windows Xp and windows
    > Vista ( most versions).


    So, having VS.NET 2008 Express doesn't cover that? I was
    sort of expecting that installing it would be sufficient.

    Also, IIS is supposed to come with Vista. Will i still have to
    install it separately? I thought it was already there on my
    system and ready to go...

    --
    Regards
    Konrad Viltersten
    --------------------------------
    sleep - a substitute for coffee for the poor
    ambition - lack of sense to be lazy
     
    K Viltersten, Apr 21, 2008
    #5
  6. Cowboy \(Gregory A. Beamer\)

    K Viltersten Guest

    SV: SV: A very simple issue

    > You must have a webserver installed and running on the local machine for
    > development if you want to be able to request a page in the normal way it
    > would be requested in production - via HTTP. If it is classic ASP, you
    > have
    > no choice but to install and setup IIS which comes with windows Xp and
    > windows Vista ( most versions).



    I've found the IIS options and activated them. Now i get what
    you ment by "coming with Vista" but needed to "be installed".

    Still, the other question remains - do i need to install a
    separate webserver or is it included in Vista Business as
    well and only needing activation?

    Thanks for the help, by the way!

    --
    Regards
    Konrad Viltersten
    --------------------------------
    sleep - a substitute for coffee for the poor
    ambition - lack of sense to be lazy
     
    K Viltersten, Apr 21, 2008
    #6
    1. Advertising

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. Raymond Arthur St. Marie II of III

    very Very VERY dumb Question About The new Set( ) 's

    Raymond Arthur St. Marie II of III, Jul 23, 2003, in forum: Python
    Replies:
    4
    Views:
    483
    Raymond Hettinger
    Jul 27, 2003
  2. shanx__=|;-

    very very very long integer

    shanx__=|;-, Oct 16, 2004, in forum: C Programming
    Replies:
    19
    Views:
    1,629
    Merrill & Michele
    Oct 19, 2004
  3. Abhishek Jha

    very very very long integer

    Abhishek Jha, Oct 16, 2004, in forum: C Programming
    Replies:
    4
    Views:
    427
    jacob navia
    Oct 17, 2004
  4. Peter

    Very very very basic question

    Peter, Feb 8, 2005, in forum: C Programming
    Replies:
    14
    Views:
    517
    Dave Thompson
    Feb 14, 2005
  5. olivier.melcher

    Help running a very very very simple code

    olivier.melcher, May 12, 2008, in forum: Java
    Replies:
    8
    Views:
    2,302
Loading...

Share This Page