473,785 Members | 2,816 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

couldn't run ASP file

Hi,
I could run hello.htm, but hello.asp. They are same except the file name.
.....
<body>
hello.
</body>
.....
I set Execute Permission to Script or Excutable(windo ws 2000, IIS5.0) from Home directory of IIS property.

Any idea?

Thanks.
william
Jul 19 '05 #1
14 7907
On Tue, 10 Feb 2004 11:36:09 -0800, "william"
<an*******@disc ussions.microso ft.com> wrote:
Hi,
I could run hello.htm, but hello.asp. They are same except the file name.
...
<body>
hello.
</body>
...
I set Execute Permission to Script or Excutable(windo ws 2000, IIS5.0) from Home directory of IIS property.

Any idea?


Can't tell, at least with what you've posted here. What did you
expect to happen when you browsed to the file? And what did happen?
And why would two identical files work for two different technologies?
(Hint: The Heelo World! file is different in HTML from that in
ASP...)

Jeff
Jul 19 '05 #2
Hi Jeff,

Basically, I was trying to implement ASP project on windows 2000 box, but couldn't run it. So I wrote a test file, named it to hello.htm, put it under wwwroot folder to use default web site, and I could run it from IE, no error. Then I changed the file name to hello.asp, I couldn't run it, I got error "There is a problem with the page you are trying to reach and it cannot be displayed. HTTP 500 - Internal server error ". My test file is simple as follows:
<html><head><ti tle>title test</title></head><body>
HELLO!
</body></html>

Thanks.

william

Jul 19 '05 #3
Jas
Go to internet explorer

click Tools - > Internet Options - Advanced Tab

uncheck the box "Show friendly HTTP error messages"

post the message here or read it carefully it will tell you which line has
the problem
"william" <an*******@disc ussions.microso ft.com> wrote in message
news:7A******** *************** ***********@mic rosoft.com...
Hi Jeff,

Basically, I was trying to implement ASP project on windows 2000 box, but couldn't run it. So I wrote a test file, named it to hello.htm, put it under
wwwroot folder to use default web site, and I could run it from IE, no
error. Then I changed the file name to hello.asp, I couldn't run it, I got
error "There is a problem with the page you are trying to reach and it
cannot be displayed. HTTP 500 - Internal server error ". My test file is
simple as follows: <html><head><ti tle>title test</title></head><body>
HELLO!
</body></html>

Thanks.

william

Jul 19 '05 #4
On Tue, 10 Feb 2004 13:41:07 -0800, "william"
<an*******@disc ussions.microso ft.com> wrote:

Basically, I was trying to implement ASP project on windows 2000 box, but couldn't run it. So I wrote a test file, named it to hello.htm, put it under wwwroot folder to use default web site, and I could run it from IE, no error. Then I changed the file name to hello.asp, I couldn't run it, I got error "There is a problem with the page you are trying to reach and it cannot be displayed. HTTP 500 - Internal server error ".
Start here:

Why do I get a 500 Internal Server error for all ASP errors?
http://www.aspfaq.com/show.asp?id=2109

My test file is simple as follows:
<html><head><t itle>title test</title></head><body>
HELLO!
</body></html>


That's not ASP. Try:

<%
Response.Write "Hello World!"
%>

Obvious other issues:

1) You ran the IIS Lockadown tool or URLScan and didn't enable the
ASP extension

2) You run Norton's or other AV software or personal firewall that
blocks script execution.

Jeff
Jul 19 '05 #5
Hi Jas

This is the error message I got
"The server failed to load application '/LM/W3SVC/1/ROOT'. The error was 'No such interface supported'.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

Thanks

william
Jul 19 '05 #6
william wrote:
Hi Jas,

This is the error message I got
"The server failed to load application '/LM/W3SVC/1/ROOT'. The error
was 'No such interface supported'.
For additional information specific to this message please visit the
Microsoft Online Support site located at:
http://www.microsoft.com/contentredirect.asp. "

So ... did you follow the link and search for KB articles containing your
error message?

Bob Barrows
--
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.
Jul 19 '05 #7
Jas,
I got
"Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information. Please contact the server administrator for assistance."
When I check event view, the message is
The server failed to load application '/LM/W3SVC/1/ROOT'. The error was 'No such interface supported'.
For additional information specific to this message please visit the Microsoft Online Support site located at: http://www.microsoft.com/contentredirect.asp.

