.Net, ASP.Net, C#, VB.net, SQL Server, Xml, CSS, Design Patterns related tips, tricks, code snippets, articles, links, thoughts, etc. from Binu & Subi Thayamkery.

Binu Thayamkery is a seasoned software architect with more than 13 years of experience in developing enterprise grade connected systems using Microsoft Technologies. In his current position as a lead consultant-solution architect with Prudential Financial, he is working on architecture of next generation investment reporting framework using .net 3.5/WCF/AJAX, etc. He holds a Masters Degree in Computer Science from Colorado State University. Subi Thayamkery is an experienced software developer with more than 8 years of developing various application software systems ranging from workflow automation systems to compliance management tools. She currently works as a technology consultant for Prudential Financial where she helps develop a new system for corportate governance department. She holds an Electrical Engineering degree from New Jersey Institute of Technology.

Tuesday, January 31, 2006

HTTP 500 - Internal server error

This is no fun message ! When you get this message, a simple restart of W3 services might fix your issues. When you are dealing with ASP.net, some time you end up installing asp.net on your server again ( aspnet_regiis -i from your current framework version sub directory ), in my case, it showed up for no "apparent" reason ( server: Win 2k, .NET 1.1 ). Server Event log showed this message,
Source: DCOM
Error: DCOM got error "Logon Failure: unknown username or bad password" Unable to logon .\IWAM_SERVERNAME in order to run the server.



Source: W3SVC
Error: "The server failed to load application '/LM/W3SVC/1/Root/op.' The error was 'The server process could not be started because the configured identity is incorrect. Check the username and password.


I did some basic test pages ( both aspx and asp ) and found out that both the pages were not serving from the server. (html pages were ok).

After some research (read Googling:) this is what I found out,
"Configured Identity Is Incorrect for IWAM Account!!"
and what you need to resolve this issue is to sync up IUSR and IWAM accounts in IIS metabase. I followed the steps in this MS KB article and the issue was resolved.

http://support.microsoft.com/default.aspx?scid=kb;%5BLN%5D;Q297989

0 comments: