本文介绍适用于Microsoft AppFabric 1.1 for Windows Server的累积更新 7 (KB 3092423) 。 此更新包修复了影响 AppFabric 1.1 提供的缓存和托管服务的几个问题。 有关这些问题的详细信息,请参阅“更多信息”部分。
此累积更新包括AppFabric 1.1 for Windows Server的早期累积更新中包含的所有功能和修补程序。 有关更多信息,请单击下面的文章编号,以查看 Microsoft 知识库中相应的文章:
- 3042099:Microsoft AppFabric 1.1 for Windows Server的累积更新 6
- 2932678:Microsoft AppFabric 1.1 for Windows Server的累积更新 5
- 2800726:Microsoft AppFabric 1.1 for Windows Server的累积更新 4
- 2787717:Microsoft AppFabric 1.1 for Windows Server的累积更新 3
- 2716015:Microsoft AppFabric 1.1 for Windows Server的累积更新 2
- 2671763:Microsoft AppFabric 1.1 for Windows Server的累积更新 1
如何获取Microsoft AppFabric 1.1 for Windows Server的累积更新包 7
下载信息
从 Microsoft 下载中心可以下载以下文件:
立即下载包。
有关如何下载 Microsoft 支持文件的更多信息,请单击以下文章编号,以查看 Microsoft 知识库中相应的文章:
119591 如何从联机服务获取Microsoft支持文件,Microsoft扫描此文件中是否存在病毒。 Microsoft 使用的是文件发布时可以获得的最新病毒检测软件。 该文件存储在安全性得到增强的服务器上,以防止对文件进行未经授权的更改。
详细信息
此更新中修复的问题
AppFabric 缓存
问题 1
AppFabric 缓存服务间歇性崩溃,出现以下异常:
注意
{System.Runtime.CallbackException:异步回调引发异常。
>--- System.NullReferenceException:对象引用未设置为对象的实例。
at System.Runtime.AsyncResult.End[TAsyncResult] (IAsyncResult 结果)
at System.ServiceModel.Channels.CommunicationObject.EndOpen (IAsyncResult 结果)
at Microsoft.ApplicationServer.Caching.WcfServerChannel.OnOpen (IAsyncResult 结果)
at System.Runtime.AsyncResult.Complete (boolean completedSynchronously)
- 内部异常堆栈跟踪结束 -
at System.Runtime.AsyncResult.Complete (boolean completedSynchronously)
at System.Runtime.AsyncResult.AsyncCompletionWrapperCallback (IAsyncResult 结果)
at System.Runtime.Fx.AsyncThunk.UnhandledExceptionFrame (IAsyncResult 结果)
at System.Runtime.AsyncResult.Complete (boolean completedSynchronously)
问题 2
将 Stop-CacheHost AppFabric PowerShell 命令与 -Graceful 开关一起运行时,无法停止缓存主机,并收到以下错误消息:
注意
异常类型:System.Collections.Generic.KeyNotFoundException
消息:字典中不存在给定键。
InnerException: <无>
) 生成的 StackTrace (:
SP IP 函数
000000001F28DAA0 000007FEF611C96F mscorlib_ni!System.Collections.Generic.Dictionary'2[[System.__Canon, mscorlib],[System.Boolean, mscorlib]]].get_Item (System.__Canon) +0x4098ff
000000001F28DAD0 000007FF007A860B Microsoft_ApplicationServer_Caching_Management!Microsoft.ApplicationServer.Caching.AdminApi.CacheAdmin.GetNoOfNodesInServiceState (System.Collections.Generic.List'1<Microsoft.ApplicationServer.Caching.IHostConfiguration> ByRef, Microsoft.ApplicationServer.Caching.AdminApi.ProgressDelegate、Microsoft.ApplicationServer.Caching.AdminApi.ServiceStatus) +0xfb 000000001F28DBD0 000007FF007A83F1 Microsoft_ApplicationServer_Caching_Management!
问题 3
运行 Register-CacheHost AppFabric PowerShell 命令时,该命令将失败,并收到以下错误消息:
注意
Register-CacheHost:ErrorCode<PortAlreadyInUseError>:SubStatus<ES0001>:TCP 端口 22234 已在使用中。
注意 如果缓存端口绑定到任何 IP 地址,通常会发生此失败。
问题 4
应用此累积更新后,AppFabric 将使用非阻止垃圾回收 (后台服务器垃圾回收) 。 非阻止垃圾回收是 Microsoft .NET Framework 4.5 中的一项新功能。
若要启用此功能,请执行以下步骤:
将服务器升级到 .NET Framework 4.5。
安装累积更新包。
在 DistributedCacheService.exe.config 文件中使用以下设置启用修补程序:
<appSettings><add key="backgroundGC" value="true"/></appSettings>重启AppFabric 缓存服务,使更新生效。
注意 默认情况下,DistributedCacheService.exe.config 文件位于以下目录下:
%ProgramFiles%\AppFabric 1.1 for Windows Server
已知问题
卸载 Microsoft AppFabric 1.1 的任何累积更新时,可能会看到一个对话框,指出“你尝试使用的功能位于不可用的网络资源上”。在这种情况下,将不会卸载累积更新。 若要解决此问题,请按照下列步骤操作:
- 从此处下载Microsoft AppFabric 1.1 for Windows Server。
- 打开命令提示符,然后将 .exe 文件与“/?”一起运行 选项。 例如,运行 WindowServerAppFabricSetup_x86.exe /?。
- 在显示时,将具有许多安装命令的“AppFabric 1.1 for Windows Server安装向导”对话框保持打开状态。
- 使用 Windows 资源管理器移动到启动驱动器的根文件夹。 可以看到具有随机生成名称的新创建的临时文件夹,例如“C:\ced4e5c208fd0a43edc4a195edfe47”。
- 将该临时目录复制到新位置,例如“c:\appfabrictempfiles”。
- 关闭“AppFabric 1.1 for Windows Server安装向导”对话框。
- 当你现在尝试卸载累积更新并提示输入 MSI 的位置时,你可以将其指向你创建的临时目录副本中的“packages”子文件夹, (例如“c:\appfabrictempfiles\packages”) ,卸载应成功。
系统要求
支持的操作系统
可以在以下 Windows 操作系统上应用此更新:
- Windows Vista Service Pack 2 (SP2)
- Windows 7
- Windows 8
- Windows Server 2008
- Windows Server 2008 R2
- Windows Server 2012
AppFabric 可以安装在以下操作系统上:
- Windows Server 2012
- Windows Server 2008 R2
- Windows Server 2008 R2 SP2
可以安装 AppFabric,以便在以下操作系统上进行开发和测试:
- Windows 8
- Windows 7
- Windows Vista SP2
支持的体系结构
- 32 位 (x86)
- 64 位 (x64)
权限要求
在应用此累积更新之前,必须在安装软件的计算机上具有管理凭据。
先决条件
若要应用此累积更新包,必须安装以下产品:
- AppFabric 1.1 for Windows Server
- Microsoft.NET Framework 4.5
重启要求
应用此累积更新包后,可能必须重启计算机。
文件信息
此累积更新包的英文版具有下表中列出的文件属性 (或更高版本的文件属性) 。 这些文件的日期和时间以协调世界时 (UTC) 格式列出。 在查看文件信息时,文件时间将转换为本地时间。 要了解 UTC 与本地时间之间的时差,请使用“控制面板”中“日期和时间”项中的“时区”选项卡。
对于所有受支持的基于 x86 的 Microsoft AppFabric 1.1 for Windows Server
| 文件名 | 文件版本 | 文件大小 | 日期 | 时间 | 平台 |
|---|---|---|---|---|---|
| DistributedCacheAdministration.psd1 | 不适用 | 1 KB | 2015 年 8 月 31 日 | 11:49 | 不适用 |
| DistributedCacheConfiguration.psd1 | 不适用 | 1 KB | 2015 年 8 月 31 日 | 11:49 | 不适用 |
| DistributedCacheAdministration.psm1 | 不适用 | 14 KB | 2015 年 9 月 1 日 | 21:40 | 不适用 |
| DistributedCacheConfiguration.psm1 | 不适用 | 12 KB | 2015 年 9 月 1 日 | 21:40 | 不适用 |
| Microsoft.ApplicationServer.Caching.Configuration.dll-Help.xml | 不适用 | 70 KB | 2015 年 8 月 31 日 | 1,156 | 不适用 |
| Setup.exe.config | 不适用 | 1 KB | 2015 年 8 月 31 日 | 11:58 | 不适用 |
| Microsoft.ApplicationServer.Caching.Client.dll | 1.0.4657.2 | 175 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.ApplicationServer.Caching.Core.dll | 1.0.4657.2 | 825 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.ApplicationServer.Caching.Management.dll | 1.0.4657.2 | 107 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.ApplicationServer.Caching.Server.dll | 1.0.4657.2 | 435 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.ApplicationServer.Core.dll | 1.1.4657.2 | 125 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.ApplicationServer.Management.Tools.dll | 1.1.4657.2 | 533 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.Web.DistributedCache.dll | 1.0.50826.0 | 67 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.ApplicationServer.Caching.ManagementPS.dll | 1.0.4657.2 | 85 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.ApplicationServer.Caching.ManagementPS.dll-Help.xml | 1.0.4657.2 | 173 KB | 2015 年 8 月 31 日 | 1,156 | X86 |
| Microsoft.ApplicationServer.Caching.Configuration.dll | 1.0.4657.2 | 91 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.ApplicationServer.Caching.Configuration.resources.dll | 1.0.4657.2 | 18 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
| Microsoft.ApplicationServer.Configuration.exe | 1.1.4657.2 | 699 KB | 2015 年 9 月 1 日 | 21:43 | x86 |
对于所有受支持的基于 x64 的 Microsoft AppFabric 1.1 for Windows Server
| 文件名 | 文件版本 | 文件大小 | 日期 | 时间 | 平台 |
|---|---|---|---|---|---|
| DistributedCacheAdministration.psd1 | 不适用 | 1 KB | 2015 年 8 月 31 日 | 11:49 | 不适用 |
| DistributedCacheConfiguration.psd1 | 不适用 | 1 KB | 2015 年 8 月 31 日 | 11:49 | 不适用 |
| DistributedCacheAdministration.psm1 | 不适用 | 16 KB | 2015 年 8 月 31 日 | 11:49 | 不适用 |
| DistributedCacheConfiguration.psm1 | 不适用 | 14 KB | 2015 年 8 月 31 日 | 11:49 | 不适用 |
| Microsoft.ApplicationServer.Caching.Configuration.dll-Help.xml | 不适用 | 70 KB | 2015 年 8 月 31 日 | 1,156 | 不适用 |
| Setup.exe.config | 不适用 | 1 KB | 2015 年 8 月 31 日 | 11:58 | 不适用 |
| Microsoft.ApplicationServer.Caching.Client.dll | 1.0.4657.2 | 168 KB | 2015 年 9 月 1 日 | 16:50 | X64 |
| Microsoft.ApplicationServer.Caching.Core.dll | 1.0.4657.2 | 816 KB | 2015 年 9 月 1 日 | 16:50 | X64 |
| Microsoft.ApplicationServer.Caching.Management.dll | 1.0.4657.2 | 100 KB | 2015 年 9 月 1 日 | 16:50 | X64 |
| Microsoft.ApplicationServer.Caching.Server.dll | 1.0.4657.2 | 428 KB | 2015 年 9 月 1 日 | 16:50 | X64 |
| Microsoft.ApplicationServer.Core.dll | 1.1.2137.2 | 116 KB | 2015 年 9 月 1 日 | 16:51 | X64 |
| Microsoft.ApplicationServer.Management.Tools.dll | 1.1.2137.2 | 524 KB | 2015 年 9 月 1 日 | 16:51 | X64 |
| Microsoft.Web.DistributedCache.dll | 1.0.50826.0 | 60 KB | 2015 年 9 月 1 日 | 16:50 | X64 |
| Microsoft.ApplicationServer.Caching.ManagementPS.dll | 1.0.4657.2 | 76 KB | 2015 年 9 月 1 日 | 16:50 | X64 |
| Microsoft.ApplicationServer.Caching.ManagementPS.dll-Help.xml | 1.0.4657.2 | 173 KB | 2015 年 8 月 31 日 | 1,156 | X64 |
| Microsoft.ApplicationServer.Caching.Configuration.dll | 1.0.4657.2 | 84 KB | 2015 年 9 月 1 日 | 16:50 | X64 |
| Microsoft.ApplicationServer.Caching.Configuration.resources.dll | 1.0.4657.2 | 11 KB | 2015 年 9 月 1 日 | 16:29 | X64 |
| Microsoft.ApplicationServer.Configuration.exe | 1.1.2137.2 | 692 KB | 2015 年 9 月 1 日 | 16:51 | X64 |
参考资料
有关如何配置AppFabric 1.1 for Windows Server的常规信息
了解Microsoft用于描述软件更新 的术语 。