Re: A very simple issue

Re: A very simple issue

am 19.04.2008 22:10:41 von NoSpamMgbworld

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:66v18sF2lt89iU1@mid.individual.net...
> 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.
>
>
> <%response.write("Hello World!")%>
>
>
> 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
>

A very simple issue

am 19.04.2008 22:14:47 von Konrad Viltersten

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.


<%response.write("Hello World!")%>


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

RE: A very simple issue

am 19.04.2008 23:14:00 von pbromberg

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.
>
>
> <%response.write("Hello World!")%>
>
>
> 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
>
>

SV: A very simple issue

am 20.04.2008 14:07:21 von Konrad Viltersten

> 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

RE: SV: A very simple issue

am 21.04.2008 02:33:00 von pbromberg

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
>
>

SV: SV: A very simple issue

am 21.04.2008 06:21:31 von Konrad Viltersten

> 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

SV: SV: A very simple issue

am 21.04.2008 06:34:56 von Konrad Viltersten

> 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