IIS won't display ASPs. Only HTML.

G

Guest

Every time someone accesses an ASP on my site (IIS 5.1), this is displayed
Server Application Erro
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

Event viewer
DCOM got error "Logon failure: unknown user name or bad password. " and was unable to logon .\IWAM_FLOWER2 in order to run the server
{3D14228D-FBE1-11D0-995D-00C04FD919C1
 
R

Rob Schneider

I think the ID on the server which is setup to execute the ASP program
is not working (wrong password, wrong ID, wrong config). On the server.

Hope this is useful to you. Let us know.

rms
 
G

Guest

I had'n managed password for IWAM_FLOWER2. It might be ok
Config? I reviewed all pages in Properties of my IIS site and found nothing related
I tried to run DCOMCNFG (I disabled DCOM because of msblast attacks (updated too, but later.)) but it crashed when I browsed to Component Services -> Computers. It just closed, and said nothing
I think that maybe I disabled some services needed, and tried to start Com+ System Application
Event viewer constantly reports that it starts and "terminates unexpectedly".
 
B

Begotten

You probably want to enable anonymous logons in the IIS configuration. Run, "MMC" may have some more admin tools.


Every time someone accesses an ASP on my site (IIS 5.1), this is displayed:
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.

Event viewer:
DCOM got error "Logon failure: unknown user name or bad password. " and was unable to logon .\IWAM_FLOWER2 in order to run the server:
{3D14228D-FBE1-11D0-995D-00C04FD919C1}
 
B

Begotten

Isn't DCOM the Dynamic Component Object Model? I don't know for sure but I think that should be enabled for scripting. Still your error message sounds like an issue with anonymous logon, etc.


I had'n managed password for IWAM_FLOWER2. It might be ok?
Config? I reviewed all pages in Properties of my IIS site and found nothing related.
I tried to run DCOMCNFG (I disabled DCOM because of msblast attacks (updated too, but later.)) but it crashed when I browsed to Component Services -> Computers. It just closed, and said nothing.
I think that maybe I disabled some services needed, and tried to start Com+ System Application.
Event viewer constantly reports that it starts and "terminates unexpectedly".
 
G

Guest

Anonymous logon is enabled, and it doesn't ask password when viewing normal HTML
Quite right you are about enabling DCOM, but its behavior is like it needs to run some DCOM stuff for displaying its dialogue, but as it fails, it crashes.
 
R

Roger Abell [MVP]

A couple things here.

When having problems with the backend accounts of IIS and their ability to
support ASP, take a pure HTML page, no serverside script in it, and make a
copy with a .asp extensiion. Then at cmd prompt run iisreset (not necessary
but it guarantees your test is starting with fresh IIS loadup). Then
navigate
directly to the html page that has the asp extension.
If it fails this says it is due to IIS ability to use the asp.dll rather
than something
the asp page you had been trying was doing in its script.
You will get the 500 error in either case, so this cuts the chase in half
either way.

The account mentioned IWAM_* will be used on access to an anonymous web
with ASP if you have it configured to use high isolation
In the IIS mgmt UI, in the properties of the web try switching it down to a
less
secure isolation setting.
IWAM_* will fail login if you have removed Authenticated Users and
Interactive
from the Users group. If you have done this you need to add the IWAM_* to
the Users group.
Since the message you get is not about login type denied, the above may or
may not be (part of) your issue.
IIS will manage a number of user rights that IWAM_* needs, so those should
be OK.
Also, in the properties of the website in the IIS mgmt UI check to make sure
that you are allowing IIS to manage passwords.

Now, if you had changed the pwd of the IWAM_* account in the user management
interface, then you will have to set the same password in the COM+ component
for the website (in component services) or uninstall/reinstall IIS.
In fact, if you save your content somewhere, use add/remove to uninstall
IIS,
delete the inetpub directory and the wywtem32\inetsrv directory (rather as
much
as you can), and then reinstall, the IIS installer will try its best to get
everything
right again. IIS and IWAM_* do not require DCOM, but some things that you
do in ASP can cause this dependency.
 
G

Guest

I encounter exactly the same problem as Koterpillar, I search through the Knowledge base and it ask me to check if the NT AUTHORITY\Authenticated Users or NT AUTHORITY\INTERACTIVE entry has been removed from the Users group, but I found the two entries there. And it said as a last resort, I can re-create the IIS packages by deleting the old packages in Component Service(http://support.microsoft.com/default.aspx?scid=kb;en-us;309051). However, the Component Service just closed when I expand the node of Componet Service--> Computer. Does anyone has idea what's going on?

My Error Msg in Event Log:
Source: W3SVC
Event ID : 36
The server failed to load application '/LM/W3SVC/1/ROOT'. The error was 'Server execution failed
'.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top