473,407 Members | 2,598 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,407 software developers and data experts.

Cannot create ASP File

I have Windows 2000 and recently included Internet Information Services. I
then created a simple ASP file and clicked on it. The Open With dialog
appears asking me to select a program. I copied an existing ASP file,
test.ASP from another computer where it runs successfully. When I copied it
to my computer it changed to test.ASP auto file. The other computer runs
Windows XP. I am not sure is this is the issue. I verified the IIS is up
and running on my computer. Is there anything that can be done to correct
this?
Oct 26 '07 #1
10 2124
>I have Windows 2000 and recently included Internet Information Services. I
then created a simple ASP file and clicked on it. The Open With dialog
appears asking me to select a program. I copied an existing ASP file,
test.ASP from another computer where it runs successfully. When I copied
it
to my computer it changed to test.ASP auto file. The other computer runs
Windows XP. I am not sure is this is the issue. I verified the IIS is up
and running on my computer. Is there anything that can be done to correct
this?

http://www.w3schools.com/asp/asp_intro.asp
Oct 26 '07 #2
rmcompute wrote:
I have Windows 2000 and recently included Internet Information
Services. I then created a simple ASP file and clicked on it. The
Open With dialog appears asking me to select a program. I copied an
existing ASP file, test.ASP from another computer where it runs
successfully. When I copied it to my computer it changed to test.ASP
auto file. The other computer runs Windows XP. I am not sure is
this is the issue. I verified the IIS is up and running on my
computer. Is there anything that can be done to correct this?
While the article that Ed cited is good, it seems to assume that one
already knows how to run an asp file.

One cannot run an asp page by double-clicking it in Explorer. One has to
use a browser to request it from a web server, so, the asp file needs to
be put in a folder under inetpub/wwwroot and requested via
http://localhost/foldername/test.asp
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Oct 26 '07 #3
I typed http://localhost/Rmtest01/Rmtest.asp where Rmtest01 is the folder and
Rmtest.asp is the file, but I still got the message, page not found. Since I
have never ran an asp file on this computer, do you know if there is anything
else that has to be checked?

"Bob Barrows [MVP]" wrote:
rmcompute wrote:
I have Windows 2000 and recently included Internet Information
Services. I then created a simple ASP file and clicked on it. The
Open With dialog appears asking me to select a program. I copied an
existing ASP file, test.ASP from another computer where it runs
successfully. When I copied it to my computer it changed to test.ASP
auto file. The other computer runs Windows XP. I am not sure is
this is the issue. I verified the IIS is up and running on my
computer. Is there anything that can be done to correct this?
While the article that Ed cited is good, it seems to assume that one
already knows how to run an asp file.

One cannot run an asp page by double-clicking it in Explorer. One has to
use a browser to request it from a web server, so, the asp file needs to
be put in a folder under inetpub/wwwroot and requested via
http://localhost/foldername/test.asp
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get a
quicker response by posting to the newsgroup.
Oct 28 '07 #4
Can you run an html file in the same location" I.E.,
http://localhost/Rmtest01/RmHTMLtest.htm

rmcompute wrote:
I typed http://localhost/Rmtest01/Rmtest.asp where Rmtest01 is the
folder and Rmtest.asp is the file, but I still got the message, page
not found. Since I have never ran an asp file on this computer, do
you know if there is anything else that has to be checked?

"Bob Barrows [MVP]" wrote:
>rmcompute wrote:
>>I have Windows 2000 and recently included Internet Information
Services. I then created a simple ASP file and clicked on it. The
Open With dialog appears asking me to select a program. I copied an
existing ASP file, test.ASP from another computer where it runs
successfully. When I copied it to my computer it changed to
test.ASP auto file. The other computer runs Windows XP. I am not
sure is
this is the issue. I verified the IIS is up and running on my
computer. Is there anything that can be done to correct this?
While the article that Ed cited is good, it seems to assume that one
already knows how to run an asp file.

One cannot run an asp page by double-clicking it in Explorer. One
has to use a browser to request it from a web server, so, the asp
file needs to
be put in a folder under inetpub/wwwroot and requested via
http://localhost/foldername/test.asp
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Oct 28 '07 #5
PW

"rmcompute" <rm*******@discussions.microsoft.comwrote in message
news:CD**********************************@microsof t.com...
>I typed http://localhost/Rmtest01/Rmtest.asp where Rmtest01 is the folder
and
Rmtest.asp is the file, but I still got the message, page not found.
Since I
have never ran an asp file on this computer, do you know if there is
anything
else that has to be checked?

Is the file called rmtest.asp in the folder named
c:\inetpub\wwwroot\rmtest01 ?

Oct 28 '07 #6
Yes. The htm file runs fine.

"Bob Barrows [MVP]" wrote:
Can you run an html file in the same location" I.E.,
http://localhost/Rmtest01/RmHTMLtest.htm

rmcompute wrote:
I typed http://localhost/Rmtest01/Rmtest.asp where Rmtest01 is the
folder and Rmtest.asp is the file, but I still got the message, page
not found. Since I have never ran an asp file on this computer, do
you know if there is anything else that has to be checked?

