我建立一個GIS應用,但每當我運行的代碼,它給我這個錯誤HRESULT:0x80040154的(REGDB_E_CLASSNOTREG))
System.Runtime.InteropServices.COMException was unhandled Retrieving the COM class factory for component with CLSID {FBF5715D-A05D-11D4-A64C-0008C711C8C1} failed due to the following error: 80040154 Class not registered (Exception from HRESULT: 0x80040154 (REGDB_E_CLASSNOTREG)).
此外,在項目屬性的註冊選項爲COM Interop被禁用。
我試過以下兩種解決方案都無濟於事。有沒有人有另一個想法? – 2013-08-15 14:10:29