.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 Containers 大冒险: 优化计划(Dockerfile)
- windows – PSExec如何以SYSTEM用户身份运行应用程序?
- row_number()在hql中的分区
- 10053 您的主机中的软件中止了一个已建立的连接
- 在非Qt应用程序中使用基于Qt的DLL
- Windows 8应用程序是否运行符合标准的JavaScript,HTML5和CS
- win10上部署Hadoop-2.7.3——非Cygwin、非虚拟机
- jboss7.x – 无法登录到windows上的jboss 7.1管理控制台
- 在没有Microsoft.NET.Sdk.Web的情况下使用Razor
- 如何在Windows Phone 7系列上获取屏幕尺寸?
- windows – 在matlab中监视内存
- windows-installer – installshield和windowsin
- 如何正确创建一个nim / nimrod windows dll
- windows-phone-8 – 启动TaskHost.exe失败,尝试运
- windows – 如何为Git-Bash设置16种终端颜色?
- Windows Vista 64位的命令行subversion客户端
- Vulkan Tutorial 01 开发环境搭建之Windows
- windows – 为什么没有64位版本的VS2013?
- 飞溅屏幕 – 通用窗口10个应用程序的Splash屏幕
- Windows – Win7 Virtualbox在尝试启动虚拟机时出
