.net – Windows Azure Web角色缓存(预览)“挂起”使模拟器陷入
我正在尝试使用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/ (编辑:李大同) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- windows – 将socket.io脱机安装
- windows-7 – NETSTAT -a -b在Windows 7中不起作用?
- windows – 我可以一次打开多少个TCP套接字?
- 调试 – 找到dll(或)exe和PDB文件匹配的工具
- Windows数据类型…为什么这么多/不可写?
- 重复Microsoft Word VBA,直到找不到搜索结果
- Windows安装程序 – Windows错误2356
- 根据大小将文本文件拆分为较小的文件(Windows)
- xaml – windows phone 7.1中的scrollviewer网格
- windows-server-2012-r2 – 在存储空间池中混合不同大小的磁
- windows – 如何在Maven下“路径转换”?
- solr 7.7.0 windows 导入mysql数据库数据
- Windows窗体错误解析VB.NET
- windows – FileChooser选择目录,而不是文件
- 是否有即将发布的Microsoft Windows更新的邮件列
- Windows NTP服务器A Stratum为2,Windows NTP Ser
- windows – 在Bash中循环:语法错误:意外的文件
- 在Windows上的Apache / PHP中禁用了OpenSSL支持
- 2018-2019-2 20165217《网络对抗技术》Exp2 后门
- windows-7 – Windows 7包含重复的,相同的内置打