如何解决如何在Azure下的Windows Server 2012 R2下向IIS添加跟踪
我们当前正在努力将跟踪添加到Azure下Windows Server 2012 R2上的角色。我们一直在Avanti's对该过程进行描述,但是始终遇到失败的2/3失败。我们进入显示“ Web服务器(IIS)> Web服务器>运行状况和诊断>跟踪”的“功能安装”的屏幕,只是显示以下文本:
在指定服务器上添加或删除功能的请求失败。一个或多个角色,角色服务或功能的安装失败。错误:0x800f0922
为方便起见,下面提供了”
的略述版本:
DeploymentConfigTemplate.xml
我们正在研究尽可能多的7 Ways to 0x800f0922 Windows 10 Error。欢迎其他建议。
LATER
<Objs Version="1.1.0.1" xmlns="http://schemas.microsoft.com/powershell/2004/04">
<Obj RefId="0">
<TN RefId="0">
<T>System.Collections.ObjectModel.Collection`1[[System.Management.Automation.PSObject,System.Management.Automation,Version=3.0.0.0,Culture=neutral,PublicKeyToken=31bf3856ad364e35]]</T>
<T>System.Object</T>
</TN>
<LST>
<Obj RefId="1">
<TN RefId="1">
<T>Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/ServerManager/ServerComponent_Web_Http_Tracing</T>
<T>Microsoft.Management.Infrastructure.CimInstance#ROOT/Microsoft/Windows/ServerManager/MSFT_ServerManagerServerComponentDescriptor</T>
<T>Microsoft.Management.Infrastructure.CimInstance#ServerComponent_Web_Http_Tracing</T>
<T>Microsoft.Management.Infrastructure.CimInstance#MSFT_ServerManagerServerComponentDescriptor</T>
<T>Microsoft.Management.Infrastructure.CimInstance</T>
<T>System.Object</T>
</TN>
<ToString>ServerComponent_Web_Http_Tracing</ToString>
<Props>
<S N="PSComputerName">SOME-COMPUTER-NAME</S>
</Props>
<MS>
<I32 N="NumericId">159</I32>
<Obj N="__ClassMetadata" RefId="2">
<TN RefId="2">
<T>System.Collections.ArrayList</T>
<T>System.Object</T>
</TN>
<LST>
<Obj RefId="3">
<MS>
<S N="ClassName">MSFT_ServerManagerServerComponentDescriptor</S>
<S N="Namespace">ROOT/Microsoft/Windows/ServerManager</S>
<S N="ServerName">SOME-COMPUTER-NAME</S>
<I32 N="Hash">1884695400</I32>
<S N="MiXml"><CLASS NAME="MSFT_ServerManagerServerComponentDescriptor"><QUALIFIER NAME="dynamic" TYPE="boolean"><VALUE>true</VALUE></QUALIFIER><QUALIFIER NAME="locale" TYPE="sint32" TOSUBCLASS="false"><VALUE>1033</VALUE></QUALIFIER><QUALIFIER NAME="provider" TYPE="string"><VALUE>deploymentprovider</VALUE></QUALIFIER></CLASS></S>
</MS>
</Obj>
<Obj RefId="4">
<MS>
<S N="ClassName">ServerComponent_Web_Http_Tracing</S>
<S N="Namespace">ROOT/Microsoft/Windows/ServerManager</S>
<S N="ServerName">SOME-COMPUTER-NAME</S>
<I32 N="Hash">1983160024</I32>
<S N="MiXml"><CLASS NAME="ServerComponent_Web_Http_Tracing" SUPERCLASS="MSFT_ServerManagerServerComponentDescriptor"><QUALIFIER NAME="dynamic" TYPE="boolean"><VALUE>true</VALUE></QUALIFIER><QUALIFIER NAME="provider" TYPE="string"><VALUE>deploymentprovider</VALUE></QUALIFIER><QUALIFIER NAME="ClassVersion" TYPE="string"><VALUE>0.0.0</VALUE></QUALIFIER><QUALIFIER NAME="DisplayName" TYPE="string" TRANSLATABLE="true"><VALUE>Web-Http-Tracing</VALUE></QUALIFIER></CLASS></S>
</MS>
</Obj>
</LST>
</Obj>
</MS>
</Obj>
</LST>
</Obj>
</Objs>
CBS.log文件为5.3MB。下一步可以尝试DISM。
C:\bin>sfc /scannow
Beginning system scan. This process will take some time.
Beginning verification phase of system scan.
Verification 100% complete.
Windows Resource Protection found corrupt files but was unable to fix some
of them. Details are included in the CBS.Log windir\Logs\CBS\CBS.log. For
example C:\Windows\Logs\CBS\CBS.log. Note that logging is currently not
supported in offline servicing scenarios.
最新动态
不。仍未安装。有人吗?
解决方法
1)确保计算机中有足够的空间。
2)删除Windows Temp文件夹的内容(通常为C:\ Windows \ Temp),然后再次尝试安装该功能。
3)关闭专用和公用网络的防火墙。
4)确保已安装最新版本的NET Framework。
5)请在Server 2012R2上运行Windows Update故障排除程序,检查其是否可以解决问题
6)尝试重新安装Windows进程激活服务。
7)确保在安装IIS功能时禁用共享配置。
完成所有操作后,重新启动机器,然后重试以安装功能。
,为了能够致电支持部门,我们花了几天的时间生成日志并将日志发送给Microsoft支持工程师,结果如下:
... please create the folder C:\inetpub\logs\FailedReqLogFiles on your problematic machine.
Then please right click this folder,choose Properties,then under Security tab,assign the following permissions:
System - Full Control
Administrators - Full Control
IIS_IUSRS - List folder/read data,Create files/ write data,create folders/ append data,write attributes,write extend attributes,delete subfolders and files and delete.
这足以启用安装跟踪角色。在此过程中,一个特别困难和令人不安的500期问题消失了。因此,毕竟经过了反复的尝试,我们根本不必使用FRT模块。
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。