Microsoft KB Archive/818486

= XCCC: &quot;Server Error in '/OMA' Application&quot; Error Message When You View the Outlook Mobile Access Web Site =

Article ID: 818486

Article Last Modified on 10/25/2007

-

APPLIES TO


 * Microsoft Exchange Server 2003 Enterprise Edition
 * Microsoft Exchange Server 2003 Standard Edition

-



SYMPTOMS
When you try to view the Microsoft Outlook Mobile Access Web site on a server after you install Exchange Server 2003 on that server, you receive an error message that is similar to the following:

Server Error in '/OMA' Application.

Access to the path &quot; :\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma\4707b1f2\a6dd9810&quot; is denied.

Description: An unhandled exception occurred during the execution of the current Web request. Please review the stack trace for more information about the error and where it originated in the code.

Exception Details: System.UnauthorizedAccessException: Access to the path &quot; :\WINDOWS\Microsoft.NET\Framework\v1.1.4322\Temporary ASP.NET Files\oma\4707b1f2\a6dd9810&quot; is denied. ASP.NET is not authorized to access the requested resource. Consider granting access rights to the resource to the ASP.NET request identity. ASP.NET has a base process identity (typically {MACHINE}\ASPNET on IIS 5 or Network Service on IIS 6) that is used if the application is not impersonating. If the application is impersonating via , the identity will be the anonymous user (typically IUSR_MACHINENAME) or the authenticated request user.



CAUSE
This problem occurs when you install the Microsoft .NET Framework on a server that is running Microsoft Windows 2000 or when you install Microsoft ASP.NET on a server that is running Microsoft Windows Server 2003 before you promote the server to the role of domain controller. When you promote the server, the access control list (ACL) permissions that you configured during the .NET Framework or during the ASP.NET installation are modified, and all ASP.NET applications are affected by this change. You must install ASP.NET after you promote the computer to a domain controller for applications that require ASP.NET. This problem may also occur if you upgrade a Windows 2000 domain controller to a Windows Server 2003 domain controller.

Note A configuration where Exchange Server 2003 is installed on a domain controller is sometimes referred to as a onebox configuration.



RESOLUTION
To resolve this problem, use the ASP.NET IIS Registration Tool (Aspnet_regiis.exe) to reset the ASP.NET ACLs. To run Aspnet_regiis.exe, follow these steps:
 * 1) On the domain controller, click Start, and then click Run.
 * 2) In the Open box, type cmd, and then click OK.
 * 3) Type cd  :\Windows\Microsoft.NET\Framework, where   is the drive that Windows is installed on, and then press ENTER.
 * 4) Type dir, and then press ENTER.
 * 5) Note the folder names that are listed, and then locate the folder name that begins with the letter v.

This folder indicates the version of .NET Framework that is installed on your computer.
 * 1) Type cd , where   is the folder that you noted in step 5, and then press ENTER.
 * 2) Type aspnet_regiis.exe -i, and then press ENTER.

.



WORKAROUND
To work around this problem, install Exchange Server 2003 on a server that is running Windows 2000 in the following sequence:


 * 1) Install Windows 2000.
 * 2) Promote the server to the role of domain controller.
 * 3) Install the .NET Framework.
 * 4) Install Exchange Server 2003.

To work around this problem, install Exchange Server 2003 on Windows Server 2003 in the following sequence:
 * 1) Install Windows Server 2003.
 * 2) Promote the server to the role of domain controller.
 * 3) Install ASP.NET.
 * 4) Install Exchange Server 2003.



STATUS
Microsoft has confirmed that this is a problem in the Microsoft products that are listed at the beginning of this article.



MORE INFORMATION
Promoting a domain controller after you install the .NET Framework or ASP.NET breaks the Exchange Server 2003 features that depend on ASP.NET. ASP.NET is required for certain Exchange Server 2003 features such as Outlook Mobile Access.

For more information about the ASP.NET IIS Registration Tool, visit the following Microsoft Web site: http://msdn2.microsoft.com/en-us/library/k6h9cz8h(VS.80).aspx

Additional query words: OMA

Keywords: kberrmsg kbprb KB818486

-

[mailto:TECHNET@MICROSOFT.COM Send feedback to Microsoft]

© Microsoft Corporation. All rights reserved.