.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/ (编辑:百色站长网) 【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容! |
- NodeJS、NPM安装配置步骤(windows版本) 以及环境变量详解
- 汇编 – 我的.exe程序不是我的预期
- 02、Windows Server 2003域账户管理(02)
- Microsoft Unit Testing Framework for C++
- Windows Server 2016 新功能HCI(超融合基础架构) By S2D
- 如何正确使用MSBuild社区任务库在.NET dll上设置SVN版本号
- Microsoft Dynamics(Navision)vs C#.NET
- Windows Vista 64位的命令行subversion客户端
- 根据Microsoft的说明,不会显示发布Web向导
- windows – 使用cmd提示符搜索谷歌或其他搜索引擎上的单词
- Windows上Jenkins的git插件不使用带子模块的凭据
- windows-phone-8 – 使用WNS for windows phone
- 使用Windows Power Management API调暗监视器
- Vulkan Tutorial 07 Window surface
- 如何使Windows Forms .NET应用程序显示为托盘图标
- windows – 是否可以将kubernetes作为docker容器
- windows – CreateWindowEx的lpClassName参数如何
- windows – 以MONO Runtime为目标导致Xamarin Bu
- 在WPF中的所有Windows中应用按钮样式
- win10上部署Hadoop-2.7.3——非Cygwin、非虚拟机