我成功託管我的quickbooks webconnector soap應用程序在私人服務器上。我們正在嘗試將其移至Azure api應用。Azure Web應用程序問題:System.Runtime.InteropServices.COMException 80040154類未註冊
當我們試圖運行它,我們得到了錯誤:
Error message: System.Web.Services.Protocols.SoapException: Server was unable to process request. ---> System.Runtime.InteropServices.COMException:
Retrieving the COM class factory for component with CLSID {22E885D7-FB0B-49E3-B905-CCA6BD526B52} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
從我們最初部署記住這個問題,並從this intuit post,我記得我們必須確保我們的項目搭建了一個目標x86平臺。我們已經做到了。當我們使用CorFlags來驗證它被設置爲需要32位時,我們可以從CorFlags輸出中確認。
在Azure的門戶,我們的應用程序設置設置爲32位和。 我們還能遺漏什麼?
不知道這是你的確切情況,但它可以通過設計https://github.com/projectkudu/kudu/wiki/Azure-Web-App-sandbox#access-to-out-of-process-com - 服務器 – Lanorkin