469,286 Members | 2,522 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,286 developers. It's quick & easy.

IIs Won't Process ASP

Hi,

I'm a complete newbie to IIs and ASP (come from the Apache/Cold Fusion
world ). I've created a very simple ASP test page:

<%@ Language=VBScript %>

<% Response.Write "This is a test ASP page." %>

But when I access the page, it just displays the page as text, instead
of processing the ASP. I've looked at a half-dozen Microsoft KB
articles, but still no luck. I'm not getting an error, it's just not
processing.

Any ideas?

Thanks!
Jul 19 '05 #1
10 4240
What server OS are you running?
How are you opening/displaying this file, through IE with a full URL I hope?

--
Curt Christianson
Owner/Lead Developer, DF-Software
www.Darkfalz.com
"Mark" <ma**@somewhere.com> wrote in message
news:uK**********************@news.easynews.com...
Hi,

I'm a complete newbie to IIs and ASP (come from the Apache/Cold Fusion
world ). I've created a very simple ASP test page:

<%@ Language=VBScript %>

<% Response.Write "This is a test ASP page." %>

But when I access the page, it just displays the page as text, instead
of processing the ASP. I've looked at a half-dozen Microsoft KB
articles, but still no luck. I'm not getting an error, it's just not
processing.

Any ideas?

Thanks!

Jul 19 '05 #2
"Mark" wrote:
: I'm a complete newbie to IIs and ASP (come from the Apache/Cold Fusion
: world ). I've created a very simple ASP test page:
:
: <%@ Language=VBScript %>
:
: <% Response.Write "This is a test ASP page." %>
:
: But when I access the page, it just displays the page as text, instead
: of processing the ASP. I've looked at a half-dozen Microsoft KB
: articles, but still no luck. I'm not getting an error, it's just not
: processing.

Area you running this on an IIS server with ASP support?

--
Roland Hall
/* This information is distributed in the hope that it will be useful, but
without any warranty; without even the implied warranty of merchantability
or fitness for a particular purpose. */
Technet Script Center - http://www.microsoft.com/technet/scriptcenter/
WSH 5.6 Documentation - http://msdn.microsoft.com/downloads/list/webdev.asp
MSDN Library - http://msdn.microsoft.com/library/default.asp
Jul 19 '05 #3
Curt_C [MVP] wrote:
What server OS are you running?
Windows 2000 with IIs
How are you opening/displaying this file, through IE with a full URL I hope?


127.0.0.1/test/test.asp
Jul 19 '05 #4
Roland Hall wrote:

Area you running this on an IIS server with ASP support?


I assume so. It's Windows 2000 with IIs (version 5?)

Jul 19 '05 #5
I just started looking at IIS and ASP this morning as well.
There is NO "use ASP with IIS tick box" that I can locate.
The documentation as I understand it states that ASP comes with IIS.

I've spent about 4 hours so far on setting up and trying to sort out
a simple page to test with.

-----

<%@ LANGUAGE=VBScript %>

<html>

<body>

<% Response.Write "This is a test ASP page." %>

</body>

</html>

----

I've associated the .asp file extension with Internet explorer and simply
open the file.

IE just shows a blank page.

I've installed the script debugger and inserted a STOP.
The debugger fires and the code is visible.
But as soon as I type in ? Date <cr> the debugger freezes.

Does my .asp file have to be in a certain directory to get the ASP server to
work?

Any other constructive suggestions would be greatly appreciated.

"Mark" <ma**@somewhere.com> wrote in message
news:uK**********************@news.easynews.com...
Hi,

I'm a complete newbie to IIs and ASP (come from the Apache/Cold Fusion
world ). I've created a very simple ASP test page:

<%@ Language=VBScript %>

<% Response.Write "This is a test ASP page." %>

But when I access the page, it just displays the page as text, instead
of processing the ASP. I've looked at a half-dozen Microsoft KB
articles, but still no luck. I'm not getting an error, it's just not
processing.

Any ideas?

Thanks!

Jul 19 '05 #6

"Barry G. Sumpter" <su*****@bigpond.net.au> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
I just started looking at IIS and ASP this morning as well.
There is NO "use ASP with IIS tick box" that I can locate.
The documentation as I understand it states that ASP comes with IIS.

I've spent about 4 hours so far on setting up and trying to sort out
a simple page to test with.

-----

<%@ LANGUAGE=VBScript %>

<html>

<body>

<% Response.Write "This is a test ASP page." %>

</body>

</html>

----

I've associated the .asp file extension with Internet explorer and simply
open the file.
you cant just associate asp files with internet explorer and get it too
work. you have to give your page an address.

ie

http://localhost/test.asp

IE just shows a blank page.

I've installed the script debugger and inserted a STOP.
The debugger fires and the code is visible.
But as soon as I type in ? Date <cr> the debugger freezes.

Does my .asp file have to be in a certain directory to get the ASP server to work?

Any other constructive suggestions would be greatly appreciated.

"Mark" <ma**@somewhere.com> wrote in message
news:uK**********************@news.easynews.com...
Hi,

I'm a complete newbie to IIs and ASP (come from the Apache/Cold Fusion
world ). I've created a very simple ASP test page:

<%@ Language=VBScript %>

<% Response.Write "This is a test ASP page." %>

But when I access the page, it just displays the page as text, instead
of processing the ASP. I've looked at a half-dozen Microsoft KB
articles, but still no luck. I'm not getting an error, it's just not
processing.

Any ideas?

Thanks!


Jul 19 '05 #7
See if this is it. http://www.aspfaq.com/show.asp?id=2147

--

Ray at home
Microsoft ASP MVP
"Mark" <ma**@somewhere.com> wrote in message
news:uK**********************@news.easynews.com...
Hi,

