Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > ASP .Net > A very simple issue

Reply
Thread Tools

A very simple issue

 
 
Cowboy \(Gregory A. Beamer\)
Guest
Posts: n/a
 
      04-19-2008
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" <(E-Mail Removed)> wrote in message
news:(E-Mail Removed)...
> 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
>



 
Reply With Quote
 
 
 
 
K Viltersten
Guest
Posts: n/a
 
      04-19-2008
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

 
Reply With Quote
 
 
 
 
Peter Bromberg [C# MVP]
Guest
Posts: n/a
 
      04-19-2008
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
>
>

 
Reply With Quote
 
Peter Bromberg [C# MVP]
Guest
Posts: n/a
 
      04-21-2008
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
>
>

 
Reply With Quote
 
K Viltersten
Guest
Posts: n/a
 
      04-21-2008
> 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

 
Reply With Quote
 
K Viltersten
Guest
Posts: n/a
 
      04-21-2008
> 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

 
Reply With Quote
 
 
 
Reply

Thread Tools

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 On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
Help running a very very very simple code olivier.melcher Java 8 05-12-2008 07:51 PM
very very very long integer shanx__=|;- C Programming 19 10-19-2004 03:55 PM
very very very long integer Abhishek Jha C Programming 4 10-17-2004 08:19 AM
Quick Book file access very very very slow Thomas Reed Computer Support 7 04-09-2004 08:09 PM
very Very VERY dumb Question About The new Set( ) 's Raymond Arthur St. Marie II of III Python 4 07-27-2003 12:09 AM



Advertisments