"Bob Barrows [MVP]" wrote:
rmcompute wrote:
I have Windows 2000 and recently included Internet Information
Services. I then created a simple ASP file and clicked on it. The
Open With dialog appears asking me to select a program. I copied an
existing ASP file, test.ASP from another computer where it runs
successfully. When I copied it to my computer it changed to
test.ASP auto file. The other computer runs Windows XP. I am not
sure is
this is the issue. I verified the IIS is up and running on my
computer. Is there anything that can be done to correct this?
While the article that Ed cited is good, it seems to assume that one
already knows how to run an asp file.

One cannot run an asp page by double-clicking it in Explorer. One
has to use a browser to request it from a web server, so, the asp
file needs to
be put in a folder under inetpub/wwwroot and requested via
http://localhost/foldername/test.asp
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Oct 28 '07 #7
Yes. I also put the file in C:\Inetpub\wwwroot\ and tried to run as
http://localhost/Rmtest.asp but it still could not find the file. Could this
be a security issue?

"PW" wrote:
>
"rmcompute" <rm*******@discussions.microsoft.comwrote in message
news:CD**********************************@microsof t.com...
I typed http://localhost/Rmtest01/Rmtest.asp where Rmtest01 is the folder
and
Rmtest.asp is the file, but I still got the message, page not found.
Since I
have never ran an asp file on this computer, do you know if there is
anything
else that has to be checked?


Is the file called rmtest.asp in the folder named
c:\inetpub\wwwroot\rmtest01 ?

Oct 28 '07 #8
I mentioned that it worked with htm but it was when I clicked on it and it
went to:
C:\Inetpub\wwwroot\Rmtest01/RmHTMLtest.htm

When I typed
C:\localhost\Rmtest01/RmHTMLtest.htm it failed.

"Bob Barrows [MVP]" wrote:
Can you run an html file in the same location" I.E.,
http://localhost/Rmtest01/RmHTMLtest.htm

rmcompute wrote:
I typed http://localhost/Rmtest01/Rmtest.asp where Rmtest01 is the
folder and Rmtest.asp is the file, but I still got the message, page
not found. Since I have never ran an asp file on this computer, do
you know if there is anything else that has to be checked?

"Bob Barrows [MVP]" wrote:
rmcompute wrote:
I have Windows 2000 and recently included Internet Information
Services. I then created a simple ASP file and clicked on it. The
Open With dialog appears asking me to select a program. I copied an
existing ASP file, test.ASP from another computer where it runs
successfully. When I copied it to my computer it changed to
test.ASP auto file. The other computer runs Windows XP. I am not
sure is
this is the issue. I verified the IIS is up and running on my
computer. Is there anything that can be done to correct this?
While the article that Ed cited is good, it seems to assume that one
already knows how to run an asp file.

One cannot run an asp page by double-clicking it in Explorer. One
has to use a browser to request it from a web server, so, the asp
file needs to
be put in a folder under inetpub/wwwroot and requested via
http://localhost/foldername/test.asp
--
Microsoft MVP -- ASP/ASP.NET
Please reply to the newsgroup. The email account listed in my From
header is my spam trap, so I don't check it very often. You will get
a quicker response by posting to the newsgroup.

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Oct 28 '07 #9
No, I am talking about opening your browser and navigating to
http://localhost/Rmtest01/RmHTMLtest.htm. It is totally irrelevant that it
runs when clicking it in Explorer, except that it confirms its presence
under wwwroot. Maybe you indirectly answered that question but I am not
sure. So again: can you navigate to the html page in your browser by
entering http://localhost/Rmtest01/RmHTMLtest.htm in the address bar? If
not, then IIS may not be installed or configured properly.

You say your machine is running Windows 2000? Can you run the IIS Manager
applet? Can you see your website in IIS Manager?

rmcompute wrote:
I mentioned that it worked with htm but it was when I clicked on it
and it went to:
C:\Inetpub\wwwroot\Rmtest01/RmHTMLtest.htm

When I typed
C:\localhost\Rmtest01/RmHTMLtest.htm it failed.

"Bob Barrows [MVP]" wrote:
>Can you run an html file in the same location" I.E.,
http://localhost/Rmtest01/RmHTMLtest.htm

rmcompute wrote:
>>I typed http://localhost/Rmtest01/Rmtest.asp where Rmtest01 is the
folder and Rmtest.asp is the file, but I still got the message, page
not found. Since I have never ran an asp file on this computer, do
you know if there is anything else that has to be checked?

"Bob Barrows [MVP]" wrote:

rmcompute wrote:
I have Windows 2000 and recently included Internet Information
Services. I then created a simple ASP file and clicked on it.
The Open With dialog appears asking me to select a program. I
copied an existing ASP file, test.ASP from another computer where
it runs successfully. When I copied it to my computer it changed
to test.ASP auto file. The other computer runs Windows XP. I am
not sure is
this is the issue. I verified the IIS is up and running on my
computer. Is there anything that can be done to correct this?
While the article that Ed cited is good, it seems to assume that
one already knows how to run an asp file.

