473,804 Members | 3,762 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

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 2163
>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
successfull y. 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*******@disc ussions.microso ft.comwrote in message
news:CD******** *************** ***********@mic rosoft.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\wwwr oot\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\wwwr oot\ 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*******@disc ussions.microso ft.comwrote in message
news:CD******** *************** ***********@mic rosoft.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\wwwr oot\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\wwwr oot\Rmtest01/RmHTMLtest.htm

When I typed
C:\localhost\Rm test01/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\wwwr oot\Rmtest01/RmHTMLtest.htm

When I typed
C:\localhost\Rm test01/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

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

Similar topics

6
10337
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 120''''''''''''''''''''' ''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''
8
5484
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 -------------------------------------------------------------------------------- Hello, I have a very simple problem but cannot seem to figure it out. I have a very simple php script that sends a test email to myself. When I debug it in PHP designer, it works with no problems, I get the test email. If
6
13735
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 error (seems to be happening when I try creating a directory) If dirmgr.Exists("s:\blah\" & txt_name.Text) Then lblerror.Text = lblerror.Text & "Unable to build physical path. " &
2
9783
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 components are not installed on the local Web server. Run Visual Studio .NET setup and add the Web Development commponent." So I ran the Visual Studio .NET setup and added the Web Development component...and get the same problem. The thing is that...
0
3123
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 = IsolatedStorageFile.GetStore( IsolatedStorageScope.User | IsolatedStorageScope.Assembly |IsolatedStorageScope.Domain , null, null );
6
3381
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) I installed FrontPage server extensions to IIS on my computer while following instructions in a Microsoft ASP.Net MCSD training book. After installing the FrontPage Server Extensions I cannot create a new
0
1729
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 Photo. Any suggestions on how to solve this? i can't do much at the moment. Server Error in '/PhotoGallery' Application. -------------------------------------------------------------------------------- Cannot create/shadow copy 'Photo' when...
1
8924
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 Photo. Any suggestions on how to solve this? i can't do much at the moment. Server Error in '/PhotoGallery' Application. -------------------------------------------------------------------------------- Cannot create/shadow copy 'Photo' when...
0
2813
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 file arleady exists" error.
2
6666
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) Location: class Week5MortgageGUI Week5MortgageLogic allint = logic.allInterest(amount, term, rate); Week5MortgageGUI.java:152:cannot find symbol symbol: method allInterest(double,double,double) Location: class Week5MortgageGUI
0
9706
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
9579
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10571
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, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10326
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
10317
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
10075
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
6851
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
2
3815
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2990
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.