RAPID PUBLISHING ARTICLES PROVIDE INFORMATION DIRECTLY FROM WITHIN THE MICROSOFT SUPPORT ORGANIZATION. THE INFORMATION CONTAINED HEREIN IS CREATED IN RESPONSE TO EMERGING OR UNIQUE TOPICS, OR IS INTENDED SUPPLEMENT OTHER KNOWLEDGE BASE INFORMATION.
↑ Back to the top
Installing the AD RMS role�after upgrading Windows Server 2003 x64 running IIS to Windows Server 2008 x64 or Windows Server 2008 R2 x64.
↑ Back to the top
The following error is received when attempting to access AD RMS Administration snap-in or when attempting to browse to other AD RMS web pages. .
A connection with the specified AD RMS cluster could not be established for the following reason:
Client found response content type of 'text/html; charset=utf-8', but expected 'text/xml'.
The request failed with the error message:
--
<html>
��� <head>
������� <title>Configuration Error</title>
������� <style>
�������� body {font-family:"Verdana";font-weight:normal;font-size: .7em;color:black;}
�������� p {font-family:"Verdana";font-weight:normal;color:black;margin-top: -5px}
�������� b {font-family:"Verdana";font-weight:bold;color:black;margin-top: -5px}
�������� H1 { font-family:"Verdana";font-weight:normal;font-size:18pt;color:red }
�������� H2 { font-family:"Verdana";font-weight:normal;font-size:14pt;color:maroon }
�������� pre {font-family:"Lucida Console";font-size: .9em}
�������� .marker {font-weight: bold; color: black;text-decoration: none;}
�������� .version {color: gray;}
�������� .error {margin-bottom: 10px;}
�������� .expandable { text-decoration:underline; font-weight:bold; color:navy; cursor:hand; }
������� </style>
��� </head>
�
��� <body bgcolor="white">
�
����������� <span><H1>Server Error in '/_wmcs/admin' Application.<hr width=100% size=1 color=silver></H1>
�
����������� <h2> <i>Configuration Error</i> </h2></span>
�
����������� <font face="Arial, Helvetica, Geneva, SunSans-Regular, sans-serif ">
�
����������� <b> Description: </b>An error occurred during the processing of a configuration file required to service this request. Please review the specific error details below and modify your configuration file appropriately.
����������� <br><br>
�
����������� <b> Parser Error Message: </b>The 'tempDirectory' attribute must be set to a valid absolute path.<br><br>
�
����������� <b>Source Error:</b> <br><br>
�
����������� <table width=100% bgcolor="#ffffcc">
�������������� <tr>
����������������� <td>
��������������������� <code><pre>
�
Line 17:�� </DRMS>
Line 18:�� <system.web>
<font color=red>Line 19:���� <compilation defaultLanguage="c#" debug="false" tempDirectory="D:\Windows\system32\rms\Temp\1">
</font>Line 20:������ <assemblies>
Line 21:�������� <add assembly="Microsoft.RightsManagementServices.Pipeline, Version=6.1.0.0, Culture=neutral, PublicKeyToken=31bf3856ad364e35, Custom=null" /></pre></code>
�
����������������� </td>
�������������� </tr>
����������� </table>
�
����������� <br>
�
����������� <b> Source File: </b> d:\inetpub\wwwroot\_wmcs\admin\web.config<b> �� Line: </b> 19
����������� <br><br>
�
����������� <hr width=100% size=1 color=silver>
�
����������� <b>Version Information:</b>�Microsoft .NET Framework Version:2.0.50727.3506; ASP.NET Version:2.0.50727.3506
�
����������� </font>
�
��� </body>
</html>
<!--
[UnauthorizedAccessException]: Access to the path 'D:\Windows\system32\rms\Temp\1' is denied.
�� at System.IO.__Error.WinIOError(Int32 errorCode, String maybeFullPath)
�� at System.IO.Directory.InternalCreateDirectory(String fullPath, String path, DirectorySecurity dirSecurity)
�� at System.IO.Directory.CreateDirectory(String path, DirectorySecurity directorySecurity)
�� at System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection)
[ConfigurationErrorsException]: The 'tempDirectory' attribute must be set to a valid absolute path. (d:\inetpub\wwwroot\_wmcs\admin\web.config line 19)
�� at System.Web.HttpRuntime.SetUpCodegenDirectory(CompilationSection compilationSection)
�� at System.Web.HttpRuntime.HostingInit(HostingEnvironmentFlags hostingFlags)
[HttpException]: The 'tempDirectory' attribute must be set to a valid absolute path. (d:\inetpub\wwwroot\_wmcs\admin\web.config line 19)
�� at System.Web.HttpRuntime.FirstRequestInit(HttpContext context)
�� at System.Web.HttpRuntime.EnsureFirstRequestInit(HttpContext context)
�� at System.Web.HttpRuntime.ProcessRequestInternal(HttpWorkerRequest wr)
-->
--.
---------------------------
OK��
---------------------------
↑ Back to the top
The reason is that IIS is still running in WOW64 mode.� Starting with Windows Server 2008 x64, AD RMS runs using the native mode of IIS and not in WOW64 mode.
↑ Back to the top
To workaround this issue use the following steps.
1.� Open an elevated cmd prompt and navigate to %SystemDrive%\Inetpub\AdminScripts
2.� From the command prompt run the following:
������������������������cscript.exe adsutil.vbs set W3SVC/AppPools/Enable32BitAppOnWin64 "false"
↑ Back to the top
MICROSOFT AND/OR ITS SUPPLIERS MAKE NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY, RELIABILITY OR ACCURACY OF THE INFORMATION CONTAINED IN THE DOCUMENTS AND RELATED GRAPHICS PUBLISHED ON THIS WEBSITE (THE �MATERIALS�) FOR ANY PURPOSE. THE MATERIALS MAY INCLUDE TECHNICAL INACCURACIES OR TYPOGRAPHICAL ERRORS AND MAY BE REVISED AT ANY TIME WITHOUT NOTICE.
TO THE MAXIMUM EXTENT PERMITTED BY APPLICABLE LAW, MICROSOFT AND/OR ITS SUPPLIERS DISCLAIM AND EXCLUDE ALL REPRESENTATIONS, WARRANTIES, AND CONDITIONS WHETHER EXPRESS, IMPLIED OR STATUTORY, INCLUDING BUT NOT LIMITED TO REPRESENTATIONS, WARRANTIES, OR CONDITIONS OF TITLE, NON INFRINGEMENT, SATISFACTORY CONDITION OR QUALITY, MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE, WITH RESPECT TO THE MATERIALS.
↑ Back to the top
Note This is a "FAST PUBLISH" article created directly from within the Microsoft support organization. The information contained herein is provided as-is in response to emerging issues. As a result of the speed in making it available, the materials may include typographical errors and may be revised at any time without notice. See
Terms of Use for other considerations.
↑ Back to the top