One cannot run an asp page by double-clicking it in Explorer. One
has to use a browser to request it from a web server, so, the asp
file needs to
be put in a folder under inetpub/wwwroot and requested via
http://localhost/foldername/test.asp
--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Oct 28 '07 #10
I checked the status of the IIS Admin Service and it is Started. I Right
clicked it and then clicked on Properties. On the Log On tab I checked Allow
service to interact with desktop. I checked the Wold Wide Web Publishing
Service and it has a status of Starting but there is no option available to
start it. Does it remain as starting? I right clicked it and clicked on
properties. On the Log On tab I checked Allow service to interact with
desktop. Where does the system get told that directory http://localhost/
equates to C:\Inetpub\wwwroot\. I think this may be where the problem is,
but I could not find where on any of the properties that in either of the
services where this information could be entered.

"Bob Barrows [MVP]" wrote:
No, I am talking about opening your browser and navigating to
http://localhost/Rmtest01/RmHTMLtest.htm. It is totally irrelevant that it
runs when clicking it in Explorer, except that it confirms its presence
under wwwroot. Maybe you indirectly answered that question but I am not
sure. So again: can you navigate to the html page in your browser by
entering http://localhost/Rmtest01/RmHTMLtest.htm in the address bar? If
not, then IIS may not be installed or configured properly.

You say your machine is running Windows 2000? Can you run the IIS Manager
applet? Can you see your website in IIS Manager?

rmcompute wrote:
I mentioned that it worked with htm but it was when I clicked on it
and it went to:
C:\Inetpub\wwwroot\Rmtest01/RmHTMLtest.htm

When I typed
C:\localhost\Rmtest01/RmHTMLtest.htm it failed.

"Bob Barrows [MVP]" wrote:
Can you run an html file in the same location" I.E.,
http://localhost/Rmtest01/RmHTMLtest.htm

rmcompute wrote:
I typed http://localhost/Rmtest01/Rmtest.asp where Rmtest01 is the
folder and Rmtest.asp is the file, but I still got the message, page
not found. Since I have never ran an asp file on this computer, do
you know if there is anything else that has to be checked?

"Bob Barrows [MVP]" wrote:

rmcompute wrote:
I have Windows 2000 and recently included Internet Information
Services. I then created a simple ASP file and clicked on it.
The Open With dialog appears asking me to select a program. I
copied an existing ASP file, test.ASP from another computer where
it runs successfully. When I copied it to my computer it changed
to test.ASP auto file. The other computer runs Windows XP. I am
not sure is
this is the issue. I verified the IIS is up and running on my
computer. Is there anything that can be done to correct this?
While the article that Ed cited is good, it seems to assume that
one already knows how to run an asp file.

One cannot run an asp page by double-clicking it in Explorer. One
has to use a browser to request it from a web server, so, the asp
file needs to
be put in a folder under inetpub/wwwroot and requested via
http://localhost/foldername/test.asp

--
Microsoft MVP - ASP/ASP.NET
Please reply to the newsgroup. This email account is my spam trap so I
don't check it very often. If you must reply off-line, then remove the
"NO SPAM"
Oct 28 '07 #11

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

6
by: Christopher Brandsdal | last post by:
Hi! I get an error when I run my code Is there any other way to get te information from my form? Heres the error I get and the code beneath. Line 120 is market with ''''''''''''Line...
8
by: baustin75 | last post by:
Posted: Mon Oct 03, 2005 1:41 pm Post subject: cannot mail() in ie only when debugging in php designer 2005 -------------------------------------------------------------------------------- ...
6
by: Chad Crowder | last post by:
Getting the following error on my production server whether the file exists or not: "System.IO.IOException: Cannot create a file when that file already exists." Here's the code generating the...
2
by: Jay Bienvenu | last post by:
I cannot create new Web applications in Visual Studio .NET 2003. I get this error message: "Visual Studio .NET cannot create or open the application. The likeliest problem is that required...
0
by: SampathTangudu | last post by:
Hi, We are trying to use the Hash Tables for passing information from one aspx page to another aspx page. We are using the below code. IsolatedStorageFile isoStore =...
6
by: JonSteng | last post by:
..Net Visual Studio Professional 2003 Version 7.1.3088 ..Net Framework 1.1 SP1 Version 1.1.4322 IIS 5.1 Windows XP Professional SP2 Micron T3000 Laptop (1.5 GHz; 1GB RAM; 40GB HD with 17GB Free)...
0
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
1
by: Patrick F | last post by:
I keep getting this error message and i don't know whats the problem is and how to solve it. I have a webproject with 2 components (dll) added to it. One is called PhotoGallery and one is called...
0
by: =?Utf-8?B?QWxoYW1icmEgRWlkb3MgS2lxdWVuZXQ=?= | last post by:
Hello, mister I have an application web asp.net 2.0 + vs 2005 and VS 2005 Web Application Project. Its appears this error in execution: "Cannot Create/Shadow Copy '<projectname>' when that...
2
by: karinmorena | last post by:
I'm having 4 errors, I'm very new at this and I would appreciate your input. The error I get is: Week5MortgageGUI.java:151:cannot find symbol symbol: method allInterest(double,double,double)...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
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...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...

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.