thanks

william


Jul 19 '05 #8
Hi Bob,

Yes, I did.
I tried click Remove button on "Home Directory" from Properties of Internet Services Manager, and click Create, and ok. Still got error.
On the page, the error is "Server Application Error
The server has encountered an error while loading an application during the processing of your request. Please refer to the event log for more detail information.
Please contact the server administrator for assistance."

Thanks.

william
Jul 19 '05 #9
> The server failed to load application '/LM/W3SVC/1/ROOT'. The error was
'No such interface supported'.

http://www.aspfaq.com/2226

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/
Jul 19 '05 #10

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

Similar topics

3
24089
by: Bill Short | last post by:
On one of my users desktops I have setup multiple icons to open Access applications (Access 2k). In the target line I have specified the path to msaccess.exe, the path of the system.mdw and the path to the ..mdb. The icons do not always work. Occasionally he will get the error message "Couldn't find file 'System.mdw'. This file is required for startup." If he opens any Access application by opening Access first and browsing to the...
0
2321
by: lalberti | last post by:
Somehow my ASPNET_WP.EXE couldn't start anymore. The two error messages related to this from the event viewer were: Event Source: ASP.NET 1.1.4322.0 aspnet_wp.exe could not be started. HRESULT for the failure: 80004005 Event Source: ASP.NET 1.1.4322.0 aspnet_wp.exe could not be launched because the username and/or password supplied in the processModel section of the config file are invalid. I suspect the reason might be my incidental...
0
7789
by: PeteB | last post by:
This problem seems to be cropping up on computers that have the Office 12 Beta 2 installed. If an app is trying to write XML, it brings up an error that says "Executable 'C:\Projects\MyApp.exe' had the following unrecoverable error: Couldn't find MSVCR80.dll (required by C:\Program Files\Common Files\Microsoft Shared\OFFICE12\MSOXMLMF.DLL) Please ensure that it is installed." On my machne, I have uninstalled Office 11 and installed...
2
5424
by: Kevien Lee | last post by:
Hi , I had a strang problam ,when i use StreamWriter to append to a file,i found that if i don't close the StreamReader it couldn't write the data into file,the code as folllow that: class Program { static void Main(string args) { FileInfo file = new FileInfo(@"E:\Demo\Log\20061214.log");
1
2475
by: ganesah | last post by:
recently i'd downloaded a source code in c++ and tried to compile and run in VS C++ 6.0. however the source code couldn't be compiled. the error is as follows> before that, there is a header file in the source code written like this #include "..\..\..\VspApi\VspApi.h" and the error message is as follows: the include file couldnt be opened '..\..\..\VspApi\VspApi.h' : file or directory couldn be found... what should i modify here to...
3
3447
by: George0726 | last post by:
This happens regardless of the Version of Access. Users accessing a database on a shared folder get the "Couldn't use <filename>; file already in use." Everyone without exception has access to the folder. The folder is NOT read-only. The solution I have found is to move ALL files to another folder, DELETE the original folder and RENAME the new folder with the exact name of the old folder. Problem solved. Everyone accesss the DB. ...
0
2644
by: Ikado | last post by:
Hi everyone, I am new to PostgreSQL and trying to install it, My login account belongs to "Administrator Group" But I tried after creating newone as User Account(limited).. First i downloaded; postgresql-8.2.msi postgresql-8.2-int.msi upgrade.bat README.TXT
0
1573
by: Rajgodfather | last post by:
I am getting the end couldn't error while validating xml file against xsd. The xml file looks perfect. XML: <event id="1"> <!-- Successful event. --> <AffectedBillingComponentsRequest
2
10141
by: defn noob | last post by:
from Tkinter import * import os master = Tk() w = Canvas(master, width=800, height=600) print os.path.exists('C:/me/saftarn/desktop/images/blob4.jpg') im = PhotoImage(file = 'C:/users/saftarn/desktop/images/blob4.jpg') #im = file = 'C:/users/me/desktop/images/blob4.jpg'
0
9645
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
10329
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
10152
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
10092
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
9950
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...
1
7500
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
6740
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();...
0
5381
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
1
4053
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system

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.