PDA

View Full Version : asp pages shown on localhost - after restart only


avivit
04-28-2004, 09:33 AM
Hi,

Recently changes were made to my pc.
So I am now using another profile (which is a copy of the old profile),
in order to enter a different domain when signing in to windows xp.

Since those changes, when I am trying to view asp pages through localhost, I am getting a 500 error, saying the page can not be displayed.
After shutting down and restarting, it works again (maybe a shutdown is not necessary, but only a reatsrt. I haven't tried).

When it was not working, I have checked the IIS and the directory "WEB SITES" state was "Running".

I do not remember anything regarding IIS, as I installed it a long time ago and once it worked, I did not have to do anything more.
I do not want to reinstall, as I do not remember how, and it will take me a lor of time now.

Any suggestion?

Thanks

Roy Sinclair
04-28-2004, 04:41 PM
In IE go to Tools > Internet Options > Advanced, scroll down the checkbox labeled "Show Friendly HTTP Error Messages" and clear it.

Now your error message will be complete instead of truncated (friendly errors hah!) and you'll be able to see what the server thinks is wrong and not just the fact that the server doesn't like what you tried.

My guess is that you've got a file permissions problem on one or more of the ASP files.

avivit
05-02-2004, 08:34 AM
Thanks Roy,
but the problem is not clear to me.
I followed your instructions, and the msg I get, for
anything I try to load using localhost 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."

As I said before, restart usually solves the problem.

Thanks

Roy Sinclair
05-03-2004, 04:45 PM
Do you know how to view the "Event Log"?

It's telling you to look there for further information (yes, it's the electronic version of the "run-around").

M@rco
05-04-2004, 01:11 AM
Assuming you've made the change mentioned above to the IE options, I think the problem lies with the IIS configuration. There is an option (I'm *not* talking about custom error pages) that lets you choose whether full error descriptions or the text that you report is displayed. You need to alter this so that the full error description is shown - I think the option is on a "debugging" tab, but I couldn't swear to it (I don't have IIS installed at this machine so I can't check).

avivit
05-04-2004, 10:45 AM
Thanks for both of your replies.

Roy, In the event log it says:
"The server failed to load application '/LM/W3SVC/1/ROOT'. The error was 'The server process could not be started because the configured identity is incorrect. Check the username and password."

Marcus - There is no "Debugging" tab.

avivit
05-04-2004, 10:59 AM
Also an errir from the very same time:
DCOM got error "Overlapped I/O operation is in progress. " and was unable to logon .\[pc name(or something like it)] in order to run the server:
{...numbers...}

glenngv
05-04-2004, 11:24 AM
Marcus - There is no "Debugging" tab.
Go to Web Site Properties > Home Directory tab > Configuration button > App Debugging tab > Check "Send detailed ASP error messages to client" option

avivit
05-04-2004, 11:37 AM
I think the following article is describing exactly what I should do,
after you helped me find the errors documentations.
http://support.microsoft.com/?kbid=297989
http://www.experts-exchange.com/Web/Q_20899149.html

Now, I try to run (start->cmd->):
cscript.exe c:/inetpub/AdminScripts/adsutil.vbs get w3svc/wamuserpass
OR
cscript.exe c:/inetpub/AdminScripts/adsutil.vbs get w3svc/anonymoususerpass

To see the current username/password of IUSR,IWAM.
I thought it shouls reflect windows username and password but it is not.
Anyway, I have set the IUSR account password to the one that is in IWAM account (not that I have idea what they are), and maybe they were the same before, I changed the password by mistake before seeing it.
Afterwards, I resatrted IIS by:
Start menu->Run->iisreset->OK
and it now works.
I do not work which one of the 2 operations did the job, but
I hope that tomorrow morning, after the first restart it will work again.
Will let you know.

Thanks guys

M@rco
05-04-2004, 12:22 PM
Go to Web Site Properties > Home Directory tab > Configuration button > App Debugging tab > Check "Send detailed ASP error messages to client" optionYes, that's the one. Cheers! ;)

Roelf
05-04-2004, 12:46 PM
I hope that tomorrow morning, after the first restart it will work again.
what? Aren't you gonna restart now just to see if things work???? :eek:

avivit
05-04-2004, 12:59 PM
No, I am not,
as until now, even when I had this problem, a 2nd restart solved the problem.
So restarting now will not say that it is ok now.

Somehow, every first restart in the morning caused that.

avivit
05-18-2004, 09:11 AM
Well,
Eventually, it did not work.
But I found another solution for that, that currently satisfies me.
Every reastart, I have to type:
strat->cmd->iisreset.

This reastarts IIS, and is working then.

I prefer that then re-installing IIS.
I use this for my own use (localhost) for testing,
so this is enough for me.

Thanks very much