我已經部署了一個利用第三方dll的測試終端服務器的桌面應用程序,以報告其可用性。在我的測試,我收到此錯誤:ClickOnce部署終端服務接收COM錯誤
An unhandled exception of type 'System.IO.FileNotFoundException' occurred in General Purpose.dll
Additional information: Creating an instance of the COM component with CLSID {8EB296F1-6C46-4BC1-9F00-B49F14B57DB8} from the IClassFactory failed due to the following error: 800a0035.
它當一個新的第三方類創建(一說是至關重要的應用程序)發生。據我可以告訴這是唯一的第三方類有這樣的問題,但在這個DLL中唯一的一個。
應用程序使用ClickOnce正常部署正常桌面使用,但不適用於TS會話或服務器控制檯。
所有的DLL都被設置爲「複製本地」,我確認它們被複制到用戶本地設置「Apps \ 2.0 \ crazylongnamenamehere」文件夾中。
我選擇了發佈路徑(通過MSI),因爲我們目前擁有胖客戶端,瘦客戶端將隨着時間的推移緩慢集成。