Enable ASP within IIS 5.1 (Win XP)
Enable ASP within IIS 5.1 (Win XP)
am 23.12.2007 05:23:10 von King Coffee
Hi,
I tried running a simple "Hello, World form ASP" server-side script... and
it appears that IIS did not enable ASP by default on my computer. It
complaints that the "%" character is an invalid character when it parses the
line containing "<%". The asp.dll object is in the /windows/system/intsrv
folder.
Can I manually enable the ASP feature?
King
Re: Enable ASP within IIS 5.1 (Win XP)
am 23.12.2007 11:13:57 von David Wang
On Dec 22, 8:23=A0pm, "King Coffee" wrote:
> Hi,
>
> I tried running a simple "Hello, World form ASP" server-side script... and=
> it appears that IIS did not enable ASP by default on my computer. It
> complaints that the "%" character is an invalid character when it parses t=
he
> line containing "<%". The asp.dll object is in the =A0/windows/system/ints=
rv
> folder.
>
> Can I manually enable the ASP feature?
>
> King
ASP is enabled by default on IIS 5.1 on Windows XP. There is nothing
to "manually enable", so let's look at the problem objectively.
Can you provide:
1. The exact URL of your simple server side script which results in
the error
2. The applicable Application mapping for the extension of the URL in
#1, revealing the configured Script Engine
3. The exact content of your URL (or smallest content that reproduces
the issue)
4. The exact error response
Your problem is that the Script Engine in #2 is complaining about
content of your server side script. Let's make sure that it's the
right engine and right syntax.
At this point, /windows/system32/inetsrv/asp.dll does not enter into
the discussion because you have not shown that your problem is even
caused by it. You have to first prove that your page was configured to
be processed by asp.dll. While it is by default, the error is not by
default, so something is funny with your computer/settings and I am
not assuming anything for troubleshooting. Thus, you have to verify
and prove everything starting from the fundamentals so that we can see
what is going awry.
FYI: You want to get used to using \ instead of / as directory
separator on Windows.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: Enable ASP within IIS 5.1 (Win XP)
am 24.12.2007 07:08:45 von King Coffee
The error in the parent message is no longer the problem. I think I might of
been running two webservers apps on my local computer.
I'm learning Web design on my personal home computer, so, the URL is
http://localhost/test_file.asp.
I took out the server side tags to test out the file name extension.
Therefore, I put the text below in to files: "test_file.htm" and
"test_file.asp".
Hello World
Response.Write "Hello World from ASP"
when I enter: http://localhost/test_file.htm the web browser displays the
body text OK.
But when I enter: http://localhost/test_file.asp the web browser displays
the error page HTTP 500. "The website cannot display the page." Error 500 is
a server problem... preventing the displaying of the requested page.
I'm new to IIS, and the only configuration I done was install IIS and added
the two foregoing files the default directory, c:/Inetpub/wwwroot.
Thanks for your assistance,
King
Re: Enable ASP within IIS 5.1 (Win XP)
am 24.12.2007 08:14:52 von David Wang
On Dec 23, 10:08=A0pm, "King Coffee" wrote:
> The error in the parent message is no longer the problem. I think I might =
of
> been running two webservers apps on my local computer.
>
> I'm learning Web design on my personal home computer, so, the URL ishttp:/=
/localhost/test_file.asp.
>
> I took out the server side tags to test out the file name extension.
> Therefore, I put the text below in to files: "test_file.htm" and
> "test_file.asp".
>
>
>
> =A0Hello World
>
>
> =A0Response.Write "Hello World from ASP"
>
>
>
> when I enter:http://localhost/test_file.htmthe web browser displays the
> body text OK.
>
> But when I enter:http://localhost/test_file.aspthe web browser displays
> the error page HTTP 500. "The website cannot display the page." Error 500 =
is
> a server problem... preventing the displaying of the requested page.
>
> I'm new to IIS, and the only configuration I done was install IIS and adde=
d
> the two foregoing files the default directory, c:/Inetpub/wwwroot.
>
> Thanks for your assistance,
> King
Are you running personal security software on this system, and if so,
please verify that the security software supports IIS and does not
cripple it. Several personal security software are known to cripple
IIS, Scripting Engine, or COM+ to prevent IIS from functioning to
execute pages like ASP, and IIS failures would look as mysterious as
this.
Can you report exactly what is returned on the 500 error page, making
sure to disable IE's "Show Friendly HTTP Error" option so that you get
the actual 500 response from the ASP page.
What you did works for me just fine on a default XP Pro installation,
so the problem is likely caused by software on your system outside of
IIS, or some sort of misconfiguration.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: Enable ASP within IIS 5.1 (Win XP)
am 25.12.2007 07:03:58 von King Coffee
Hi David,
I can access an asp page with my old web server software (PWS: Abyss X1 and
ASP Parser: ActiveHTMl) OK. But I want to use IIS and SMTP. Nevertheless, I
uninstalled the ActiveHtml and Abyss X1 and disable the McAfee firewall. I
still get the error HTTP 500 error, which displays the following:
The website cannot display the page
Most likely causes:
The website is under maintenance.
The website has a programming error.
What you can try:
Refresh the page.
Go back to the previous page.
More information
This error (HTTP 500 Internal Server Error) means that the website you are
visiting had a server problem which prevented the webpage from displaying.
For more information about HTTP errors, see Help.
Its fining the web page OK, but its not displaying it. I'm not sure whether
or not if the ActiveHTML uninstalled is leaving some residual affect.
King
"David Wang" wrote in message
news:a87fca4f-b59a-4815-8465-76299bcc367c@a35g2000prf.google groups.com...
On Dec 23, 10:08 pm, "King Coffee" wrote:
> The error in the parent message is no longer the problem. I think I might
> of
> been running two webservers apps on my local computer.
>
> I'm learning Web design on my personal home computer, so, the URL
> ishttp://localhost/test_file.asp.
>
> I took out the server side tags to test out the file name extension.
> Therefore, I put the text below in to files: "test_file.htm" and
> "test_file.asp".
>
>
>
> Hello World
>
>
> Response.Write "Hello World from ASP"
>
>
>
> when I enter:http://localhost/test_file.htmthe web browser displays the
> body text OK.
>
> But when I enter:http://localhost/test_file.aspthe web browser displays
> the error page HTTP 500. "The website cannot display the page." Error 500
> is
> a server problem... preventing the displaying of the requested page.
>
> I'm new to IIS, and the only configuration I done was install IIS and
> added
> the two foregoing files the default directory, c:/Inetpub/wwwroot.
>
> Thanks for your assistance,
> King
Are you running personal security software on this system, and if so,
please verify that the security software supports IIS and does not
cripple it. Several personal security software are known to cripple
IIS, Scripting Engine, or COM+ to prevent IIS from functioning to
execute pages like ASP, and IIS failures would look as mysterious as
this.
Can you report exactly what is returned on the 500 error page, making
sure to disable IE's "Show Friendly HTTP Error" option so that you get
the actual 500 response from the ASP page.
What you did works for me just fine on a default XP Pro installation,
so the problem is likely caused by software on your system outside of
IIS, or some sort of misconfiguration.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: Enable ASP within IIS 5.1 (Win XP)
am 25.12.2007 11:53:17 von David Wang
Please turn off IE's "Show Friendly HTTP Errors" advanced Option. And
repost the real 500 error response.
What you are currently seeing is a sanitized page used by IE which
strips away all the useful details, so troubleshooting with IE is in
general not useful unless you turn off "Show Friendly HTTP Errors".
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 24, 10:03=A0pm, "King Coffee" wrote:
> Hi David,
>
> I can access an asp page with my old web server software (PWS: Abyss X1 an=
d
> ASP Parser: ActiveHTMl) OK. But I want to use IIS and SMTP. Nevertheless, =
=A0I
> uninstalled the ActiveHtml and Abyss X1 and disable the McAfee firewall. I=
> still get the error HTTP 500 error, which displays the following:
>
> The website cannot display the page
>
> =A0Most likely causes:
> The website is under maintenance.
> The website has a programming error.
>
> =A0 =A0What you can try:
> =A0 =A0 =A0Refresh the page.
>
> =A0 =A0 =A0Go back to the previous page.
>
> =A0 =A0 =A0More information
>
> This error (HTTP 500 Internal Server Error) means that the website you are=
> visiting had a server problem which prevented the webpage from displaying.=
>
> For more information about HTTP errors, see Help.
>
> Its fining the web page OK, but its not displaying it. I'm not sure whethe=
r
> or not if the ActiveHTML uninstalled is leaving some residual affect.
>
> King
>
> "David Wang" wrote in message
>
> news:a87fca4f-b59a-4815-8465-76299bcc367c@a35g2000prf.google groups.com...
> On Dec 23, 10:08 pm, "King Coffee" wrote:
>
>
>
>
>
> > The error in the parent message is no longer the problem. I think I migh=
t
> > of
> > been running two webservers apps on my local computer.
>
> > I'm learning Web design on my personal home computer, so, the URL
> > ishttp://localhost/test_file.asp.
>
> > I took out the server side tags to test out the file name extension.
> > Therefore, I put the text below in to files: "test_file.htm" and
> > "test_file.asp".
>
> >
> >
> > Hello World
> >
> >
> > Response.Write "Hello World from ASP"
> >
> >
>
> > when I enter:http://localhost/test_file.htmtheweb browser displays the
> > body text OK.
>
> > But when I enter:http://localhost/test_file.asptheweb browser displays
> > the error page HTTP 500. "The website cannot display the page." Error 50=
0
> > is
> > a server problem... preventing the displaying of the requested page.
>
> > I'm new to IIS, and the only configuration I done was install IIS and
> > added
> > the two foregoing files the default directory, c:/Inetpub/wwwroot.
>
> > Thanks for your assistance,
> > King
>
> Are you running personal security software on this system, and if so,
> please verify that the security software supports IIS and does not
> cripple it. Several personal security software are known to cripple
> IIS, Scripting Engine, or COM+ to prevent IIS from functioning to
> execute pages like ASP, and IIS failures would look as mysterious as
> this.
>
> Can you report exactly what is returned on the 500 error page, making
> sure to disable IE's "Show Friendly HTTP Error" option so that you get
> the actual 500 response from the ASP page.
>
> What you did works for me just fine on a default XP Pro installation,
> so the problem is likely caused by software on your system outside of
> IIS, or some sort of misconfiguration.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //- Hide quoted text -
>
> - Show quoted text -
Re: Enable ASP within IIS 5.1 (Win XP)
am 25.12.2007 23:53:09 von King Coffee
The message I get when turning off IE's "Show Friendly HTTP Errors" 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.
The administrative tool "Event Viewer" shows: "There are no items to show in
this view" for the IE's Log.
King
"David Wang" wrote in message
news:459ce45e-051e-475f-9da6-65c492093d5d@l1g2000hsa.googleg roups.com...
Please turn off IE's "Show Friendly HTTP Errors" advanced Option. And
repost the real 500 error response.
What you are currently seeing is a sanitized page used by IE which
strips away all the useful details, so troubleshooting with IE is in
general not useful unless you turn off "Show Friendly HTTP Errors".
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: Enable ASP within IIS 5.1 (Win XP)
am 27.12.2007 00:36:22 von David Wang
Regular HTTP errors servicing web pages will not show up in the event
log, so I do not expect anything in Event Logs, certainly nothing in
IE's log since the problem happened on the server with no relation to
the client.
Please report the IIS web log entry for this failing request. If the
request was indeed handled by ASP, there will be a status code for
troubleshooting.
You also have not provided the actual Application Mapping defined
for .asp on your server installation. It is necessary to determine if
you actually have an issue with ASP.DLL or something else.
I need data for all four details that I asked for in my first
response.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 25, 2:53=A0pm, "King Coffee" wrote:
> The message I get when turning off IE's "Show Friendly HTTP Errors" is:
>
> Server Application Error
> The server has encountered an error while loading an application during th=
e
> processing of your request. Please refer to the event log for more detail
> information. Please contact the server administrator for assistance.
>
> The administrative tool "Event Viewer" shows: "There are no items to show =
in
> this view" for the IE's Log.
>
> King
>
> "David Wang" wrote in message
>
> news:459ce45e-051e-475f-9da6-65c492093d5d@l1g2000hsa.googleg roups.com...
> Please turn off IE's "Show Friendly HTTP Errors" advanced Option. And
> repost the real 500 error response.
>
> What you are currently seeing is a sanitized page used by IE which
> strips away all the useful details, so troubleshooting with IE is in
> general not useful unless you turn off "Show Friendly HTTP Errors".
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //
Re: Enable ASP within IIS 5.1 (Win XP)
am 28.12.2007 00:04:27 von King Coffee
The IIS Default Web Site Application Configuration Mapping for Extension
".asp" is: Executable Path = "C:\WINDOWS\system32\inetsrv\asp.dll" and the
Verbs = "GET,HEAD,POST,TRACE"
IIS also fails for .aspx files. Here is the Executable Path =
"c:\windows\Microsoft.net\framework\v2.0.50727
\aspnet_isapi.dll" and the Verbs = "GET,HEAD,POST,DEBUG"
There are no ISAPI Filters .dlls for the Default Web Site.
The only iis log file I could find was c:\windows\iis6.log. But it did not
contain any networking entries.
The unfriendly web page 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.
The only personal security software I'm running is McAfee antivirus.
King
"David Wang" wrote in message
news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.googleg roups.com...
Regular HTTP errors servicing web pages will not show up in the event
log, so I do not expect anything in Event Logs, certainly nothing in
IE's log since the problem happened on the server with no relation to
the client.
Please report the IIS web log entry for this failing request. If the
request was indeed handled by ASP, there will be a status code for
troubleshooting.
You also have not provided the actual Application Mapping defined
for .asp on your server installation. It is necessary to determine if
you actually have an issue with ASP.DLL or something else.
I need data for all four details that I asked for in my first
response.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
Re: Enable ASP within IIS 5.1 (Win XP)
am 29.12.2007 03:16:36 von David Wang
You need to first check if McAfee is corrupting and preventing ASP/
ASP.Net from running because it has been known to do exactly that. If
it is, you need to contact McAfee product support on how it properly
supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
failing, it is much more likely that something external is crippling
your machine and not an IIS issue.
If you conclude that it is still an IIS issue:
%windir%\iis6.log is the IIS setup log file, which is not applicable
here.
%windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files for
each request to the Default Website
ISAPI Filters are configured in both global (under "Web Sites" node)
and site (under "Default Web Site" node). Please provide info on both.
IIS on XP Pro has global ISAPI Filters by default.
I need the Application Mapping Configuration for the .asp and .aspx
extensions on the actual URL of your request. i.e. If you request
http://localhost/vdir/page.asp , then I need the Application Mapping
Configuration for /vdir . Only if you don't have an application or
vdir at /vdir would the setting from "Default Web Site" be applicable.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 27, 3:04=A0pm, "King Coffee" wrote:
> The IIS Default Web Site Application Configuration Mapping for Extension
> ".asp" is: Executable Path =3D =A0"C:\WINDOWS\system32\inetsrv\asp.dll" an=
d the
> Verbs =3D "GET,HEAD,POST,TRACE"
>
> IIS also fails for .aspx files. Here is the Executable Path =3D
> "c:\windows\Microsoft.net\framework\v2.0.50727
>
> \aspnet_isapi.dll" and the Verbs =3D "GET,HEAD,POST,DEBUG"
>
> There are no ISAPI Filters .dlls for the Default Web Site.
>
> The only iis log file I could find was c:\windows\iis6.log. =A0But it did =
not
> contain any networking entries.
>
> The unfriendly web page error is:
>
> Server Application Error
> The server has encountered an error while loading an application during th=
e
> processing of your request. Please refer to the event log for more detail
> information. Please contact the server administrator for assistance.
>
> The only personal security software I'm running is McAfee antivirus.
>
> King
>
> "David Wang" wrote in message
>
> news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.googleg roups.com...
> Regular HTTP errors servicing web pages will not show up in the event
> log, so I do not expect anything in Event Logs, certainly nothing in
> IE's log since the problem happened on the server with no relation to
> the client.
>
> Please report the IIS web log entry for this failing request. If the
> request was indeed handled by ASP, there will be a status code for
> troubleshooting.
>
> You also have not provided the actual Application Mapping defined
> for .asp on your server installation. It is necessary to determine if
> you actually have an issue with ASP.DLL or something else.
>
> I need data for all four details that I asked for in my first
> response.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //
Re: Enable ASP within IIS 5.1 (Win XP)
am 29.12.2007 22:13:32 von King Coffee
Hi David,
I wrote to the McAfee support forum group (for my current version of McAfee)
they wrote back with the response: I have not heard of this issue before in
this forum. Check for malware. I checked for malware using a free version of
SUPERAntiSpy. No malware was detected. However, then I used a third party
PWS with ActiveHTML the asp files run fine.
I put the text below into two files: "test_asp.htm" and "test_asp.asp".
Hello World
Response.Write "Hello World from ASP"
I place the two files the IIS default root directory: "c:\Inetpub\wwwroot".
when I enter: http://localhost/test_asp.htm the web browser displays the
body text OK.
But when I enter: http://localhost/test_asp.asp the web browser displays the
error page HTTP 500.
Note, I also ran files /iisHelp, /job/index.htm, and /test_asp_Net.aspx. All
the files were found OK.
The IIS log file contain the following:
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2007-12-29 20:18:20
#Fields: time c-ip cs-method cs-uri-stem sc-status
20:18:20 127.0.0.1 GET /iisHelp/ 302
20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
20:18:39 127.0.0.1 GET /jobs/index.htm 304
20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
20:19:01 127.0.0.1 GET /test_asp.htm 304
20:19:20 127.0.0.1 GET /test_asp.asp 500
20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
King
"David Wang" wrote in message
news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.google groups.com...
You need to first check if McAfee is corrupting and preventing ASP/
ASP.Net from running because it has been known to do exactly that. If
it is, you need to contact McAfee product support on how it properly
supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
failing, it is much more likely that something external is crippling
your machine and not an IIS issue.
If you conclude that it is still an IIS issue:
%windir%\iis6.log is the IIS setup log file, which is not applicable
here.
%windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files for
each request to the Default Website
ISAPI Filters are configured in both global (under "Web Sites" node)
and site (under "Default Web Site" node). Please provide info on both.
IIS on XP Pro has global ISAPI Filters by default.
I need the Application Mapping Configuration for the .asp and .aspx
extensions on the actual URL of your request. i.e. If you request
http://localhost/vdir/page.asp , then I need the Application Mapping
Configuration for /vdir . Only if you don't have an application or
vdir at /vdir would the setting from "Default Web Site" be applicable.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 27, 3:04 pm, "King Coffee" wrote:
> The IIS Default Web Site Application Configuration Mapping for Extension
> ".asp" is: Executable Path = "C:\WINDOWS\system32\inetsrv\asp.dll" and the
> Verbs = "GET,HEAD,POST,TRACE"
>
> IIS also fails for .aspx files. Here is the Executable Path =
> "c:\windows\Microsoft.net\framework\v2.0.50727
>
> \aspnet_isapi.dll" and the Verbs = "GET,HEAD,POST,DEBUG"
>
> There are no ISAPI Filters .dlls for the Default Web Site.
>
> The only iis log file I could find was c:\windows\iis6.log. But it did not
> contain any networking entries.
>
> The unfriendly web page 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.
>
> The only personal security software I'm running is McAfee antivirus.
>
> King
>
> "David Wang" wrote in message
>
> news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.googleg roups.com...
> Regular HTTP errors servicing web pages will not show up in the event
> log, so I do not expect anything in Event Logs, certainly nothing in
> IE's log since the problem happened on the server with no relation to
> the client.
>
> Please report the IIS web log entry for this failing request. If the
> request was indeed handled by ASP, there will be a status code for
> troubleshooting.
>
> You also have not provided the actual Application Mapping defined
> for .asp on your server installation. It is necessary to determine if
> you actually have an issue with ASP.DLL or something else.
>
> I need data for all four details that I asked for in my first
> response.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //
Re: Enable ASP within IIS 5.1 (Win XP)
am 30.12.2007 02:07:51 von David Wang
Can you please provide your configured ISAPI Filters at the global
level (at "Web Sites" node)
It is still something on your server preventing .asp and .aspx files
from executing, and it's not IIS itself. This just does not seem like
a bug/problem within IIS, even though it does not run ASP/ASP.Net for
you right now.
If you need .asp to run, I suggest you stick with your existing
method.
Here's what you have shown --
with the same static text (no scripting), when placed in a resource
with .asp extension, causes a "500" to be returned. ASP.DLL, when it
encounters such "scriptless" files, simply return the contents and do
no script processing.
Thus, I expect the same result between /test_asp.asp and /
test_asp.htm , but that is not the case.
Do you have any ISAPI Filters (check both "Web Sites" and "Default Web
Site" nodes) which could be returning 500 on its own?
I can just say that is suspicious that .ASPX fails with 500 as well --
because it is very rare to have both ASP.DLL and ASPNET_ISAPI.DLL to
fail with similarly suspicious 500.
Can you change the website to run in "Low" Isolation instead of the
default "Medium"? I want to take COM+ out of the picture -- even
though for ASP.DLL it would be loaded in DLLHOST.EXE in Medium
Isolation and for ASPNET_ISAPI.DLL it would be loaded in INETINFO.EXE
no matter the Isolation setting since it is in the list of
"InProcessIsapi"
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 29, 1:13=A0pm, "King Coffee" wrote:
> Hi David,
>
> I wrote to the McAfee support forum group (for my current version of McAfe=
e)
> they wrote back with the response: I have =A0not heard of this issue befor=
e in
> this forum. Check for malware. I checked for malware using a free version =
of
> SUPERAntiSpy. No malware was detected. However, then I used a third party
> PWS with ActiveHTML the asp files run fine.
>
> I put the text below into two files: "test_asp.htm" and "test_asp.asp".
>
>
>
> =A0Hello World
>
>
> =A0Response.Write "Hello World from ASP"
>
>
>
> I place the two files the IIS default root directory: "c:\Inetpub\wwwroot"=
..
>
> when I enter:http://localhost/test_asp.htmthe web browser displays the
> body text OK.
>
> But when I enter:http://localhost/test_asp.aspthe web browser displays the=
> error page HTTP 500.
>
> Note, I also ran files /iisHelp, /job/index.htm, and /test_asp_Net.aspx. A=
ll
> the files were found OK.
>
> The IIS log file contain the following:
>
> #Software: Microsoft Internet Information Services 5.1
> #Version: 1.0
> #Date: 2007-12-29 20:18:20
> #Fields: time c-ip cs-method cs-uri-stem sc-status
> 20:18:20 127.0.0.1 GET /iisHelp/ 302
> 20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
> 20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
> 20:18:39 127.0.0.1 GET /jobs/index.htm 304
> 20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
> 20:19:01 127.0.0.1 GET /test_asp.htm 304
> 20:19:20 127.0.0.1 GET /test_asp.asp 500
> 20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
>
> King
>
> "David Wang" wrote in message
>
> news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.google groups.com...
> You need to first check if McAfee is corrupting and preventing ASP/
> ASP.Net from running because it has been known to do exactly that. If
> it is, you need to contact McAfee product support on how it properly
> supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
> failing, it is much more likely that something external is crippling
> your machine and not an IIS issue.
>
> If you conclude that it is still an IIS issue:
>
> %windir%\iis6.log is the IIS setup log file, which is not applicable
> here.
>
> %windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files for
> each request to the Default Website
>
> ISAPI Filters are configured in both global (under "Web Sites" node)
> and site (under "Default Web Site" node). Please provide info on both.
> IIS on XP Pro has global ISAPI Filters by default.
>
> I need the Application Mapping Configuration for the .asp and .aspx
> extensions on the actual URL of your request. i.e. If you requesthttp://lo=
calhost/vdir/page.asp, then I need the Application Mapping
> Configuration for /vdir . Only if you don't have an application or
> vdir at /vdir would the setting from "Default Web Site" be applicable.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //
>
> On Dec 27, 3:04 pm, "King Coffee" wrote:
>
>
>
> > The IIS Default Web Site Application Configuration Mapping for Extension=
> > ".asp" is: Executable Path =3D "C:\WINDOWS\system32\inetsrv\asp.dll" and=
the
> > Verbs =3D "GET,HEAD,POST,TRACE"
>
> > IIS also fails for .aspx files. Here is the Executable Path =3D
> > "c:\windows\Microsoft.net\framework\v2.0.50727
>
> > \aspnet_isapi.dll" and the Verbs =3D "GET,HEAD,POST,DEBUG"
>
> > There are no ISAPI Filters .dlls for the Default Web Site.
>
> > The only iis log file I could find was c:\windows\iis6.log. But it did n=
ot
> > contain any networking entries.
>
> > The unfriendly web page 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 detai=
l
> > information. Please contact the server administrator for assistance.
>
> > The only personal security software I'm running is McAfee antivirus.
>
> > King
>
> > "David Wang" wrote in message
>
> >news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.google groups.com...
> > Regular HTTP errors servicing web pages will not show up in the event
> > log, so I do not expect anything in Event Logs, certainly nothing in
> > IE's log since the problem happened on the server with no relation to
> > the client.
>
> > Please report the IIS web log entry for this failing request. If the
> > request was indeed handled by ASP, there will be a status code for
> > troubleshooting.
>
> > You also have not provided the actual Application Mapping defined
> > for .asp on your server installation. It is necessary to determine if
> > you actually have an issue with ASP.DLL or something else.
>
> > I need data for all four details that I asked for in my first
> > response.
>
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> > //- Hide quoted text -
>
> - Show quoted text -
Re: Enable ASP within IIS 5.1 (Win XP)
am 30.12.2007 10:55:56 von King Coffee
ISAPI Filters for Web Sites (parent):
Status Filter Name Priority
up/green sspifilt High
up/green md5filt High
up/green pwsdata Low
up/green fpexedll.dll Low
up/green ASP.NET_2.050727.0 Low
There are NO ISAPI Filters for the Default Web Site:
I do not know how to change the website to run in "Low" Isolation, or
determine its current level.
King
"David Wang" wrote in message
news:491d7c31-e7e7-4867-89ac-1dbf8b71dbe9@s8g2000prg.googleg roups.com...
Can you please provide your configured ISAPI Filters at the global
level (at "Web Sites" node)
It is still something on your server preventing .asp and .aspx files
from executing, and it's not IIS itself. This just does not seem like
a bug/problem within IIS, even though it does not run ASP/ASP.Net for
you right now.
If you need .asp to run, I suggest you stick with your existing
method.
Here's what you have shown --
with the same static text (no scripting), when placed in a resource
with .asp extension, causes a "500" to be returned. ASP.DLL, when it
encounters such "scriptless" files, simply return the contents and do
no script processing.
Thus, I expect the same result between /test_asp.asp and /
test_asp.htm , but that is not the case.
Do you have any ISAPI Filters (check both "Web Sites" and "Default Web
Site" nodes) which could be returning 500 on its own?
I can just say that is suspicious that .ASPX fails with 500 as well --
because it is very rare to have both ASP.DLL and ASPNET_ISAPI.DLL to
fail with similarly suspicious 500.
Can you change the website to run in "Low" Isolation instead of the
default "Medium"? I want to take COM+ out of the picture -- even
though for ASP.DLL it would be loaded in DLLHOST.EXE in Medium
Isolation and for ASPNET_ISAPI.DLL it would be loaded in INETINFO.EXE
no matter the Isolation setting since it is in the list of
"InProcessIsapi"
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 29, 1:13 pm, "King Coffee" wrote:
> Hi David,
>
> I wrote to the McAfee support forum group (for my current version of
> McAfee)
> they wrote back with the response: I have not heard of this issue before
> in
> this forum. Check for malware. I checked for malware using a free version
> of
> SUPERAntiSpy. No malware was detected. However, then I used a third party
> PWS with ActiveHTML the asp files run fine.
>
> I put the text below into two files: "test_asp.htm" and "test_asp.asp".
>
>
>
> Hello World
>
>
> Response.Write "Hello World from ASP"
>
>
>
> I place the two files the IIS default root directory:
> "c:\Inetpub\wwwroot".
>
> when I enter:http://localhost/test_asp.htmthe web browser displays the
> body text OK.
>
> But when I enter:http://localhost/test_asp.aspthe web browser displays the
> error page HTTP 500.
>
> Note, I also ran files /iisHelp, /job/index.htm, and /test_asp_Net.aspx.
> All
> the files were found OK.
>
> The IIS log file contain the following:
>
> #Software: Microsoft Internet Information Services 5.1
> #Version: 1.0
> #Date: 2007-12-29 20:18:20
> #Fields: time c-ip cs-method cs-uri-stem sc-status
> 20:18:20 127.0.0.1 GET /iisHelp/ 302
> 20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
> 20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
> 20:18:39 127.0.0.1 GET /jobs/index.htm 304
> 20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
> 20:19:01 127.0.0.1 GET /test_asp.htm 304
> 20:19:20 127.0.0.1 GET /test_asp.asp 500
> 20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
>
> King
>
> "David Wang" wrote in message
>
> news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.google groups.com...
> You need to first check if McAfee is corrupting and preventing ASP/
> ASP.Net from running because it has been known to do exactly that. If
> it is, you need to contact McAfee product support on how it properly
> supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
> failing, it is much more likely that something external is crippling
> your machine and not an IIS issue.
>
> If you conclude that it is still an IIS issue:
>
> %windir%\iis6.log is the IIS setup log file, which is not applicable
> here.
>
> %windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files for
> each request to the Default Website
>
> ISAPI Filters are configured in both global (under "Web Sites" node)
> and site (under "Default Web Site" node). Please provide info on both.
> IIS on XP Pro has global ISAPI Filters by default.
>
> I need the Application Mapping Configuration for the .asp and .aspx
> extensions on the actual URL of your request. i.e. If you
> requesthttp://localhost/vdir/page.asp, then I need the Application Mapping
> Configuration for /vdir . Only if you don't have an application or
> vdir at /vdir would the setting from "Default Web Site" be applicable.
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //
>
> On Dec 27, 3:04 pm, "King Coffee" wrote:
>
>
>
> > The IIS Default Web Site Application Configuration Mapping for Extension
> > ".asp" is: Executable Path = "C:\WINDOWS\system32\inetsrv\asp.dll" and
> > the
> > Verbs = "GET,HEAD,POST,TRACE"
>
> > IIS also fails for .aspx files. Here is the Executable Path =
> > "c:\windows\Microsoft.net\framework\v2.0.50727
>
> > \aspnet_isapi.dll" and the Verbs = "GET,HEAD,POST,DEBUG"
>
> > There are no ISAPI Filters .dlls for the Default Web Site.
>
> > The only iis log file I could find was c:\windows\iis6.log. But it did
> > not
> > contain any networking entries.
>
> > The unfriendly web page 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.
>
> > The only personal security software I'm running is McAfee antivirus.
>
> > King
>
> > "David Wang" wrote in message
>
> >news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.google groups.com...
> > Regular HTTP errors servicing web pages will not show up in the event
> > log, so I do not expect anything in Event Logs, certainly nothing in
> > IE's log since the problem happened on the server with no relation to
> > the client.
>
> > Please report the IIS web log entry for this failing request. If the
> > request was indeed handled by ASP, there will be a status code for
> > troubleshooting.
>
> > You also have not provided the actual Application Mapping defined
> > for .asp on your server installation. It is necessary to determine if
> > you actually have an issue with ASP.DLL or something else.
>
> > I need data for all four details that I asked for in my first
> > response.
>
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> > //- Hide quoted text -
>
> - Show quoted text -
Re: Enable ASP within IIS 5.1 (Win XP)
am 30.12.2007 22:43:07 von David Wang
You can change the Isolation mode in the "Home Directory" or "Virtual
Directory" tab, right above where you can click on the "Configuration"
button to look up Application Mapping.
There aren't any unexpected filters configured, other than pwsdata not
really being necessary on XP Pro other than for compatibility on
upgrade from Win9x. But it should not be causing this.
Hmm... this seems really weird. There aren't any unexpected ISAPI
Filters running and causing issues, and ISAPI Extensions mapped
to .asp and .aspx seem alright. The main thing common between .asp
and .aspx is that they are both ISAPI Extension DLLs... and I can't
think of any common mechanism to fail.
- ASP.DLL will load up the Windows Script Engines in whatever process
it is in (inetinfo.exe in Low Isolation, dllhost.exe in Medium/High
Isolation)
- ASP.Net queues requests into the appropriate App Domain in some
aspnet_wp.exe
I want to run ASP in Low Isolation to take COM+ out of the equation --
no more extra process hops.
Can you also log the cs-uri-query field -- I believe ASP adds extra
error information on that field for diagnosis, so it would be useful
information, especially for a 500 error.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 30, 1:55=A0am, "King Coffee" wrote:
> ISAPI Filters for Web Sites (parent):
>
> Status =A0 =A0 =A0Filter Name =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Priority
> up/green =A0 sspifilt =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0H=
igh
> up/green =A0 md5filt =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 High
> up/green =A0 pwsdata =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 Low
> up/green =A0 fpexedll.dll =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0Low
> up/green =A0 ASP.NET_2.050727.0 Low
>
> There are NO ISAPI Filters for the Default Web Site:
>
> I do not know how to change the website to run in "Low" Isolation, or
> determine its current level.
>
> King
>
> "David Wang" wrote in message
>
> news:491d7c31-e7e7-4867-89ac-1dbf8b71dbe9@s8g2000prg.googleg roups.com...
> Can you please provide your configured ISAPI Filters at the global
> level (at "Web Sites" node)
>
> It is still something on your server preventing .asp and .aspx files
> from executing, and it's not IIS itself. This just does not seem like
> a bug/problem within IIS, even though it does not run ASP/ASP.Net for
> you right now.
>
> If you need .asp to run, I suggest you stick with your existing
> method.
>
> Here's what you have shown --
> with the same static text (no scripting), when placed in a resource
> with .asp extension, causes a "500" to be returned. ASP.DLL, when it
> encounters such "scriptless" files, simply return the contents and do
> no script processing.
>
> Thus, I expect the same result between /test_asp.asp and /
> test_asp.htm , but that is not the case.
>
> Do you have any ISAPI Filters (check both "Web Sites" and "Default Web
> Site" nodes) which could be returning 500 on its own?
>
> I can just say that is suspicious that .ASPX fails with 500 as well --
> because it is very rare to have both ASP.DLL and ASPNET_ISAPI.DLL to
> fail with similarly suspicious 500.
>
> Can you change the website to run in "Low" Isolation instead of the
> default "Medium"? I want to take COM+ out of the picture -- even
> though for ASP.DLL it would be loaded in DLLHOST.EXE in Medium
> Isolation and for ASPNET_ISAPI.DLL it would be loaded in INETINFO.EXE
> no matter the Isolation setting since it is in the list of
> "InProcessIsapi"
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //
>
> On Dec 29, 1:13 pm, "King Coffee" wrote:
>
>
>
> > Hi David,
>
> > I wrote to the McAfee support forum group (for my current version of
> > McAfee)
> > they wrote back with the response: I have not heard of this issue before=
> > in
> > this forum. Check for malware. I checked for malware using a free versio=
n
> > of
> > SUPERAntiSpy. No malware was detected. However, then I used a third part=
y
> > PWS with ActiveHTML the asp files run fine.
>
> > I put the text below into two files: "test_asp.htm" and "test_asp.asp".
>
> >
> >
> > Hello World
> >
> >
> > Response.Write "Hello World from ASP"
> >
> >
>
> > I place the two files the IIS default root directory:
> > "c:\Inetpub\wwwroot".
>
> > when I enter:http://localhost/test_asp.htmtheweb browser displays the
> > body text OK.
>
> > But when I enter:http://localhost/test_asp.asptheweb browser displays th=
e
> > error page HTTP 500.
>
> > Note, I also ran files /iisHelp, /job/index.htm, and /test_asp_Net.aspx.=
> > All
> > the files were found OK.
>
> > The IIS log file contain the following:
>
> > #Software: Microsoft Internet Information Services 5.1
> > #Version: 1.0
> > #Date: 2007-12-29 20:18:20
> > #Fields: time c-ip cs-method cs-uri-stem sc-status
> > 20:18:20 127.0.0.1 GET /iisHelp/ 302
> > 20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
> > 20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
> > 20:18:39 127.0.0.1 GET /jobs/index.htm 304
> > 20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
> > 20:19:01 127.0.0.1 GET /test_asp.htm 304
> > 20:19:20 127.0.0.1 GET /test_asp.asp 500
> > 20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
>
> > King
>
> > "David Wang" wrote in message
>
> >news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.googl egroups.com...=
> > You need to first check if McAfee is corrupting and preventing ASP/
> > ASP.Net from running because it has been known to do exactly that. If
> > it is, you need to contact McAfee product support on how it properly
> > supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
> > failing, it is much more likely that something external is crippling
> > your machine and not an IIS issue.
>
> > If you conclude that it is still an IIS issue:
>
> > %windir%\iis6.log is the IIS setup log file, which is not applicable
> > here.
>
> > %windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files for
> > each request to the Default Website
>
> > ISAPI Filters are configured in both global (under "Web Sites" node)
> > and site (under "Default Web Site" node). Please provide info on both.
> > IIS on XP Pro has global ISAPI Filters by default.
>
> > I need the Application Mapping Configuration for the .asp and .aspx
> > extensions on the actual URL of your request. i.e. If you
> > requesthttp://localhost/vdir/page.asp, then I need the Application Mappi=
ng
> > Configuration for /vdir . Only if you don't have an application or
> > vdir at /vdir would the setting from "Default Web Site" be applicable.
>
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> > //
>
> > On Dec 27, 3:04 pm, "King Coffee" wrote:
>
> > > The IIS Default Web Site Application Configuration Mapping for Extensi=
on
> > > ".asp" is: Executable Path =3D "C:\WINDOWS\system32\inetsrv\asp.dll" a=
nd
> > > the
> > > Verbs =3D "GET,HEAD,POST,TRACE"
>
> > > IIS also fails for .aspx files. Here is the Executable Path =3D
> > > "c:\windows\Microsoft.net\framework\v2.0.50727
>
> > > \aspnet_isapi.dll" and the Verbs =3D "GET,HEAD,POST,DEBUG"
>
> > > There are no ISAPI Filters .dlls for the Default Web Site.
>
> > > The only iis log file I could find was c:\windows\iis6.log. But it did=
> > > not
> > > contain any networking entries.
>
> > > The unfriendly web page error is:
>
> > > Server Application Error
> > > The server has encountered an error while loading an application durin=
g
> > > the
> > > processing of your request. Please refer to the event log for more
> > > detail
> > > information. Please contact the server administrator for assistance.
>
> > > The only personal security software I'm running is McAfee antivirus.
>
> > > King
>
> > > "David Wang" wrote in message
>
> > >news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.google groups.com..=
..
> > > Regular HTTP errors servicing web pages will not show up in the event
> > > log, so I do not expect anything in Event Logs, certainly nothing in
> > > IE's log since the problem happened on the server with no relation to
> > > the client.
>
> > > Please report the IIS web log entry for this failing request. If the
> > > request was indeed handled by ASP, there will be a status code for
> > > troubleshooting.
>
> > > You also have not provided the actual Application Mapping defined
> > > for .asp on your server installation. It is necessary to determine if
> > > you actually have an issue with ASP.DLL or something else.
>
> > > I need data for all four details that I asked for in my first
> > > response.
>
> > > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> > > //- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
Re: Enable ASP within IIS 5.1 (Win XP)
am 31.12.2007 02:32:30 von King Coffee
I enabled cs-uri-query and set the Application Protection to Low(IIS
Process). The IIS log is as follows:
#Software: Microsoft Internet Information Services 5.1
#Version: 1.0
#Date: 2007-12-31 01:23:46
#Fields: time c-ip cs-method cs-uri-stem cs-uri-query sc-status
01:23:46 127.0.0.1 GET /test_asp.htm - 304
01:23:55 127.0.0.1 GET /test_asp.asp - 500
01:24:08 127.0.0.1 GET /test_asp_Net.aspx - 500
01:24:15 127.0.0.1 GET /iisHelp/ - 302
01:24:15 127.0.0.1 GET /iisHelp/Default.htm - 304
01:24:15 127.0.0.1 GET /iisHelp/iis/misc/default.asp - 500
King
"David Wang" wrote in message
news:38239a6a-bb03-4ae7-ae7d-84209c8fcb9a@c4g2000hsg.googleg roups.com...
You can change the Isolation mode in the "Home Directory" or "Virtual
Directory" tab, right above where you can click on the "Configuration"
button to look up Application Mapping.
There aren't any unexpected filters configured, other than pwsdata not
really being necessary on XP Pro other than for compatibility on
upgrade from Win9x. But it should not be causing this.
Hmm... this seems really weird. There aren't any unexpected ISAPI
Filters running and causing issues, and ISAPI Extensions mapped
to .asp and .aspx seem alright. The main thing common between .asp
and .aspx is that they are both ISAPI Extension DLLs... and I can't
think of any common mechanism to fail.
- ASP.DLL will load up the Windows Script Engines in whatever process
it is in (inetinfo.exe in Low Isolation, dllhost.exe in Medium/High
Isolation)
- ASP.Net queues requests into the appropriate App Domain in some
aspnet_wp.exe
I want to run ASP in Low Isolation to take COM+ out of the equation --
no more extra process hops.
Can you also log the cs-uri-query field -- I believe ASP adds extra
error information on that field for diagnosis, so it would be useful
information, especially for a 500 error.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 30, 1:55 am, "King Coffee" wrote:
> ISAPI Filters for Web Sites (parent):
>
> Status Filter Name Priority
> up/green sspifilt High
> up/green md5filt High
> up/green pwsdata Low
> up/green fpexedll.dll Low
> up/green ASP.NET_2.050727.0 Low
>
> There are NO ISAPI Filters for the Default Web Site:
>
> I do not know how to change the website to run in "Low" Isolation, or
> determine its current level.
>
> King
>
> "David Wang" wrote in message
>
> news:491d7c31-e7e7-4867-89ac-1dbf8b71dbe9@s8g2000prg.googleg roups.com...
> Can you please provide your configured ISAPI Filters at the global
> level (at "Web Sites" node)
>
> It is still something on your server preventing .asp and .aspx files
> from executing, and it's not IIS itself. This just does not seem like
> a bug/problem within IIS, even though it does not run ASP/ASP.Net for
> you right now.
>
> If you need .asp to run, I suggest you stick with your existing
> method.
>
> Here's what you have shown --
> with the same static text (no scripting), when placed in a resource
> with .asp extension, causes a "500" to be returned. ASP.DLL, when it
> encounters such "scriptless" files, simply return the contents and do
> no script processing.
>
> Thus, I expect the same result between /test_asp.asp and /
> test_asp.htm , but that is not the case.
>
> Do you have any ISAPI Filters (check both "Web Sites" and "Default Web
> Site" nodes) which could be returning 500 on its own?
>
> I can just say that is suspicious that .ASPX fails with 500 as well --
> because it is very rare to have both ASP.DLL and ASPNET_ISAPI.DLL to
> fail with similarly suspicious 500.
>
> Can you change the website to run in "Low" Isolation instead of the
> default "Medium"? I want to take COM+ out of the picture -- even
> though for ASP.DLL it would be loaded in DLLHOST.EXE in Medium
> Isolation and for ASPNET_ISAPI.DLL it would be loaded in INETINFO.EXE
> no matter the Isolation setting since it is in the list of
> "InProcessIsapi"
>
> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> //
>
> On Dec 29, 1:13 pm, "King Coffee" wrote:
>
>
>
> > Hi David,
>
> > I wrote to the McAfee support forum group (for my current version of
> > McAfee)
> > they wrote back with the response: I have not heard of this issue before
> > in
> > this forum. Check for malware. I checked for malware using a free
> > version
> > of
> > SUPERAntiSpy. No malware was detected. However, then I used a third
> > party
> > PWS with ActiveHTML the asp files run fine.
>
> > I put the text below into two files: "test_asp.htm" and "test_asp.asp".
>
> >
> >
> > Hello World
> >
> >
> > Response.Write "Hello World from ASP"
> >
> >
>
> > I place the two files the IIS default root directory:
> > "c:\Inetpub\wwwroot".
>
> > when I enter:http://localhost/test_asp.htmtheweb browser displays the
> > body text OK.
>
> > But when I enter:http://localhost/test_asp.asptheweb browser displays
> > the
> > error page HTTP 500.
>
> > Note, I also ran files /iisHelp, /job/index.htm, and /test_asp_Net.aspx.
> > All
> > the files were found OK.
>
> > The IIS log file contain the following:
>
> > #Software: Microsoft Internet Information Services 5.1
> > #Version: 1.0
> > #Date: 2007-12-29 20:18:20
> > #Fields: time c-ip cs-method cs-uri-stem sc-status
> > 20:18:20 127.0.0.1 GET /iisHelp/ 302
> > 20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
> > 20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
> > 20:18:39 127.0.0.1 GET /jobs/index.htm 304
> > 20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
> > 20:19:01 127.0.0.1 GET /test_asp.htm 304
> > 20:19:20 127.0.0.1 GET /test_asp.asp 500
> > 20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
>
> > King
>
> > "David Wang" wrote in message
>
> >news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.googl egroups.com...
> > You need to first check if McAfee is corrupting and preventing ASP/
> > ASP.Net from running because it has been known to do exactly that. If
> > it is, you need to contact McAfee product support on how it properly
> > supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
> > failing, it is much more likely that something external is crippling
> > your machine and not an IIS issue.
>
> > If you conclude that it is still an IIS issue:
>
> > %windir%\iis6.log is the IIS setup log file, which is not applicable
> > here.
>
> > %windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files for
> > each request to the Default Website
>
> > ISAPI Filters are configured in both global (under "Web Sites" node)
> > and site (under "Default Web Site" node). Please provide info on both.
> > IIS on XP Pro has global ISAPI Filters by default.
>
> > I need the Application Mapping Configuration for the .asp and .aspx
> > extensions on the actual URL of your request. i.e. If you
> > requesthttp://localhost/vdir/page.asp, then I need the Application
> > Mapping
> > Configuration for /vdir . Only if you don't have an application or
> > vdir at /vdir would the setting from "Default Web Site" be applicable.
>
> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> > //
>
> > On Dec 27, 3:04 pm, "King Coffee" wrote:
>
> > > The IIS Default Web Site Application Configuration Mapping for
> > > Extension
> > > ".asp" is: Executable Path = "C:\WINDOWS\system32\inetsrv\asp.dll" and
> > > the
> > > Verbs = "GET,HEAD,POST,TRACE"
>
> > > IIS also fails for .aspx files. Here is the Executable Path =
> > > "c:\windows\Microsoft.net\framework\v2.0.50727
>
> > > \aspnet_isapi.dll" and the Verbs = "GET,HEAD,POST,DEBUG"
>
> > > There are no ISAPI Filters .dlls for the Default Web Site.
>
> > > The only iis log file I could find was c:\windows\iis6.log. But it did
> > > not
> > > contain any networking entries.
>
> > > The unfriendly web page 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.
>
> > > The only personal security software I'm running is McAfee antivirus.
>
> > > King
>
> > > "David Wang" wrote in message
>
> > >news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.google groups.com...
> > > Regular HTTP errors servicing web pages will not show up in the event
> > > log, so I do not expect anything in Event Logs, certainly nothing in
> > > IE's log since the problem happened on the server with no relation to
> > > the client.
>
> > > Please report the IIS web log entry for this failing request. If the
> > > request was indeed handled by ASP, there will be a status code for
> > > troubleshooting.
>
> > > You also have not provided the actual Application Mapping defined
> > > for .asp on your server installation. It is necessary to determine if
> > > you actually have an issue with ASP.DLL or something else.
>
> > > I need data for all four details that I asked for in my first
> > > response.
>
> > > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> > > //- Hide quoted text -
>
> > - Show quoted text -- Hide quoted text -
>
> - Show quoted text -
Re: Enable ASP within IIS 5.1 (Win XP)
am 31.12.2007 02:47:44 von King Coffee
I forgot to mention -- The HTTP 500 message did not change.
King
"King Coffee" wrote in message
news:ebp2a00SIHA.5164@TK2MSFTNGP03.phx.gbl...
>I enabled cs-uri-query and set the Application Protection to Low(IIS
>Process). The IIS log is as follows:
>
> #Software: Microsoft Internet Information Services 5.1
> #Version: 1.0
> #Date: 2007-12-31 01:23:46
> #Fields: time c-ip cs-method cs-uri-stem cs-uri-query sc-status
> 01:23:46 127.0.0.1 GET /test_asp.htm - 304
> 01:23:55 127.0.0.1 GET /test_asp.asp - 500
> 01:24:08 127.0.0.1 GET /test_asp_Net.aspx - 500
> 01:24:15 127.0.0.1 GET /iisHelp/ - 302
> 01:24:15 127.0.0.1 GET /iisHelp/Default.htm - 304
> 01:24:15 127.0.0.1 GET /iisHelp/iis/misc/default.asp - 500
>
> King
>
>
> "David Wang" wrote in message
> news:38239a6a-bb03-4ae7-ae7d-84209c8fcb9a@c4g2000hsg.googleg roups.com...
> You can change the Isolation mode in the "Home Directory" or "Virtual
> Directory" tab, right above where you can click on the "Configuration"
> button to look up Application Mapping.
>
> There aren't any unexpected filters configured, other than pwsdata not
> really being necessary on XP Pro other than for compatibility on
> upgrade from Win9x. But it should not be causing this.
>
> Hmm... this seems really weird. There aren't any unexpected ISAPI
> Filters running and causing issues, and ISAPI Extensions mapped
> to .asp and .aspx seem alright. The main thing common between .asp
> and .aspx is that they are both ISAPI Extension DLLs... and I can't
> think of any common mechanism to fail.
> - ASP.DLL will load up the Windows Script Engines in whatever process
> it is in (inetinfo.exe in Low Isolation, dllhost.exe in Medium/High
> Isolation)
> - ASP.Net queues requests into the appropriate App Domain in some
> aspnet_wp.exe
>
> I want to run ASP in Low Isolation to take COM+ out of the equation --
> no more extra process hops.
>
> Can you also log the cs-uri-query field -- I believe ASP adds extra
> error information on that field for diagnosis, so it would be useful
> information, especially for a 500 error.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
>
>
>
>
>
> On Dec 30, 1:55 am, "King Coffee" wrote:
>> ISAPI Filters for Web Sites (parent):
>>
>> Status Filter Name Priority
>> up/green sspifilt High
>> up/green md5filt High
>> up/green pwsdata Low
>> up/green fpexedll.dll Low
>> up/green ASP.NET_2.050727.0 Low
>>
>> There are NO ISAPI Filters for the Default Web Site:
>>
>> I do not know how to change the website to run in "Low" Isolation, or
>> determine its current level.
>>
>> King
>>
>> "David Wang" wrote in message
>>
>> news:491d7c31-e7e7-4867-89ac-1dbf8b71dbe9@s8g2000prg.googleg roups.com...
>> Can you please provide your configured ISAPI Filters at the global
>> level (at "Web Sites" node)
>>
>> It is still something on your server preventing .asp and .aspx files
>> from executing, and it's not IIS itself. This just does not seem like
>> a bug/problem within IIS, even though it does not run ASP/ASP.Net for
>> you right now.
>>
>> If you need .asp to run, I suggest you stick with your existing
>> method.
>>
>> Here's what you have shown --
>> with the same static text (no scripting), when placed in a resource
>> with .asp extension, causes a "500" to be returned. ASP.DLL, when it
>> encounters such "scriptless" files, simply return the contents and do
>> no script processing.
>>
>> Thus, I expect the same result between /test_asp.asp and /
>> test_asp.htm , but that is not the case.
>>
>> Do you have any ISAPI Filters (check both "Web Sites" and "Default Web
>> Site" nodes) which could be returning 500 on its own?
>>
>> I can just say that is suspicious that .ASPX fails with 500 as well --
>> because it is very rare to have both ASP.DLL and ASPNET_ISAPI.DLL to
>> fail with similarly suspicious 500.
>>
>> Can you change the website to run in "Low" Isolation instead of the
>> default "Medium"? I want to take COM+ out of the picture -- even
>> though for ASP.DLL it would be loaded in DLLHOST.EXE in Medium
>> Isolation and for ASPNET_ISAPI.DLL it would be loaded in INETINFO.EXE
>> no matter the Isolation setting since it is in the list of
>> "InProcessIsapi"
>>
>> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
>> //
>>
>> On Dec 29, 1:13 pm, "King Coffee" wrote:
>>
>>
>>
>> > Hi David,
>>
>> > I wrote to the McAfee support forum group (for my current version of
>> > McAfee)
>> > they wrote back with the response: I have not heard of this issue
>> > before
>> > in
>> > this forum. Check for malware. I checked for malware using a free
>> > version
>> > of
>> > SUPERAntiSpy. No malware was detected. However, then I used a third
>> > party
>> > PWS with ActiveHTML the asp files run fine.
>>
>> > I put the text below into two files: "test_asp.htm" and "test_asp.asp".
>>
>> >
>> >
>> > Hello World
>> >
>> >
>> > Response.Write "Hello World from ASP"
>> >
>> >
>>
>> > I place the two files the IIS default root directory:
>> > "c:\Inetpub\wwwroot".
>>
>> > when I enter:http://localhost/test_asp.htmtheweb browser displays the
>> > body text OK.
>>
>> > But when I enter:http://localhost/test_asp.asptheweb browser displays
>> > the
>> > error page HTTP 500.
>>
>> > Note, I also ran files /iisHelp, /job/index.htm, and
>> > /test_asp_Net.aspx.
>> > All
>> > the files were found OK.
>>
>> > The IIS log file contain the following:
>>
>> > #Software: Microsoft Internet Information Services 5.1
>> > #Version: 1.0
>> > #Date: 2007-12-29 20:18:20
>> > #Fields: time c-ip cs-method cs-uri-stem sc-status
>> > 20:18:20 127.0.0.1 GET /iisHelp/ 302
>> > 20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
>> > 20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
>> > 20:18:39 127.0.0.1 GET /jobs/index.htm 304
>> > 20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
>> > 20:19:01 127.0.0.1 GET /test_asp.htm 304
>> > 20:19:20 127.0.0.1 GET /test_asp.asp 500
>> > 20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
>>
>> > King
>>
>> > "David Wang" wrote in message
>>
>> >news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.googl egroups.com...
>> > You need to first check if McAfee is corrupting and preventing ASP/
>> > ASP.Net from running because it has been known to do exactly that. If
>> > it is, you need to contact McAfee product support on how it properly
>> > supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
>> > failing, it is much more likely that something external is crippling
>> > your machine and not an IIS issue.
>>
>> > If you conclude that it is still an IIS issue:
>>
>> > %windir%\iis6.log is the IIS setup log file, which is not applicable
>> > here.
>>
>> > %windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files for
>> > each request to the Default Website
>>
>> > ISAPI Filters are configured in both global (under "Web Sites" node)
>> > and site (under "Default Web Site" node). Please provide info on both.
>> > IIS on XP Pro has global ISAPI Filters by default.
>>
>> > I need the Application Mapping Configuration for the .asp and .aspx
>> > extensions on the actual URL of your request. i.e. If you
>> > requesthttp://localhost/vdir/page.asp, then I need the Application
>> > Mapping
>> > Configuration for /vdir . Only if you don't have an application or
>> > vdir at /vdir would the setting from "Default Web Site" be applicable.
>>
>> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
>> > //
>>
>> > On Dec 27, 3:04 pm, "King Coffee" wrote:
>>
>> > > The IIS Default Web Site Application Configuration Mapping for
>> > > Extension
>> > > ".asp" is: Executable Path = "C:\WINDOWS\system32\inetsrv\asp.dll"
>> > > and
>> > > the
>> > > Verbs = "GET,HEAD,POST,TRACE"
>>
>> > > IIS also fails for .aspx files. Here is the Executable Path =
>> > > "c:\windows\Microsoft.net\framework\v2.0.50727
>>
>> > > \aspnet_isapi.dll" and the Verbs = "GET,HEAD,POST,DEBUG"
>>
>> > > There are no ISAPI Filters .dlls for the Default Web Site.
>>
>> > > The only iis log file I could find was c:\windows\iis6.log. But it
>> > > did
>> > > not
>> > > contain any networking entries.
>>
>> > > The unfriendly web page 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.
>>
>> > > The only personal security software I'm running is McAfee antivirus.
>>
>> > > King
>>
>> > > "David Wang" wrote in message
>>
>> > >news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.google groups.com...
>> > > Regular HTTP errors servicing web pages will not show up in the event
>> > > log, so I do not expect anything in Event Logs, certainly nothing in
>> > > IE's log since the problem happened on the server with no relation to
>> > > the client.
>>
>> > > Please report the IIS web log entry for this failing request. If the
>> > > request was indeed handled by ASP, there will be a status code for
>> > > troubleshooting.
>>
>> > > You also have not provided the actual Application Mapping defined
>> > > for .asp on your server installation. It is necessary to determine if
>> > > you actually have an issue with ASP.DLL or something else.
>>
>> > > I need data for all four details that I asked for in my first
>> > > response.
>>
>> > > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
>> > > //- Hide quoted text -
>>
>> > - Show quoted text -- Hide quoted text -
>>
>> - Show quoted text -
>
>
Re: Enable ASP within IIS 5.1 (Win XP)
am 31.12.2007 03:49:31 von King Coffee
I re-read the email I got from McAfee and he qualified his response by
saying the home addition isn't really design for a server environment. They
provide a corporate version for that. So, I'm asking them How can I disable
the product... to remove it from the equation.
King
"King Coffee" wrote in message
news:ebp2a00SIHA.5164@TK2MSFTNGP03.phx.gbl...
>I enabled cs-uri-query and set the Application Protection to Low(IIS
>Process). The IIS log is as follows:
>
> #Software: Microsoft Internet Information Services 5.1
> #Version: 1.0
> #Date: 2007-12-31 01:23:46
> #Fields: time c-ip cs-method cs-uri-stem cs-uri-query sc-status
> 01:23:46 127.0.0.1 GET /test_asp.htm - 304
> 01:23:55 127.0.0.1 GET /test_asp.asp - 500
> 01:24:08 127.0.0.1 GET /test_asp_Net.aspx - 500
> 01:24:15 127.0.0.1 GET /iisHelp/ - 302
> 01:24:15 127.0.0.1 GET /iisHelp/Default.htm - 304
> 01:24:15 127.0.0.1 GET /iisHelp/iis/misc/default.asp - 500
>
> King
>
>
> "David Wang" wrote in message
> news:38239a6a-bb03-4ae7-ae7d-84209c8fcb9a@c4g2000hsg.googleg roups.com...
> You can change the Isolation mode in the "Home Directory" or "Virtual
> Directory" tab, right above where you can click on the "Configuration"
> button to look up Application Mapping.
>
> There aren't any unexpected filters configured, other than pwsdata not
> really being necessary on XP Pro other than for compatibility on
> upgrade from Win9x. But it should not be causing this.
>
> Hmm... this seems really weird. There aren't any unexpected ISAPI
> Filters running and causing issues, and ISAPI Extensions mapped
> to .asp and .aspx seem alright. The main thing common between .asp
> and .aspx is that they are both ISAPI Extension DLLs... and I can't
> think of any common mechanism to fail.
> - ASP.DLL will load up the Windows Script Engines in whatever process
> it is in (inetinfo.exe in Low Isolation, dllhost.exe in Medium/High
> Isolation)
> - ASP.Net queues requests into the appropriate App Domain in some
> aspnet_wp.exe
>
> I want to run ASP in Low Isolation to take COM+ out of the equation --
> no more extra process hops.
>
> Can you also log the cs-uri-query field -- I believe ASP adds extra
> error information on that field for diagnosis, so it would be useful
> information, especially for a 500 error.
>
>
> //David
> http://w3-4u.blogspot.com
> http://blogs.msdn.com/David.Wang
> //
>
>
>
>
>
>
>
>
> On Dec 30, 1:55 am, "King Coffee" wrote:
>> ISAPI Filters for Web Sites (parent):
>>
>> Status Filter Name Priority
>> up/green sspifilt High
>> up/green md5filt High
>> up/green pwsdata Low
>> up/green fpexedll.dll Low
>> up/green ASP.NET_2.050727.0 Low
>>
>> There are NO ISAPI Filters for the Default Web Site:
>>
>> I do not know how to change the website to run in "Low" Isolation, or
>> determine its current level.
>>
>> King
>>
>> "David Wang" wrote in message
>>
>> news:491d7c31-e7e7-4867-89ac-1dbf8b71dbe9@s8g2000prg.googleg roups.com...
>> Can you please provide your configured ISAPI Filters at the global
>> level (at "Web Sites" node)
>>
>> It is still something on your server preventing .asp and .aspx files
>> from executing, and it's not IIS itself. This just does not seem like
>> a bug/problem within IIS, even though it does not run ASP/ASP.Net for
>> you right now.
>>
>> If you need .asp to run, I suggest you stick with your existing
>> method.
>>
>> Here's what you have shown --
>> with the same static text (no scripting), when placed in a resource
>> with .asp extension, causes a "500" to be returned. ASP.DLL, when it
>> encounters such "scriptless" files, simply return the contents and do
>> no script processing.
>>
>> Thus, I expect the same result between /test_asp.asp and /
>> test_asp.htm , but that is not the case.
>>
>> Do you have any ISAPI Filters (check both "Web Sites" and "Default Web
>> Site" nodes) which could be returning 500 on its own?
>>
>> I can just say that is suspicious that .ASPX fails with 500 as well --
>> because it is very rare to have both ASP.DLL and ASPNET_ISAPI.DLL to
>> fail with similarly suspicious 500.
>>
>> Can you change the website to run in "Low" Isolation instead of the
>> default "Medium"? I want to take COM+ out of the picture -- even
>> though for ASP.DLL it would be loaded in DLLHOST.EXE in Medium
>> Isolation and for ASPNET_ISAPI.DLL it would be loaded in INETINFO.EXE
>> no matter the Isolation setting since it is in the list of
>> "InProcessIsapi"
>>
>> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
>> //
>>
>> On Dec 29, 1:13 pm, "King Coffee" wrote:
>>
>>
>>
>> > Hi David,
>>
>> > I wrote to the McAfee support forum group (for my current version of
>> > McAfee)
>> > they wrote back with the response: I have not heard of this issue
>> > before
>> > in
>> > this forum. Check for malware. I checked for malware using a free
>> > version
>> > of
>> > SUPERAntiSpy. No malware was detected. However, then I used a third
>> > party
>> > PWS with ActiveHTML the asp files run fine.
>>
>> > I put the text below into two files: "test_asp.htm" and "test_asp.asp".
>>
>> >
>> >
>> > Hello World
>> >
>> >
>> > Response.Write "Hello World from ASP"
>> >
>> >
>>
>> > I place the two files the IIS default root directory:
>> > "c:\Inetpub\wwwroot".
>>
>> > when I enter:http://localhost/test_asp.htmtheweb browser displays the
>> > body text OK.
>>
>> > But when I enter:http://localhost/test_asp.asptheweb browser displays
>> > the
>> > error page HTTP 500.
>>
>> > Note, I also ran files /iisHelp, /job/index.htm, and
>> > /test_asp_Net.aspx.
>> > All
>> > the files were found OK.
>>
>> > The IIS log file contain the following:
>>
>> > #Software: Microsoft Internet Information Services 5.1
>> > #Version: 1.0
>> > #Date: 2007-12-29 20:18:20
>> > #Fields: time c-ip cs-method cs-uri-stem sc-status
>> > 20:18:20 127.0.0.1 GET /iisHelp/ 302
>> > 20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
>> > 20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
>> > 20:18:39 127.0.0.1 GET /jobs/index.htm 304
>> > 20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
>> > 20:19:01 127.0.0.1 GET /test_asp.htm 304
>> > 20:19:20 127.0.0.1 GET /test_asp.asp 500
>> > 20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
>>
>> > King
>>
>> > "David Wang" wrote in message
>>
>> >news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.googl egroups.com...
>> > You need to first check if McAfee is corrupting and preventing ASP/
>> > ASP.Net from running because it has been known to do exactly that. If
>> > it is, you need to contact McAfee product support on how it properly
>> > supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
>> > failing, it is much more likely that something external is crippling
>> > your machine and not an IIS issue.
>>
>> > If you conclude that it is still an IIS issue:
>>
>> > %windir%\iis6.log is the IIS setup log file, which is not applicable
>> > here.
>>
>> > %windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files for
>> > each request to the Default Website
>>
>> > ISAPI Filters are configured in both global (under "Web Sites" node)
>> > and site (under "Default Web Site" node). Please provide info on both.
>> > IIS on XP Pro has global ISAPI Filters by default.
>>
>> > I need the Application Mapping Configuration for the .asp and .aspx
>> > extensions on the actual URL of your request. i.e. If you
>> > requesthttp://localhost/vdir/page.asp, then I need the Application
>> > Mapping
>> > Configuration for /vdir . Only if you don't have an application or
>> > vdir at /vdir would the setting from "Default Web Site" be applicable.
>>
>> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
>> > //
>>
>> > On Dec 27, 3:04 pm, "King Coffee" wrote:
>>
>> > > The IIS Default Web Site Application Configuration Mapping for
>> > > Extension
>> > > ".asp" is: Executable Path = "C:\WINDOWS\system32\inetsrv\asp.dll"
>> > > and
>> > > the
>> > > Verbs = "GET,HEAD,POST,TRACE"
>>
>> > > IIS also fails for .aspx files. Here is the Executable Path =
>> > > "c:\windows\Microsoft.net\framework\v2.0.50727
>>
>> > > \aspnet_isapi.dll" and the Verbs = "GET,HEAD,POST,DEBUG"
>>
>> > > There are no ISAPI Filters .dlls for the Default Web Site.
>>
>> > > The only iis log file I could find was c:\windows\iis6.log. But it
>> > > did
>> > > not
>> > > contain any networking entries.
>>
>> > > The unfriendly web page 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.
>>
>> > > The only personal security software I'm running is McAfee antivirus.
>>
>> > > King
>>
>> > > "David Wang" wrote in message
>>
>> > >news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.google groups.com...
>> > > Regular HTTP errors servicing web pages will not show up in the event
>> > > log, so I do not expect anything in Event Logs, certainly nothing in
>> > > IE's log since the problem happened on the server with no relation to
>> > > the client.
>>
>> > > Please report the IIS web log entry for this failing request. If the
>> > > request was indeed handled by ASP, there will be a status code for
>> > > troubleshooting.
>>
>> > > You also have not provided the actual Application Mapping defined
>> > > for .asp on your server installation. It is necessary to determine if
>> > > you actually have an issue with ASP.DLL or something else.
>>
>> > > I need data for all four details that I asked for in my first
>> > > response.
>>
>> > > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
>> > > //- Hide quoted text -
>>
>> > - Show quoted text -- Hide quoted text -
>>
>> - Show quoted text -
>
>
Re: Enable ASP within IIS 5.1 (Win XP)
am 31.12.2007 05:28:48 von David Wang
Hmm... well, I'm out of ideas on what could simultaneously break ASP
and ASP.Net like this.
By moving ASP into Low Isolation, both DLLs are loaded in
inetinfo.exe, and both still fail. Without ISAPI Filters modifying
behavior of the IIS request processing pipeline, and Without Wildcard
(.*) application mapping at the same level as .aspx and .asp
Application Mapping, there is no way for non-IIS code to run prior to
handling the requests. This nullifies the "custom 3rd party code"
theory.
At which point, I can only start considering what can be broken in
Windows to simultaneously cause ASP and ASP.Net to fail with a 500.
Short of some sort of file corruption (unlikely to simultaneously
affect two different products unless it was a big disk crash, and
you'd probably notice other things wrong as well), such mysterious
breakage usually come from:
1. security software or
2. domain policy tweaking settings.
It sounds like your computer has never been in a domain (if it has
been in a domain but removed from it, the security setting changes
will remain and is a common culprit)
Sorry, but I cannot think of anything more that is specific to IIS
that can affect your situation. Hopefully you now have enough details
to progress with others.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 30, 6:49=A0pm, "King Coffee" wrote:
> I re-read the email I got from McAfee and he qualified his response by
> saying the home addition isn't really design for a server environment. The=
y
> provide a corporate version for that. So, I'm asking them How can I disabl=
e
> the product... to remove it from the equation.
>
> King
>
> "King Coffee" wrote in message
>
> news:ebp2a00SIHA.5164@TK2MSFTNGP03.phx.gbl...
>
>
>
> >I enabled cs-uri-query and set the Application Protection to Low(IIS
> >Process). The IIS log is as follows:
>
> > #Software: Microsoft Internet Information Services 5.1
> > #Version: 1.0
> > #Date: 2007-12-31 01:23:46
> > #Fields: time c-ip cs-method cs-uri-stem cs-uri-query sc-status
> > 01:23:46 127.0.0.1 GET /test_asp.htm - 304
> > 01:23:55 127.0.0.1 GET /test_asp.asp - 500
> > 01:24:08 127.0.0.1 GET /test_asp_Net.aspx - 500
> > 01:24:15 127.0.0.1 GET /iisHelp/ - 302
> > 01:24:15 127.0.0.1 GET /iisHelp/Default.htm - 304
> > 01:24:15 127.0.0.1 GET /iisHelp/iis/misc/default.asp - 500
>
> > King
>
> > "David Wang" wrote in message
> >news:38239a6a-bb03-4ae7-ae7d-84209c8fcb9a@c4g2000hsg.google groups.com...
> > You can change the Isolation mode in the "Home Directory" or "Virtual
> > Directory" tab, right above where you can click on the "Configuration"
> > button to look up Application Mapping.
>
> > There aren't any unexpected filters configured, other than pwsdata not
> > really being necessary on XP Pro other than for compatibility on
> > upgrade from Win9x. But it should not be causing this.
>
> > Hmm... this seems really weird. There aren't any unexpected ISAPI
> > Filters running and causing issues, and ISAPI Extensions mapped
> > to .asp and .aspx seem alright. The main thing common between .asp
> > and .aspx is that they are both ISAPI Extension DLLs... and I can't
> > think of any common mechanism to fail.
> > - ASP.DLL will load up the Windows Script Engines in whatever process
> > it is in (inetinfo.exe in Low Isolation, dllhost.exe in Medium/High
> > Isolation)
> > - ASP.Net queues requests into the appropriate App Domain in some
> > aspnet_wp.exe
>
> > I want to run ASP in Low Isolation to take COM+ out of the equation --
> > no more extra process hops.
>
> > Can you also log the cs-uri-query field -- I believe ASP adds extra
> > error information on that field for diagnosis, so it would be useful
> > information, especially for a 500 error.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Dec 30, 1:55 am, "King Coffee" wrote:
> >> ISAPI Filters for Web Sites (parent):
>
> >> Status Filter Name Priority
> >> up/green sspifilt High
> >> up/green md5filt High
> >> up/green pwsdata Low
> >> up/green fpexedll.dll Low
> >> up/green ASP.NET_2.050727.0 Low
>
> >> There are NO ISAPI Filters for the Default Web Site:
>
> >> I do not know how to change the website to run in "Low" Isolation, or
> >> determine its current level.
>
> >> King
>
> >> "David Wang" wrote in message
>
> >>news:491d7c31-e7e7-4867-89ac-1dbf8b71dbe9@s8g2000prg.googl egroups.com...=
> >> Can you please provide your configured ISAPI Filters at the global
> >> level (at "Web Sites" node)
>
> >> It is still something on your server preventing .asp and .aspx files
> >> from executing, and it's not IIS itself. This just does not seem like
> >> a bug/problem within IIS, even though it does not run ASP/ASP.Net for
> >> you right now.
>
> >> If you need .asp to run, I suggest you stick with your existing
> >> method.
>
> >> Here's what you have shown --
> >> with the same static text (no scripting), when placed in a resource
> >> with .asp extension, causes a "500" to be returned. ASP.DLL, when it
> >> encounters such "scriptless" files, simply return the contents and do
> >> no script processing.
>
> >> Thus, I expect the same result between /test_asp.asp and /
> >> test_asp.htm , but that is not the case.
>
> >> Do you have any ISAPI Filters (check both "Web Sites" and "Default Web
> >> Site" nodes) which could be returning 500 on its own?
>
> >> I can just say that is suspicious that .ASPX fails with 500 as well --
> >> because it is very rare to have both ASP.DLL and ASPNET_ISAPI.DLL to
> >> fail with similarly suspicious 500.
>
> >> Can you change the website to run in "Low" Isolation instead of the
> >> default "Medium"? I want to take COM+ out of the picture -- even
> >> though for ASP.DLL it would be loaded in DLLHOST.EXE in Medium
> >> Isolation and for ASPNET_ISAPI.DLL it would be loaded in INETINFO.EXE
> >> no matter the Isolation setting since it is in the list of
> >> "InProcessIsapi"
>
> >> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> >> //
>
> >> On Dec 29, 1:13 pm, "King Coffee" wrote:
>
> >> > Hi David,
>
> >> > I wrote to the McAfee support forum group (for my current version of
> >> > McAfee)
> >> > they wrote back with the response: I have not heard of this issue
> >> > before
> >> > in
> >> > this forum. Check for malware. I checked for malware using a free
> >> > version
> >> > of
> >> > SUPERAntiSpy. No malware was detected. However, then I used a third
> >> > party
> >> > PWS with ActiveHTML the asp files run fine.
>
> >> > I put the text below into two files: "test_asp.htm" and "test_asp.asp=
".
>
> >> >
> >> >
> >> > Hello World
> >> >
> >> >
> >> > Response.Write "Hello World from ASP"
> >> >
> >> >
>
> >> > I place the two files the IIS default root directory:
> >> > "c:\Inetpub\wwwroot".
>
> >> > when I enter:http://localhost/test_asp.htmthewebbrowser displays the
> >> > body text OK.
>
> >> > But when I enter:http://localhost/test_asp.aspthewebbrowser displays
> >> > the
> >> > error page HTTP 500.
>
> >> > Note, I also ran files /iisHelp, /job/index.htm, and
> >> > /test_asp_Net.aspx.
> >> > All
> >> > the files were found OK.
>
> >> > The IIS log file contain the following:
>
> >> > #Software: Microsoft Internet Information Services 5.1
> >> > #Version: 1.0
> >> > #Date: 2007-12-29 20:18:20
> >> > #Fields: time c-ip cs-method cs-uri-stem sc-status
> >> > 20:18:20 127.0.0.1 GET /iisHelp/ 302
> >> > 20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
> >> > 20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
> >> > 20:18:39 127.0.0.1 GET /jobs/index.htm 304
> >> > 20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
> >> > 20:19:01 127.0.0.1 GET /test_asp.htm 304
> >> > 20:19:20 127.0.0.1 GET /test_asp.asp 500
> >> > 20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
>
> >> > King
>
> >> > "David Wang" wrote in message
>
> >> >news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.googl egroups.com=
....
> >> > You need to first check if McAfee is corrupting and preventing ASP/
> >> > ASP.Net from running because it has been known to do exactly that. If=
> >> > it is, you need to contact McAfee product support on how it properly
> >> > supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
> >> > failing, it is much more likely that something external is crippling
> >> > your machine and not an IIS issue.
>
> >> > If you conclude that it is still an IIS issue:
>
> >> > %windir%\iis6.log is the IIS setup log file, which is not applicable
> >> > here.
>
> >> > %windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files fo=
r
> >> > each request to the Default Website
>
> >> > ISAPI Filters are configured in both global (under "Web Sites" node)
> >> > and site (under "Default Web Site" node). Please provide info on both=
..
> >> > IIS on XP Pro has global ISAPI Filters by default.
>
> >> > I need the Application Mapping Configuration for the .asp and .aspx
> >> > extensions on the actual URL of your request. i.e. If you
> >> > requesthttp://localhost/vdir/page.asp, then I need the Application
> >> > Mapping
> >> > Configuration for /vdir . Only if you don't have an application or
> >> > vdir at /vdir would the setting from "Default Web Site" be applicable=
..
>
> >> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> >> > //
>
> >> > On Dec 27, 3:04 pm, "King Coffee" wrote:
>
> >> > > The IIS Default Web Site Application Configuration Mapping for
> >> > > Extension
> >> > > ".asp" is: Executable Path =3D "C:\WINDOWS\system32\inetsrv\asp.dll=
"
> >> > > and
> >> > > the
> >> > > Verbs =3D "GET,HEAD,POST,TRACE"
>
> >> > > IIS also fails for .aspx files. Here is the Executable Path =3D
> >> > > "c:\windows\Microsoft.net\framework\v2.0.50727
>
> >> > > \aspnet_isapi.dll" and the Verbs =3D "GET,HEAD,POST,DEBUG"
>
> >> > > There are no ISAPI Filters .dlls for the Default Web Site.
>
> >> > > The only iis log file I could find was c:\windows\iis6.log. But it
> >> > > did
> >> > > not
> >> > > contain any networking entries.
>
> >> > > The unfriendly web page 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=
..
>
> >> > > The only personal security software I'm running is McAfee antivirus=
..
>
> >> > > King
>
> >> > > "David Wang" wrote in message
>
> >> > >news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.google groups.co=
m...
> >> > > Regular HTTP errors servicing web pages will not show up in the eve=
nt
> >> > > log, so I do not expect anything in Event Logs, certainly nothing i=
n
> >> > > IE's log since the problem happened on the server with no relation =
to
> >> > > the client.
>
> >> > > Please report the IIS web log entry for this failing request. If th=
e
> >> > > request was indeed handled by ASP, there will be a status code for
> >> > > troubleshooting.
>
> >> > > You also have not provided the actual Application Mapping defined
> >> > > for .asp on your server installation. It is necessary to determine =
if
> >> > > you actually have an issue with ASP.DLL or something else.
>
> >> > > I need data for all four details that I asked for in my first
> >> > > response.
>
> >> > > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> >> > > //- Hide quoted text -
>
> >> > - Show quoted
>
> ...
>
> read more =BB- Hide quoted text -
>
> - Show quoted text -
Re: Enable ASP within IIS 5.1 (Win XP)
am 01.01.2008 22:04:28 von King Coffee
Hi David,
Incase I don't get back in touch with you... Thanks very much for all your
time and effort.
King
"David Wang" wrote in message
news:9022e0f3-46e4-4a81-b8ed-92088d94bf25@75g2000hsv.googleg roups.com...
Hmm... well, I'm out of ideas on what could simultaneously break ASP
and ASP.Net like this.
By moving ASP into Low Isolation, both DLLs are loaded in
inetinfo.exe, and both still fail. Without ISAPI Filters modifying
behavior of the IIS request processing pipeline, and Without Wildcard
(.*) application mapping at the same level as .aspx and .asp
Application Mapping, there is no way for non-IIS code to run prior to
handling the requests. This nullifies the "custom 3rd party code"
theory.
At which point, I can only start considering what can be broken in
Windows to simultaneously cause ASP and ASP.Net to fail with a 500.
Short of some sort of file corruption (unlikely to simultaneously
affect two different products unless it was a big disk crash, and
you'd probably notice other things wrong as well), such mysterious
breakage usually come from:
1. security software or
2. domain policy tweaking settings.
It sounds like your computer has never been in a domain (if it has
been in a domain but removed from it, the security setting changes
will remain and is a common culprit)
Sorry, but I cannot think of anything more that is specific to IIS
that can affect your situation. Hopefully you now have enough details
to progress with others.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 30, 6:49 pm, "King Coffee" wrote:
> I re-read the email I got from McAfee and he qualified his response by
> saying the home addition isn't really design for a server environment.
> They
> provide a corporate version for that. So, I'm asking them How can I
> disable
> the product... to remove it from the equation.
>
> King
>
> "King Coffee" wrote in message
>
> news:ebp2a00SIHA.5164@TK2MSFTNGP03.phx.gbl...
>
>
>
> >I enabled cs-uri-query and set the Application Protection to Low(IIS
> >Process). The IIS log is as follows:
>
> > #Software: Microsoft Internet Information Services 5.1
> > #Version: 1.0
> > #Date: 2007-12-31 01:23:46
> > #Fields: time c-ip cs-method cs-uri-stem cs-uri-query sc-status
> > 01:23:46 127.0.0.1 GET /test_asp.htm - 304
> > 01:23:55 127.0.0.1 GET /test_asp.asp - 500
> > 01:24:08 127.0.0.1 GET /test_asp_Net.aspx - 500
> > 01:24:15 127.0.0.1 GET /iisHelp/ - 302
> > 01:24:15 127.0.0.1 GET /iisHelp/Default.htm - 304
> > 01:24:15 127.0.0.1 GET /iisHelp/iis/misc/default.asp - 500
>
> > King
>
> > "David Wang" wrote in message
> >news:38239a6a-bb03-4ae7-ae7d-84209c8fcb9a@c4g2000hsg.google groups.com...
> > You can change the Isolation mode in the "Home Directory" or "Virtual
> > Directory" tab, right above where you can click on the "Configuration"
> > button to look up Application Mapping.
>
> > There aren't any unexpected filters configured, other than pwsdata not
> > really being necessary on XP Pro other than for compatibility on
> > upgrade from Win9x. But it should not be causing this.
>
> > Hmm... this seems really weird. There aren't any unexpected ISAPI
> > Filters running and causing issues, and ISAPI Extensions mapped
> > to .asp and .aspx seem alright. The main thing common between .asp
> > and .aspx is that they are both ISAPI Extension DLLs... and I can't
> > think of any common mechanism to fail.
> > - ASP.DLL will load up the Windows Script Engines in whatever process
> > it is in (inetinfo.exe in Low Isolation, dllhost.exe in Medium/High
> > Isolation)
> > - ASP.Net queues requests into the appropriate App Domain in some
> > aspnet_wp.exe
>
> > I want to run ASP in Low Isolation to take COM+ out of the equation --
> > no more extra process hops.
>
> > Can you also log the cs-uri-query field -- I believe ASP adds extra
> > error information on that field for diagnosis, so it would be useful
> > information, especially for a 500 error.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Dec 30, 1:55 am, "King Coffee" wrote:
> >> ISAPI Filters for Web Sites (parent):
>
> >> Status Filter Name Priority
> >> up/green sspifilt High
> >> up/green md5filt High
> >> up/green pwsdata Low
> >> up/green fpexedll.dll Low
> >> up/green ASP.NET_2.050727.0 Low
>
> >> There are NO ISAPI Filters for the Default Web Site:
>
> >> I do not know how to change the website to run in "Low" Isolation, or
> >> determine its current level.
>
> >> King
>
> >> "David Wang" wrote in message
>
> >>news:491d7c31-e7e7-4867-89ac-1dbf8b71dbe9@s8g2000prg.googl egroups.com...
> >> Can you please provide your configured ISAPI Filters at the global
> >> level (at "Web Sites" node)
>
> >> It is still something on your server preventing .asp and .aspx files
> >> from executing, and it's not IIS itself. This just does not seem like
> >> a bug/problem within IIS, even though it does not run ASP/ASP.Net for
> >> you right now.
>
> >> If you need .asp to run, I suggest you stick with your existing
> >> method.
>
> >> Here's what you have shown --
> >> with the same static text (no scripting), when placed in a resource
> >> with .asp extension, causes a "500" to be returned. ASP.DLL, when it
> >> encounters such "scriptless" files, simply return the contents and do
> >> no script processing.
>
> >> Thus, I expect the same result between /test_asp.asp and /
> >> test_asp.htm , but that is not the case.
>
> >> Do you have any ISAPI Filters (check both "Web Sites" and "Default Web
> >> Site" nodes) which could be returning 500 on its own?
>
> >> I can just say that is suspicious that .ASPX fails with 500 as well --
> >> because it is very rare to have both ASP.DLL and ASPNET_ISAPI.DLL to
> >> fail with similarly suspicious 500.
>
> >> Can you change the website to run in "Low" Isolation instead of the
> >> default "Medium"? I want to take COM+ out of the picture -- even
> >> though for ASP.DLL it would be loaded in DLLHOST.EXE in Medium
> >> Isolation and for ASPNET_ISAPI.DLL it would be loaded in INETINFO.EXE
> >> no matter the Isolation setting since it is in the list of
> >> "InProcessIsapi"
>
> >> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> >> //
>
> >> On Dec 29, 1:13 pm, "King Coffee" wrote:
>
> >> > Hi David,
>
> >> > I wrote to the McAfee support forum group (for my current version of
> >> > McAfee)
> >> > they wrote back with the response: I have not heard of this issue
> >> > before
> >> > in
> >> > this forum. Check for malware. I checked for malware using a free
> >> > version
> >> > of
> >> > SUPERAntiSpy. No malware was detected. However, then I used a third
> >> > party
> >> > PWS with ActiveHTML the asp files run fine.
>
> >> > I put the text below into two files: "test_asp.htm" and
> >> > "test_asp.asp".
>
> >> >
> >> >
> >> > Hello World
> >> >
> >> >
> >> > Response.Write "Hello World from ASP"
> >> >
> >> >
>
> >> > I place the two files the IIS default root directory:
> >> > "c:\Inetpub\wwwroot".
>
> >> > when I enter:http://localhost/test_asp.htmthewebbrowser displays the
> >> > body text OK.
>
> >> > But when I enter:http://localhost/test_asp.aspthewebbrowser displays
> >> > the
> >> > error page HTTP 500.
>
> >> > Note, I also ran files /iisHelp, /job/index.htm, and
> >> > /test_asp_Net.aspx.
> >> > All
> >> > the files were found OK.
>
> >> > The IIS log file contain the following:
>
> >> > #Software: Microsoft Internet Information Services 5.1
> >> > #Version: 1.0
> >> > #Date: 2007-12-29 20:18:20
> >> > #Fields: time c-ip cs-method cs-uri-stem sc-status
> >> > 20:18:20 127.0.0.1 GET /iisHelp/ 302
> >> > 20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
> >> > 20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
> >> > 20:18:39 127.0.0.1 GET /jobs/index.htm 304
> >> > 20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
> >> > 20:19:01 127.0.0.1 GET /test_asp.htm 304
> >> > 20:19:20 127.0.0.1 GET /test_asp.asp 500
> >> > 20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
>
> >> > King
>
> >> > "David Wang" wrote in message
>
> >> >news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.googl egroups.com...
> >> > You need to first check if McAfee is corrupting and preventing ASP/
> >> > ASP.Net from running because it has been known to do exactly that. If
> >> > it is, you need to contact McAfee product support on how it properly
> >> > supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
> >> > failing, it is much more likely that something external is crippling
> >> > your machine and not an IIS issue.
>
> >> > If you conclude that it is still an IIS issue:
>
> >> > %windir%\iis6.log is the IIS setup log file, which is not applicable
> >> > here.
>
> >> > %windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files
> >> > for
> >> > each request to the Default Website
>
> >> > ISAPI Filters are configured in both global (under "Web Sites" node)
> >> > and site (under "Default Web Site" node). Please provide info on
> >> > both.
> >> > IIS on XP Pro has global ISAPI Filters by default.
>
> >> > I need the Application Mapping Configuration for the .asp and .aspx
> >> > extensions on the actual URL of your request. i.e. If you
> >> > requesthttp://localhost/vdir/page.asp, then I need the Application
> >> > Mapping
> >> > Configuration for /vdir . Only if you don't have an application or
> >> > vdir at /vdir would the setting from "Default Web Site" be
> >> > applicable.
>
> >> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> >> > //
>
> >> > On Dec 27, 3:04 pm, "King Coffee" wrote:
>
> >> > > The IIS Default Web Site Application Configuration Mapping for
> >> > > Extension
> >> > > ".asp" is: Executable Path = "C:\WINDOWS\system32\inetsrv\asp.dll"
> >> > > and
> >> > > the
> >> > > Verbs = "GET,HEAD,POST,TRACE"
>
> >> > > IIS also fails for .aspx files. Here is the Executable Path =
> >> > > "c:\windows\Microsoft.net\framework\v2.0.50727
>
> >> > > \aspnet_isapi.dll" and the Verbs = "GET,HEAD,POST,DEBUG"
>
> >> > > There are no ISAPI Filters .dlls for the Default Web Site.
>
> >> > > The only iis log file I could find was c:\windows\iis6.log. But it
> >> > > did
> >> > > not
> >> > > contain any networking entries.
>
> >> > > The unfriendly web page 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.
>
> >> > > The only personal security software I'm running is McAfee
> >> > > antivirus.
>
> >> > > King
>
> >> > > "David Wang" wrote in message
>
> >> > >news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.google groups.com...
> >> > > Regular HTTP errors servicing web pages will not show up in the
> >> > > event
> >> > > log, so I do not expect anything in Event Logs, certainly nothing
> >> > > in
> >> > > IE's log since the problem happened on the server with no relation
> >> > > to
> >> > > the client.
>
> >> > > Please report the IIS web log entry for this failing request. If
> >> > > the
> >> > > request was indeed handled by ASP, there will be a status code for
> >> > > troubleshooting.
>
> >> > > You also have not provided the actual Application Mapping defined
> >> > > for .asp on your server installation. It is necessary to determine
> >> > > if
> >> > > you actually have an issue with ASP.DLL or something else.
>
> >> > > I need data for all four details that I asked for in my first
> >> > > response.
>
> >> > > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> >> > > //- Hide quoted text -
>
> >> > - Show quoted
>
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -
Re: Enable ASP within IIS 5.1 (Win XP)
am 03.01.2008 06:21:41 von King Coffee
Hi,
I just wanted to let you know, I disabled the personal security software and
the till persisted.
Thanks,
King
"David Wang" wrote in message
news:9022e0f3-46e4-4a81-b8ed-92088d94bf25@75g2000hsv.googleg roups.com...
Hmm... well, I'm out of ideas on what could simultaneously break ASP
and ASP.Net like this.
By moving ASP into Low Isolation, both DLLs are loaded in
inetinfo.exe, and both still fail. Without ISAPI Filters modifying
behavior of the IIS request processing pipeline, and Without Wildcard
(.*) application mapping at the same level as .aspx and .asp
Application Mapping, there is no way for non-IIS code to run prior to
handling the requests. This nullifies the "custom 3rd party code"
theory.
At which point, I can only start considering what can be broken in
Windows to simultaneously cause ASP and ASP.Net to fail with a 500.
Short of some sort of file corruption (unlikely to simultaneously
affect two different products unless it was a big disk crash, and
you'd probably notice other things wrong as well), such mysterious
breakage usually come from:
1. security software or
2. domain policy tweaking settings.
It sounds like your computer has never been in a domain (if it has
been in a domain but removed from it, the security setting changes
will remain and is a common culprit)
Sorry, but I cannot think of anything more that is specific to IIS
that can affect your situation. Hopefully you now have enough details
to progress with others.
//David
http://w3-4u.blogspot.com
http://blogs.msdn.com/David.Wang
//
On Dec 30, 6:49 pm, "King Coffee" wrote:
> I re-read the email I got from McAfee and he qualified his response by
> saying the home addition isn't really design for a server environment.
> They
> provide a corporate version for that. So, I'm asking them How can I
> disable
> the product... to remove it from the equation.
>
> King
>
> "King Coffee" wrote in message
>
> news:ebp2a00SIHA.5164@TK2MSFTNGP03.phx.gbl...
>
>
>
> >I enabled cs-uri-query and set the Application Protection to Low(IIS
> >Process). The IIS log is as follows:
>
> > #Software: Microsoft Internet Information Services 5.1
> > #Version: 1.0
> > #Date: 2007-12-31 01:23:46
> > #Fields: time c-ip cs-method cs-uri-stem cs-uri-query sc-status
> > 01:23:46 127.0.0.1 GET /test_asp.htm - 304
> > 01:23:55 127.0.0.1 GET /test_asp.asp - 500
> > 01:24:08 127.0.0.1 GET /test_asp_Net.aspx - 500
> > 01:24:15 127.0.0.1 GET /iisHelp/ - 302
> > 01:24:15 127.0.0.1 GET /iisHelp/Default.htm - 304
> > 01:24:15 127.0.0.1 GET /iisHelp/iis/misc/default.asp - 500
>
> > King
>
> > "David Wang" wrote in message
> >news:38239a6a-bb03-4ae7-ae7d-84209c8fcb9a@c4g2000hsg.google groups.com...
> > You can change the Isolation mode in the "Home Directory" or "Virtual
> > Directory" tab, right above where you can click on the "Configuration"
> > button to look up Application Mapping.
>
> > There aren't any unexpected filters configured, other than pwsdata not
> > really being necessary on XP Pro other than for compatibility on
> > upgrade from Win9x. But it should not be causing this.
>
> > Hmm... this seems really weird. There aren't any unexpected ISAPI
> > Filters running and causing issues, and ISAPI Extensions mapped
> > to .asp and .aspx seem alright. The main thing common between .asp
> > and .aspx is that they are both ISAPI Extension DLLs... and I can't
> > think of any common mechanism to fail.
> > - ASP.DLL will load up the Windows Script Engines in whatever process
> > it is in (inetinfo.exe in Low Isolation, dllhost.exe in Medium/High
> > Isolation)
> > - ASP.Net queues requests into the appropriate App Domain in some
> > aspnet_wp.exe
>
> > I want to run ASP in Low Isolation to take COM+ out of the equation --
> > no more extra process hops.
>
> > Can you also log the cs-uri-query field -- I believe ASP adds extra
> > error information on that field for diagnosis, so it would be useful
> > information, especially for a 500 error.
>
> > //David
> >http://w3-4u.blogspot.com
> >http://blogs.msdn.com/David.Wang
> > //
>
> > On Dec 30, 1:55 am, "King Coffee" wrote:
> >> ISAPI Filters for Web Sites (parent):
>
> >> Status Filter Name Priority
> >> up/green sspifilt High
> >> up/green md5filt High
> >> up/green pwsdata Low
> >> up/green fpexedll.dll Low
> >> up/green ASP.NET_2.050727.0 Low
>
> >> There are NO ISAPI Filters for the Default Web Site:
>
> >> I do not know how to change the website to run in "Low" Isolation, or
> >> determine its current level.
>
> >> King
>
> >> "David Wang" wrote in message
>
> >>news:491d7c31-e7e7-4867-89ac-1dbf8b71dbe9@s8g2000prg.googl egroups.com...
> >> Can you please provide your configured ISAPI Filters at the global
> >> level (at "Web Sites" node)
>
> >> It is still something on your server preventing .asp and .aspx files
> >> from executing, and it's not IIS itself. This just does not seem like
> >> a bug/problem within IIS, even though it does not run ASP/ASP.Net for
> >> you right now.
>
> >> If you need .asp to run, I suggest you stick with your existing
> >> method.
>
> >> Here's what you have shown --
> >> with the same static text (no scripting), when placed in a resource
> >> with .asp extension, causes a "500" to be returned. ASP.DLL, when it
> >> encounters such "scriptless" files, simply return the contents and do
> >> no script processing.
>
> >> Thus, I expect the same result between /test_asp.asp and /
> >> test_asp.htm , but that is not the case.
>
> >> Do you have any ISAPI Filters (check both "Web Sites" and "Default Web
> >> Site" nodes) which could be returning 500 on its own?
>
> >> I can just say that is suspicious that .ASPX fails with 500 as well --
> >> because it is very rare to have both ASP.DLL and ASPNET_ISAPI.DLL to
> >> fail with similarly suspicious 500.
>
> >> Can you change the website to run in "Low" Isolation instead of the
> >> default "Medium"? I want to take COM+ out of the picture -- even
> >> though for ASP.DLL it would be loaded in DLLHOST.EXE in Medium
> >> Isolation and for ASPNET_ISAPI.DLL it would be loaded in INETINFO.EXE
> >> no matter the Isolation setting since it is in the list of
> >> "InProcessIsapi"
>
> >> //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> >> //
>
> >> On Dec 29, 1:13 pm, "King Coffee" wrote:
>
> >> > Hi David,
>
> >> > I wrote to the McAfee support forum group (for my current version of
> >> > McAfee)
> >> > they wrote back with the response: I have not heard of this issue
> >> > before
> >> > in
> >> > this forum. Check for malware. I checked for malware using a free
> >> > version
> >> > of
> >> > SUPERAntiSpy. No malware was detected. However, then I used a third
> >> > party
> >> > PWS with ActiveHTML the asp files run fine.
>
> >> > I put the text below into two files: "test_asp.htm" and
> >> > "test_asp.asp".
>
> >> >
> >> >
> >> > Hello World
> >> >
> >> >
> >> > Response.Write "Hello World from ASP"
> >> >
> >> >
>
> >> > I place the two files the IIS default root directory:
> >> > "c:\Inetpub\wwwroot".
>
> >> > when I enter:http://localhost/test_asp.htmthewebbrowser displays the
> >> > body text OK.
>
> >> > But when I enter:http://localhost/test_asp.aspthewebbrowser displays
> >> > the
> >> > error page HTTP 500.
>
> >> > Note, I also ran files /iisHelp, /job/index.htm, and
> >> > /test_asp_Net.aspx.
> >> > All
> >> > the files were found OK.
>
> >> > The IIS log file contain the following:
>
> >> > #Software: Microsoft Internet Information Services 5.1
> >> > #Version: 1.0
> >> > #Date: 2007-12-29 20:18:20
> >> > #Fields: time c-ip cs-method cs-uri-stem sc-status
> >> > 20:18:20 127.0.0.1 GET /iisHelp/ 302
> >> > 20:18:20 127.0.0.1 GET /iisHelp/Default.htm 304
> >> > 20:18:20 127.0.0.1 GET /iisHelp/iis/misc/default.asp 500
> >> > 20:18:39 127.0.0.1 GET /jobs/index.htm 304
> >> > 20:18:39 127.0.0.1 GET /jobs/index_files/image001.gif 304
> >> > 20:19:01 127.0.0.1 GET /test_asp.htm 304
> >> > 20:19:20 127.0.0.1 GET /test_asp.asp 500
> >> > 20:19:33 127.0.0.1 GET /test_asp_Net.aspx 500
>
> >> > King
>
> >> > "David Wang" wrote in message
>
> >> >news:8a47c69a-5157-4596-a6f2-965a1a9b3a80@x29g2000prg.googl egroups.com...
> >> > You need to first check if McAfee is corrupting and preventing ASP/
> >> > ASP.Net from running because it has been known to do exactly that. If
> >> > it is, you need to contact McAfee product support on how it properly
> >> > supports IIS. In general, if you find ASP/ASP.Net to be mysteriously
> >> > failing, it is much more likely that something external is crippling
> >> > your machine and not an IIS issue.
>
> >> > If you conclude that it is still an IIS issue:
>
> >> > %windir%\iis6.log is the IIS setup log file, which is not applicable
> >> > here.
>
> >> > %windir%\system32\LogFiles\W3SVC1\*.log contains the IIS log files
> >> > for
> >> > each request to the Default Website
>
> >> > ISAPI Filters are configured in both global (under "Web Sites" node)
> >> > and site (under "Default Web Site" node). Please provide info on
> >> > both.
> >> > IIS on XP Pro has global ISAPI Filters by default.
>
> >> > I need the Application Mapping Configuration for the .asp and .aspx
> >> > extensions on the actual URL of your request. i.e. If you
> >> > requesthttp://localhost/vdir/page.asp, then I need the Application
> >> > Mapping
> >> > Configuration for /vdir . Only if you don't have an application or
> >> > vdir at /vdir would the setting from "Default Web Site" be
> >> > applicable.
>
> >> > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> >> > //
>
> >> > On Dec 27, 3:04 pm, "King Coffee" wrote:
>
> >> > > The IIS Default Web Site Application Configuration Mapping for
> >> > > Extension
> >> > > ".asp" is: Executable Path = "C:\WINDOWS\system32\inetsrv\asp.dll"
> >> > > and
> >> > > the
> >> > > Verbs = "GET,HEAD,POST,TRACE"
>
> >> > > IIS also fails for .aspx files. Here is the Executable Path =
> >> > > "c:\windows\Microsoft.net\framework\v2.0.50727
>
> >> > > \aspnet_isapi.dll" and the Verbs = "GET,HEAD,POST,DEBUG"
>
> >> > > There are no ISAPI Filters .dlls for the Default Web Site.
>
> >> > > The only iis log file I could find was c:\windows\iis6.log. But it
> >> > > did
> >> > > not
> >> > > contain any networking entries.
>
> >> > > The unfriendly web page 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.
>
> >> > > The only personal security software I'm running is McAfee
> >> > > antivirus.
>
> >> > > King
>
> >> > > "David Wang" wrote in message
>
> >> > >news:c4a03499-2a2c-401a-9b11-93a9382ea34a@e6g2000prf.google groups.com...
> >> > > Regular HTTP errors servicing web pages will not show up in the
> >> > > event
> >> > > log, so I do not expect anything in Event Logs, certainly nothing
> >> > > in
> >> > > IE's log since the problem happened on the server with no relation
> >> > > to
> >> > > the client.
>
> >> > > Please report the IIS web log entry for this failing request. If
> >> > > the
> >> > > request was indeed handled by ASP, there will be a status code for
> >> > > troubleshooting.
>
> >> > > You also have not provided the actual Application Mapping defined
> >> > > for .asp on your server installation. It is necessary to determine
> >> > > if
> >> > > you actually have an issue with ASP.DLL or something else.
>
> >> > > I need data for all four details that I asked for in my first
> >> > > response.
>
> >> > > //Davidhttp://w3-4u.blogspot.comhttp://blogs.msdn.com/David. Wang
> >> > > //- Hide quoted text -
>
> >> > - Show quoted
>
> ...
>
> read more »- Hide quoted text -
>
> - Show quoted text -