1

我有一个正在开发中的解决方案,它托管在 Azure 上并且运行良好,但现在我想添加 memcache 以确保可伸缩性。我添加了 Windows Azure Caching 1.8.1.0,然后通过 Nuget 添加了 Windows Azure Caching Memcache Shim 1.8.0.0。我有 memcache_default 的端点,内部端口为 11212(以避免端口冲突,因为 11211 正在使用中),并且我在我的 Web 角色中启用了缓存。

当我运行我的应用程序时,网络角色会循环,并且在每个循环中重复的事件日志中都会出现许多错误......

第一的....

Log Name:      Application
Source:        .NET Runtime
Date:          08/04/2013 21:11:56
Event ID:      1026
Task Category: None
Level:         Error
Keywords:      Classic
User:          N/A
Computer:      DRAKE
Description:
Application: MemcacheShimInstaller.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.TypeInitializationException
Stack:
   at Microsoft.ApplicationServer.Caching.MemcacheShimInstaller.MemcacheShimInstaller.Main(System.String[])

第二....

Faulting application name: MemcacheShimInstaller.exe, version: 1.0.4797.0, time stamp: 0x506f41f4
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b8479b
Exception code: 0xe0434352
Fault offset: 0x0000000000009e5d
Faulting process id: 0x1f40
Faulting application start time: 0x01ce349550d2f050
Faulting application path: C:\DevProjects\MyWebRole\csx\Debug\roles\MyWebRole\approot\bin\WindowsAzure.Caching.MemcacheShim\MemcacheShimInstaller.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 90968bce-a088-11e2-9abd-00266c50c008

第三....

Application: MemcacheShimEmulator.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.Reflection.TargetInvocationException
Stack:
   at Microsoft.ApplicationServer.Caching.MemcacheShimEmulator.MemcacheShimEmulator.Main(System.String[])

最后...

Faulting application name: MemcacheShimEmulator.exe, version: 1.0.4797.0, time stamp: 0x506f41f6
Faulting module name: KERNELBASE.dll, version: 6.1.7601.18015, time stamp: 0x50b8479b
Exception code: 0xe0434352
Fault offset: 0x0000000000009e5d
Faulting process id: 0x7ac
Faulting application start time: 0x01ce349551b479fd
Faulting application path: C:\DevProjects\MyWebRole\csx\Debug\roles\MyWebRole\bin\WindowsAzure.Caching.MemcacheShim\MemcacheShimEmulator.exe
Faulting module path: C:\Windows\system32\KERNELBASE.dll
Report Id: 910f8e24-a088-11e2-9abd-00266c50c008

我正在尝试查找更多日志记录信息,但我不知道在哪里查找。如果我创建一个全新的云服务解决方案并尽可能配置它,我可以成功运行,那么我如何才能找到这个问题的原因?

4

0 回答 0