Warning: file_get_contents(/data/phpspider/zhask/data//catemap/2/.net/21.json): failed to open stream: No such file or directory in /data/phpspider/zhask/libs/function.php on line 167

Warning: Invalid argument supplied for foreach() in /data/phpspider/zhask/libs/tag.function.php on line 1116

Notice: Undefined index: in /data/phpspider/zhask/libs/function.php on line 180

Warning: array_chunk() expects parameter 1 to be array, null given in /data/phpspider/zhask/libs/function.php on line 181
.net 为什么一半的Azure worker实例不会启动并遇到SecurityException?_.net_Azure_Cloud - Fatal编程技术网

.net 为什么一半的Azure worker实例不会启动并遇到SecurityException?

.net 为什么一半的Azure worker实例不会启动并遇到SecurityException?,.net,azure,cloud,.net,Azure,Cloud,我正在尝试增加为云服务部署的实例数。当我进行部署时,10个实例中有5个正确部署。另一半永远不会启动并得到“System.Security.SecurityException” 非常令人沮丧,因为我认为部署的包对所有10个实例都是一样的。为什么只有一半会失败?关于如何排除故障有什么想法吗?谢谢 我到目前为止所做的尝试 删除并创建新的云服务 打开和关闭部署更新选项 异常的完整堆栈 应用程序:WaWorkerHost.exe 框架版本:v4.0.30319 描述:由于未处理的异常,进程已终止。

我正在尝试增加为云服务部署的实例数。当我进行部署时,10个实例中有5个正确部署。另一半永远不会启动并得到“System.Security.SecurityException”

非常令人沮丧,因为我认为部署的包对所有10个实例都是一样的。为什么只有一半会失败?关于如何排除故障有什么想法吗?谢谢

我到目前为止所做的尝试

  • 删除并创建新的云服务
  • 打开和关闭部署更新选项

异常的完整堆栈

应用程序:WaWorkerHost.exe 框架版本:v4.0.30319 描述:由于未处理的异常,进程已终止。 异常信息:System.Security.SecurityException 堆栈: 在Microsoft.WindowsAzure.ServiceRuntime.Implementation.Loader.RoleRuntimeBridge.b_u0()中 位于System.Threading.ExecutionContext.RunInternal(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔值) 在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object,布尔值) 在System.Threading.ExecutionContext.Run(System.Threading.ExecutionContext,System.Threading.ContextCallback,System.Object)上运行
在System.Threading.ThreadHelper.ThreadStart()

上发现这是SQL Server上的防火墙设置。尝试向注册表写入时出错,这导致了安全异常

你是如何找到原因的?@ShaneCourtrille我想我们进入服务器查看了事件日志。