Saturday, March 24, 2012

Old asp pages do not run

After I have installed .NET Framework 1.1 and the other necessary components all my aspx pages works fine, but is not the case of my old asp pages that do not run. When I try to load an asp page the browser shows the 'HTTP 500 internal error server' message. How can I solve this problem?> How can I solve this problem?

well for one thing you can make sure 'friendly' error messages are switched off in your browser. hopefullly you'll get a descriptive error message that way.
I have checked it and I have already switched ON the 'show descriptive messages of http errors'
and you still only get that message?
Although the message is more friendly says the same in other words (internal server error).

I have viwed in the viewfinder of events a more friendly message but I continue do not know how can I solve it. The error that produces the browser when I try to load an asp page is: The logon failure to start the session .\IWAM_pcName in order to execute the server. Why the server produces this error when I try to load an asp page in the browser?
My aspx pages works fine. This error has appeared after I have installed ASP.NET, after that my asp pages worked fine.
> Although the message is more friendly says the same in other words (internal server error).

I could get really annoyed at this point, but I'll just shout quietly

WHAT IS THE EXACT ERROR MESSAGE??
The exact error message in the browser is:

Error de aplicación en el servidor
Error al cargar una aplicación durante el procesamiento de su petición. Consulte el registro de sucesos para más información. Póngase en contacto con su administrador para asistencia.

If you do not understand this, I will try to translate it:

Error of application in the server
Error when loading an application during the processing of its request. Consult the registry of events for more information. Contact with its administrator for attendance.

I suppose that now you know perfectly what is the problem ;-)
> I suppose that now you know perfectly what is the problem ;-)

no, because that's one of those generic "don't scare the user" error mesages. Like it says, check your system error log.
Well, like I have said the error in the viewfinder of events (or system error log) looks like:

DCOM has obtained an error "Error of beginning of session: name of unknown user or incorrect password "and has not been able to initiate the session \IWAM_PC to execute the server
{3D14228D-FBE1-11D0-995D-00C04FD919C1}

IWAM_PC is a default user defined in Windows 2000 Server in order to initiate the account of process IIS (Internet Information Server), as their description shows.
Anyway I can not understand why my aspx pages works and not the asp pages.
OK, now I'm fairly convinced that this is covered at www.aspfaq.com. drop IWAM into the search feature and you should get an explanation

the reason ASPX works and ASP doesn't, in this case, is that they follow different execution models
Thank you Atrax, I' m going to check this faq
Well, I' m on my way. I have just found out the exact solution in the knowledge base of microsoft. I understand all the steps to solve the problem except the step number 1 :-(. Is as follow:

Method 1: Change the Passwords in User Manager or Users and Groups to Match the IIS Metabase Password

1.In the Command window, locate the folder that contains the Adsutil.vbs file. Use the Adsutil.vbs tool to obtain the passwords for the IWAM and IUSR accounts from the IIS metabase.

2. ...
3. ...

Where is the Command window? And the Adsutil.vbs and Adsutil.vbs tool? I' ve been searching them but I don't find it.

The whole article: http://support.microsoft.com/default.aspx?scid=kb;en-us;297989
> Where is the Command window?

start->run->cmd.exe

as for adsutil.vbs, you may need to do a search on it if you haven't already
GOOD !! :-), the problem is solved !
I had to write in the correct folder (in the Command window):
cscript.exe adsutil.vbs get w3svc/wamuserpass
And the password required for the IWAM acount in IIS has appeared.

I think that I won't change anymore this password in windows 2000 :-)

Thank you very much !

0 comments:

Post a Comment