Windows Server 2012 R2 安装.Net Framework 3.5失败

帅 王 1 信誉分
2024-05-10T01:41:18.5333333+00:00

Hi

最近在一台可以连接外部网络的Windows Server 2012 R2的服务器(受所要安装的软件版本限制,只能在2012上)上安装.Net 3.5时总是失败:方式如下:

1、使用服务管理器中添加角色的方式,在指定了备用源文件路经后,报错“安装一个或多个角色、角色服务或功能失败。找不到源文件...“。

2、下载完整版的.Net 3.5离线安装包,备用源文件路径指向安装包后仍是该错误;

3、DISM安装也是报错”错误:0x800f0906 无法下载源文件“;

4、使用sfc扫描修复后,问题依旧;

5、事件查看器中找到1310警告日志,根据网上查到的KB https://www.alitajran.com/event-1310-asp-net-40303190/ 看了下除了TLS其他都发现问题。

在另一台2012的服务器上即使不指定备用源文件路径,也可以安装成功,不知道为啥这台就是死活安装不了,请问是什么问题导致的,是否有排查方案,是否可以解决?

谢谢~

Event code: 3008

Event message: 发生了配置错误。

Event time: 2024/5/9 17:40:42

Event time (UTC): 2024/5/9 9:40:42

Event ID: 4ffd8f82c183411ab2fc310379f392cc

Event sequence: 1

Event occurrence: 1

Event detail code: 0

Application information:

Application domain: /LM/W3SVC/1/ROOT/owa/Calendar-2738-133597212417956210 

Trust level: Full 

Application Virtual Path: /owa/Calendar 

Application Path: C:\Program Files\Microsoft\Exchange Server\V15\FrontEnd\HttpProxy\owa\ 

Machine name: MHMAIL01 
```Process information: 

```yaml
Process ID: 31892 

Process name: w3wp.exe 

Account name: NT AUTHORITY\SYSTEM 
```Exception information: 

```dockerfile
Exception type: ConfigurationErrorsException 

Exception message: 未能加载文件或程序集“DKEYWebAuth, Version=1.0.0.0, Culture=neutral, PublicKeyToken=12f9ceed9acb9e48”或它的某一个依赖项。系统找不到指定的文件。
```   在 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)

   在 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit)

   在 System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement)

   在 System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement)

   在 System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)

   在 System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)

   在 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)

   在 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)

   在 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)

   在 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

未能加载文件或程序集“DKEYWebAuth, Version=1.0.0.0, Culture=neutral, PublicKeyToken=12f9ceed9acb9e48”或它的某一个依赖项。系统找不到指定的文件。

   在 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMarkHandle stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName, ObjectHandleOnStack type)

   在 System.RuntimeTypeHandle.GetTypeByName(String name, Boolean throwOnError, Boolean ignoreCase, Boolean reflectionOnly, StackCrawlMark& stackMark, IntPtr pPrivHostBinder, Boolean loadTypeFromPartialName)

   在 System.Type.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)

   在 System.Web.Compilation.BuildManager.GetType(String typeName, Boolean throwOnError, Boolean ignoreCase)

   在 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)

 

 

Request information: 

```ruby
Request URL: https://localhost:443/OWA/Calendar/HealthMailboxe6e29680046247f8a1e7246874df121c@ztgame.com/calendar/calendar.html 

Request path: /OWA/Calendar/HealthMailboxe6e29680046247f8a1e7246874df121c@ztgame.com/calendar/calendar.html 

User host address: ::1 

User:  

Is authenticated: False 

Authentication Type:  

Thread account name: NT AUTHORITY\SYSTEM 
```Thread information: 

```scala
Thread ID: 170 

Thread account name: NT AUTHORITY\SYSTEM 

Is impersonating: False 

Stack trace:    在 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, XmlNode node, Boolean checkAptcaBit, Boolean ignoreCase)
```   在 System.Web.Configuration.ConfigUtil.GetType(String typeName, String propertyName, ConfigurationElement configElement, Boolean checkAptcaBit)

   在 System.Web.Configuration.Common.ModulesEntry.SecureGetType(String typeName, String propertyName, ConfigurationElement configElement)

   在 System.Web.Configuration.Common.ModulesEntry..ctor(String name, String typeName, String propertyName, ConfigurationElement configElement)

   在 System.Web.HttpApplication.BuildIntegratedModuleCollection(List`1 moduleList)

   在 System.Web.HttpApplication.GetModuleCollection(IntPtr appContext)

   在 System.Web.HttpApplication.RegisterEventSubscriptionsWithIIS(IntPtr appContext, HttpContext context, MethodInfo[] handlers)

   在 System.Web.HttpApplication.InitSpecial(HttpApplicationState state, MethodInfo[] handlers, IntPtr appContext, HttpContext context)

   在 System.Web.HttpApplicationFactory.GetSpecialApplicationInstance(IntPtr appContext, HttpContext context)

   在 System.Web.Hosting.PipelineRuntime.InitializeApplication(IntPtr appContext)

 

 

Custom event details: 

.NET 运行时
.NET 运行时
.NET: 基于 .NET 软件框架的 Microsoft 技术。运行时: 运行未编译为机器语言的应用所需的环境。
45 个问题
0 个注释 无注释
{count} 票

1 个答案

排序依据: 非常有帮助
  1. Jiachen Li-MSFT 27,241 信誉分 Microsoft 供应商
    2024-05-10T08:24:45.45+00:00

    下载一个windows server 2012 r2的ISO镜像文件,然后尝试使用下面的命令来安装.NET Framework 3.5.

    DISM /Online /Enable-Feature /FeatureName:NetFx3 /All /LimitAccess /Source:D:\sources\sxs