473,383 Members | 1,885 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,383 software developers and data experts.

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 4346
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 thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
by: Gary Feldman | last post by:
Since I prefer to keep all my installed programs in one place, I went ahead and installed Python in Program Files/Python. The command line shell seems to work just fine, and I'm able to import...
1
by: Tom L | last post by:
I have a vb.net app that I created a setup for. I can install it and run it just fine on my XP box, but I'm having problems ont he NT4 workstation box. the nt4 box has sp6a, the .net 1.1 clr,...
13
by: Tosch | last post by:
I have a Win2003 server where I installed my VB.NET application, built with VS.NET 2002. My main application crashes before the first line of my code is executed with this error: "Memory at...
0
by: WeatheMan | last post by:
Hi, I've got a Windows 2000 server SP4 running IIS 5.0 I've just installed Microsoft Terminal Services v5.0 in administrator mode and now IIS won't process ASP pages (terminal services works OK)....
1
by: adiavr | last post by:
Hi, I have read up on MySQL failover/replication and decided that weren't many cons to setting up two way replication where two servers are both master and slave to eachother. Here's the my.cnf:...
3
by: Jouke Langhout | last post by:
Hello all! For quite some time now, I've got the following problem: Access won't close properly when a user closes the application. An ACCESS process stays active and that process can only be...
2
by: Lowell | last post by:
I want a (global) mutex which prevents a section of my code from being run by more than one process (or user) at a time. I have something that works, EXCEPT when there is an exception of some kind. ...
16
by: Caroline | last post by:
I am building a web application to gather user information then launch a process to calculate results. The process is a 3rd Party executable. I cannot get the process to start. Is there a...
13
by: Edwin Smith | last post by:
I have a form which displays a DataGridView table generated with the VS2005 tools. The database is a Pervasive v.9 with an ODBC driver. The DataGridView works great except when I'm done and I...
3
by: HugoVallejo | last post by:
Hi everyone. I've created an ASP.NET web site which uses a .NET assembly to read/write operations using an odbc driver. When a connection to the odbc database is made locking files are created, when...
0
by: Faith0G | last post by:
I am starting a new it consulting business and it's been a while since I setup a new website. Is wordpress still the best web based software for hosting a 5 page website? The webpages will be...
0
by: ryjfgjl | last post by:
In our work, we often need to import Excel data into databases (such as MySQL, SQL Server, Oracle) for data analysis and processing. Usually, we use database tools like Navicat or the Excel import...
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
0
by: ryjfgjl | last post by:
If we have dozens or hundreds of excel to import into the database, if we use the excel import function provided by database editors such as navicat, it will be extremely tedious and time-consuming...
0
by: ryjfgjl | last post by:
In our work, we often receive Excel tables with data in the same format. If we want to analyze these data, it can be difficult to analyze them because the data is spread across multiple Excel files...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.