473,242 Members | 1,439 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,242 software developers and data experts.

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(windows 2000, IIS5.0) from Home directory of IIS property.

Any idea?

Thanks.
william
Jul 19 '05 #1
14 7864
On Tue, 10 Feb 2004 11:36:09 -0800, "william"
<an*******@discussions.microsoft.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(windows 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><title>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*******@discussions.microsoft.com> wrote in message
news:7A**********************************@microsof t.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><title>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*******@discussions.microsoft.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><title>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
william wrote:
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


What kb article told you to do that?
Were there other articles returned by the search?
Have you tried using Google to search for the error text?

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 #11
Hi

I did everything based on the article(http://www.aspfaq.com/2226), and I could run simple asp, but if I add Server.CreateObject("ADODB.CONNECTION"), got error "error '8002801d' Library not registered. "

Thanks
willia

Jul 19 '05 #12
http://www.aspfaq.com/2121

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"william" <an*******@discussions.microsoft.com> wrote in message
news:E5**********************************@microsof t.com...
Hi,

I did everything based on the article(http://www.aspfaq.com/2226), and I could run simple asp, but if I add Server.CreateObject("ADODB.CONNECTION"),
got error "error '8002801d' Library not registered. ".
Thanks.
william

Jul 19 '05 #13
On Wed, 11 Feb 2004 06:56:07 -0800, "william"
<an*******@discussions.microsoft.com> wrote:
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. "


That's not the entire message, you forgot the Event ID number and
source.

Since it was an Event ID of 36 and a source of W3SVC (Yes, I'm
clairvoyant...), see:

http://www.eventid.net/display.asp?e...6&source=w3svc

Jeff
Jul 19 '05 #14
The latest version is 2.8.

--
Aaron Bertrand
SQL Server MVP
http://www.aspfaq.com/


"william" <an*******@discussions.microsoft.com> wrote in message
news:A0**********************************@microsof t.com...
Reinstall MDAC2.7 does not help.

Thanks.

william

Jul 19 '05 #15

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

Similar topics

3
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...
0
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...
0
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'...
2
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...
1
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...
3
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...
0
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; ...
0
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. --> ...
2
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 =...
0
by: abbasky | last post by:
### Vandf component communication method one: data sharing ​ Vandf components can achieve data exchange through data sharing, state sharing, events, and other methods. Vandf's data exchange method...
2
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 7 Feb 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:30 (7.30PM). In this month's session, the creator of the excellent VBE...
0
by: fareedcanada | last post by:
Hello I am trying to split number on their count. suppose i have 121314151617 (12cnt) then number should be split like 12,13,14,15,16,17 and if 11314151617 (11cnt) then should be split like...
0
by: stefan129 | last post by:
Hey forum members, I'm exploring options for SSL certificates for multiple domains. Has anyone had experience with multi-domain SSL certificates? Any recommendations on reliable providers or specific...
0
Git
by: egorbl4 | last post by:
Скачал я git, хотел начать настройку, а там вылезло вот это Что это? Что мне с этим делать? ...
1
by: davi5007 | last post by:
Hi, Basically, I am trying to automate a field named TraceabilityNo into a web page from an access form. I've got the serial held in the variable strSearchString. How can I get this into the...
0
by: Aftab Ahmad | last post by:
Hello Experts! I have written a code in MS Access for a cmd called "WhatsApp Message" to open WhatsApp using that very code but the problem is that it gives a popup message everytime I clicked on...
0
by: Aftab Ahmad | last post by:
So, I have written a code for a cmd called "Send WhatsApp Message" to open and send WhatsApp messaage. The code is given below. Dim IE As Object Set IE =...
0
isladogs
by: isladogs | last post by:
The next Access Europe meeting will be on Wednesday 6 Mar 2024 starting at 18:00 UK time (6PM UTC) and finishing at about 19:15 (7.15PM). In this month's session, we are pleased to welcome back...

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.