当我尝试在本地计算机上的 Windows Azure 模拟器上运行 ASP.net MVC 应用程序时,出现以下错误。如何摆脱此错误?
输出窗口出错
Windows Azure Tools: Warning: Remapping public port 80 to 81 to avoid conflict during emulation.
Windows Azure Tools: Warning: Remapping private port 80 to 82 in role 'PawLoyalty.Web' to avoid conflict during emulation.
Windows Azure Tools: Warning: Certificate identification setting 'Microsoft.WindowsAzure.Plugins.RemoteAccess.PasswordEncryption' for role 'PawLoyalty.Web' specified in the service configuration file is not declared in the service definition file in the Certificate or as part of an SSL endpont
最佳答案
我们有时也会遇到这个问题。经过反复试验,我们发现这是由缓存引起的。
我们所做的是禁用缓存,运行应用程序(然后它运行良好)并再次启用缓存(并且它再次运行良好)。
这是一个非常蹩脚的解决方案,可能不适合您,但请尝试一下。您可以做的其他事情是删除本地存储模拟器中的cacheclusterconfigs blob 容器。结合使用这两者通常可以解决问题。
关于c# - 角色实例的启动时间比预期要长,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/22929837/