加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Windows > 正文

.net – Windows Azure Web角色缓存(预览)“挂起”使模拟器陷入

发布时间:2020-12-13 21:30:23 所属栏目:Windows 来源:网络整理
导读:我正在尝试使用Microsoft网站上的指南,将2012年6月SDK版本中引入的新发布的基于角色的缓存替换为 Windows Azure AppFabric缓存. 但是,在我的Web角色中检查“启用缓存(预览)”时,模拟器将无法成功实例化网站(模拟器日志:http://pastebin.com/dwbDvak2).它似
我正在尝试使用Microsoft网站上的指南,将2012年6月SDK版本中引入的新发布的基于角色的缓存替换为 Windows Azure AppFabric缓存.

但是,在我的Web角色中检查“启用缓存(预览)”时,模拟器将无法成功实例化网站(模拟器日志:http://pastebin.com/dwbDvak2).它似乎陷入了某种循环.禁用Web角色缓存使其再次起作用.卸载所有以前的Azure SDK并重新安装1.7版本后,我得到了相同的结果.

Visual Studio告诉我“角色实例开始的时间比预期的要长.你想继续等待吗?” [是] [否].按是保持等待,并反复出现.

是否有人可能知道如何解决上述问题,或者可能尝试过新的Web角色缓存功能并让它在azure模拟器中工作?

Screen shot of the azure local debugging environment deployment dialog

谢谢.

更新:

我创建了一个新的解决方案,并添加了一个简单的MVC站点,添加了Web角色并启用了缓存,并且发生了同样的事情.所以,我看了一下事件查看器,发现了3个与该问题相关的条目:

Fault bucket 3034750239,type 5
Event Name: CLR20r3
Response: Not available
Cab Id: 0

Problem signature:
P1: cacheinstaller.exe
P2: 1.0.4655.0
P3: 4fb0f3f9
P4: CacheInstaller
P5: 1.0.4655.0
P6: 4fb0f3f9
P7: 11
P8: 47
P9: System.TypeLoadException
P10: 

Attached files:
C:UsersananAppDataLocalTempWEREA8F.tmp.WERInternalMetadata.xml

These files may be available here:
C:UsersananAppDataLocalMicrosoftWindowsWERReportArchiveAppCrash_cacheinstaller.e_1fbc3b72afb6acf93335ca8611850d289906c25_2ddaf529

Analysis symbol: 
Rechecking for solution: 0
Report Id: 3138ba06-b344-11e1-a8d6-402cf41c1e07
Report Status: 0


Application: CacheInstaller.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException
Stack:
   at Microsoft.ApplicationServer.Caching.AzureCommon.Package.InitializeExternalStoreIfRequired()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,Boolean)
   at System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

然后:

Application: CacheInstaller.exe
Framework Version: v4.0.30319
Description: The process was terminated due to an unhandled exception.
Exception Info: System.MissingMethodException
Stack:
   at Microsoft.ApplicationServer.Caching.AzureCommon.Package.InitializeExternalStoreIfRequired()
   at System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Object)
   at System.Threading.ThreadHelper.ThreadStart()

和:

Faulting application name: CacheInstaller.exe,version: 1.0.4655.0,time stamp: 0x4fb0f3f9
Faulting module name: KERNELBASE.dll,version: 6.1.7601.17651,time stamp: 0x4e21213c
Exception code: 0xe0434352
Fault offset: 0x000000000000cacd
Faulting process id: 0x17b4
Faulting application start time: 0x01cd4750f5db0096
Faulting application path: c:usersanandocumentsvisual studio 11ProjectsAzureCacheTestAzureCacheTestcsxDebugrolesWebRolepluginsCachingCacheInstaller.exe
Faulting module path: C:Windowssystem32KERNELBASE.dll
Report Id: 33a53608-b344-11e1-a8d6-402cf41c1e07

仅供参考:这是使用Visual Studio 2012 RC的Windows 7 x64企业版.

我遇到过同样的问题.与AppFabric Server DLL冲突有关 – 检查是否安装了AppFabric Server并卸载缓存或从GAC中删除缓存程序集.我删除了,模拟缓存工作正常.

我有一些可能对我们的博客有帮助的信息:

http://blog.elastacloud.com/2012/06/09/using-the-windows-azure-cache-preview-with-sdk-1-7/

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读