4
調試azure項目時出現以下錯誤: Microsoft.WindowsAzure.ServiceRuntime錯誤:102:角色環境。初始化失敗Microsoft.WindowsAzure.ServiceRuntime錯誤:102:角色環境。初始化失敗
使用IIS7 Express。
輸出窗口結果:
'iisexpress.exe' (Managed (v4.0.30319)): Loaded 'C:\windows\assembly\GAC_32\msshrtmi\1.6.0.0__31bf3856ad364e35\msshrtmi.dll' Microsoft.WindowsAzure.ServiceRuntime Error: 102 : Role environment . FAILED TO INITIALIZE
下面是該代碼失敗:
HttpContext.Current.Response.Redirect(outURL, true);
這是從HTTP將HTTPS。