I'm a complete newbie to IIs and ASP (come from the Apache/Cold Fusion
world ). I've created a very simple ASP test page:

<%@ Language=VBScript %>

<% Response.Write "This is a test ASP page." %>

But when I access the page, it just displays the page as text, instead
of processing the ASP. I've looked at a half-dozen Microsoft KB
articles, but still no luck. I'm not getting an error, it's just not
processing.

Any ideas?

Thanks!

Jul 19 '05 #8
Ray at home
See if this is it. http://www.aspfaq.com/show.asp?id=2147
----

Yep that cleared up the simple example.
Thanks heaps

----

But, still getting stuck executing my .asp on the desktop.
(Fixed below)
----

[ + 2 0 r p 3 ] ,

you cant just associate asp files with internet explorer and get it too
work. you have to give your page an address.
ie: http://localhost/test.asp
----
Yep that did it.

Thanks champ....

I was obviously trying to outsmart myself.

Moved my .asp (database read and display) to C:\Inetpub\wwwroot.
Again attempted to just open it and did NOT work. Hung.

Cancelled.

Opened IE and typed in the addres as in your example
and now executes properly.

----

Thanks again gentlemen for the quick response and the 'spot on' solutions.
baz

-----------------------------------------------

"Barry G. Sumpter" <su*****@bigpond.net.au> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
I just started looking at IIS and ASP this morning as well.
There is NO "use ASP with IIS tick box" that I can locate.
The documentation as I understand it states that ASP comes with IIS.

I've spent about 4 hours so far on setting up and trying to sort out
a simple page to test with.

-----

<%@ LANGUAGE=VBScript %>

<html>

<body>

<% Response.Write "This is a test ASP page." %>

</body>

</html>

----

I've associated the .asp file extension with Internet explorer and simply
open the file.

IE just shows a blank page.

I've installed the script debugger and inserted a STOP.
The debugger fires and the code is visible.
But as soon as I type in ? Date <cr> the debugger freezes.

Does my .asp file have to be in a certain directory to get the ASP server to work?

Any other constructive suggestions would be greatly appreciated.

"Mark" <ma**@somewhere.com> wrote in message
news:uK**********************@news.easynews.com...
Hi,

I'm a complete newbie to IIs and ASP (come from the Apache/Cold Fusion
world ). I've created a very simple ASP test page:

<%@ Language=VBScript %>

<% Response.Write "This is a test ASP page." %>

But when I access the page, it just displays the page as text, instead
of processing the ASP. I've looked at a half-dozen Microsoft KB
articles, but still no luck. I'm not getting an error, it's just not
processing.

Any ideas?

Thanks!


Jul 19 '05 #9
Nope:
Rebooted and its back to the original problem and these fixes don't work
anymore.

Not very confident about IIS and ASP stability.

Hope I havn't been wasiting my time of IIS and ASP.


"Barry G. Sumpter" <su*****@bigpond.net.au> wrote in message
news:uf****************@TK2MSFTNGP12.phx.gbl...
Ray at home
See if this is it. http://www.aspfaq.com/show.asp?id=2147
----

Yep that cleared up the simple example.
Thanks heaps

----

But, still getting stuck executing my .asp on the desktop.
(Fixed below)
----

[ + 2 0 r p 3 ] ,

you cant just associate asp files with internet explorer and get it too
work. you have to give your page an address.
ie: http://localhost/test.asp
----
Yep that did it.

Thanks champ....

I was obviously trying to outsmart myself.

Moved my .asp (database read and display) to C:\Inetpub\wwwroot.
Again attempted to just open it and did NOT work. Hung.

Cancelled.

Opened IE and typed in the addres as in your example
and now executes properly.

----

Thanks again gentlemen for the quick response and the 'spot on' solutions.

baz

-----------------------------------------------

"Barry G. Sumpter" <su*****@bigpond.net.au> wrote in message
news:Ow**************@TK2MSFTNGP10.phx.gbl...
I just started looking at IIS and ASP this morning as well.
There is NO "use ASP with IIS tick box" that I can locate.
The documentation as I understand it states that ASP comes with IIS.

I've spent about 4 hours so far on setting up and trying to sort out
a simple page to test with.

-----

<%@ LANGUAGE=VBScript %>

<html>

<body>

<% Response.Write "This is a test ASP page." %>

</body>

</html>

----

I've associated the .asp file extension with Internet explorer and simply open the file.

IE just shows a blank page.

I've installed the script debugger and inserted a STOP.
The debugger fires and the code is visible.
But as soon as I type in ? Date <cr> the debugger freezes.

Does my .asp file have to be in a certain directory to get the ASP
server to
work?

Any other constructive suggestions would be greatly appreciated.

"Mark" <ma**@somewhere.com> wrote in message
news:uK**********************@news.easynews.com...
Hi,

I'm a complete newbie to IIs and ASP (come from the Apache/Cold Fusion
world ). I've created a very simple ASP test page:

<%@ Language=VBScript %>

<% Response.Write "This is a test ASP page." %>

But when I access the page, it just displays the page as text, instead
of processing the ASP. I've looked at a half-dozen Microsoft KB
articles, but still no luck. I'm not getting an error, it's just not
processing.

Any ideas?

Thanks!



Jul 19 '05 #10
Ray at <%=sLocation%> [MVP] wrote:
See if this is it. http://www.aspfaq.com/show.asp?id=2147


I ran the script and no help. The screen cap is for Windows Server 2003
and I can't find a similar dialog in Windows 2000.

Other suggestions?
Jul 19 '05 #11

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by Tosch | last post: by
2 posts views Thread by Lowell | last post: by
16 posts views Thread by Caroline | last post: by
13 posts views Thread by Edwin Smith | last post: by
1 post views Thread by CARIGAR | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.