Home : HTTP Response Code: 500 when Accessing .NET Objects Hosted in IIS
Q49666 - ERRMSG: HTTP Response Code: 500 when Accessing .NET Objects Hosted in IIS

HTTP Response Code: 500 when Accessing .NET Objects Hosted in IIS

 

Contents

  1. SYMPTOMS
  2. CAUSE
  3. RESOLUTION

SYMPTOMS

When acessing .NET objects hosted in IIS, you may get a runtime exception and the IIS server returning a response code of 500. For example, when running the Accessing .NET Components Hosted in Internet Information Server (IIS) from Java example, the following exception occurs:

CAUSE

This occurs when IIS is installed on a domain controller or backup domain controller where the user specified to run the external process is not a local user. See Article 315158 for more details.

RESOLUTION

The user running the external IIS process needs to be changed to the SYSTEM user. To do this:

  1. Open the Machine.config file. The path to the file is:
    %Systemroot%\Microsoft.NET\Framework\v1.0.3705\CONFIG.

  2. In the section of the Machine.config file, change the userName attribute to SYSTEM. The password attribute should already have the value AutoGenerate.

  3. Save the changes to the Machine.config file, and restart IIS and try the application again.

Status

This is a reported bug in ASP.NET and does not require any fixes with J-Integra for .NET. See Microsoft Article 315158 for the status of the bug.

Related Articles
No Related Articles Available.

Article Attachments
No Attachments Available.

Related External Links
No Related Links Available.
Help us improve this article...
What did you think of this article?

poor 
1
2
3
4
5
6
7
8
9
10

 excellent
Tell us why you rated the content this way. (optional)
 
Approved Comments...
No user comments available for this article.
Created on 6/23/2006.
Last Modified on 7/10/2006.
Last Modified by No Author Name Available!.
Article has been viewed 9274 times.
Rated 5 out of 10 based on 5 votes.
Print Article
Email Article