error C4772: #import referenced a type from a missing type library; '__missing_type__' used as a pla
工程中需要引用office庫,由於機器上裝了多個版本的office,時常會解除安裝、安裝office。由此導致工程時而執行順利、時而出現如標題所示的錯誤。
簡單地說,問題出在如下注冊表項:
HKEY_CLASSES_ROOT \ TypeLib \ {2DF8D04C-5BFA-101B-BDE5-00AA0044DE52} \
在Office安裝過程中,安裝程式之一是在TypeLib金鑰下注冊了一個mso.dll版本。這個註冊是允許編譯器在處理msoutl.olb時找到mso.dll的副本。當這一項下出現多個版本時,問題就來了。
我這裡出現問題的原因是之前安裝了office2013,後來解除安裝時,這個登錄檔項並沒有刪除對應項,由此導致工程中引用的庫在尋找副本時,指向了這一項,從而出現這個編譯錯誤。解決方法很簡單,刪除office2013在這一項下對應子項2.7,問題就解決了
相關推薦
error C4772: #import referenced a type from a missing type library; '__missing_type__' used as a pla
工程中需要引用office庫,由於機器上裝了多個版本的office,時常會解除安裝、安裝office。由此導致工程時而執行順利、時而出現如標題所示的錯誤。 簡單地說,問題出在如下注冊表項: HKEY_CLASSES_ROOT \ T
Dapper:The member of type SeoTKD cannot be used as a parameter Value
這次看看新的異常: 這個的根本是因為模型欄位和資料庫不匹配導致的(好像之前是可以的) 資料庫中並沒有SeoInfo這個屬性(EF裡面導航屬性用的還是比較多的,這次換Dapper,這個肯定是少不了的,於是就折中了下,看看能不能讓Dapper忽略這個屬性) 解決方法:設定不可寫特性,writ
Ask HN: Should an arrow function be used as a pure function?
Do you consider an arrow function to have side effects since they don't have their own 'this'?"In computer programming, a pure function is a function that
ArcGIS “Error HRESULT E_FAIL has been returned from a call to a COM component.” 異常的解決
exce run sys 簡單 mpc mco pre amp back 錯誤提示內容: {System.Runtime.InteropServices.COMException (0x80004005): Error HRESULT E_FAIL has been re
Error: Cannot perform an interactive login from a non TTY device
Docker on Windows: interactive tty session gives “cannot enable tty mode on non tty input” Trying to run a shell into a running container (docker
人生苦短,我學Python——【1】import A與from A import a
span 屬性。 屬性 人生 之間 style 需要 code pri import datetime是引入整個datetime包,如果使用datetime包中的datetime類,需要加上模塊名的限定。 1 import datetime 2 3 print(date
redis:Unable to validate object ;Could not get a resource from the pool;(error) MISCONF Redis is con
原因: 強制關閉Redis快照導致不能持久化。 解決方式: 登入redis : redis-cli 127.0.0.1:6379>config set stop-writes-on-bgsave-error no ok 解決 ! 參考文章:
Defining as a "long" or "int" type throws an error on startup
solr啟動時候,報如下異常: SEVERE: org.apache.solr.common.SolrException at org.apache.solr.core.SolrCore.<init>(SolrCore.java:600)
please get a license from www.texturepacker.com
留言 == net 下載 版本 blog text http pos 我們在使用texturepacker創建資源後,在使用資源時出現下述問題:please get a license from www.texturepacker.com 如圖: 這個是由於我們的
cannot be translated into a null value due to being declared as a primitive type. Consid
red apache translate cab host then fail apt character 1 嚴重: Servlet.service() for servlet [note-portal] in context with path [] threw e
dashDB - Creating a table with CLOB column type
sda lec ads rim bold classic science count gree In order to create a table with clob column type, the table has to be created with "ORGAN
Intellij Error:Cannot build Artifact 'XXX:war exploded' because it is included into a circular dependency
depend htm include rcu intellij into ons 經驗 album https://stackoverflow.com/questions/42335718/intellij-errorcannot-build-artifact-xxxwar
異常:This application has no explicit mapping for /error, so you are seeing this as a fallback.
prop 控制 pre fall size erro ati his xpl 出現這個異常說明了跳轉頁面的url無對應的值. 原因1: Application啟動類的位置不對.要將Application類放在最外側,即包含所有子包 原因:spring-boot會自動加載啟動
java 連接 redis集群時報錯:Could not get a resource from the pool
rom idt log 圖片 pool 本機ip redis style exce 由於弄這個的時候浪費了太多的時間,所以才記錄下這個錯,給大夥參考下 檢查了一下,配置啥的都沒問題的,但在redis集群機器上就可以,錯誤如下: Exception in thread "
Error in C(1, 2) : object not interpretable as a factor
not col log obj ble tab ... clas pre C<-METTL14_MATRIX[,C(1,2)] Error in C(1, 2) : object not interpretable as a factor 是c()寫成C()的
開發手記:JedisConnectionException: Could not get a resource from the pool
nfa 最大連接數 redis color 重試 direction str bsp blog 對於Redis,生產環境是集群模式,測試環境是單例模式,如果在生產環境中用單例模式會報錯。 解決辦法,通過雲配置,將配置進行自動化配置。 另附一份Redis配置: #****
redis.clients.jedis.exception.JedisConnectionException:Could not get a resource from the pool
class verbose 沒有 mage resource open conf bubuko uri 啟動項目報該異常。原因是因為該項目是需要啟動redis的,報錯原因是因為沒有安裝redis或者沒有手動啟動redis,把redis設置成自啟動就行了 一、下載window
It isn't possible to write into a document from an asynchronously-loaded
-a ext end oss statistic scrip views tracking app It isn‘t possible to write into a document from an asynchronously-loaded 今天遇到了一
1. SpringBoot啟動後,報異常:This application has no explicit mapping for /error, so you are seeing this as a fallback.
per 視圖解析 自動加載 cati strong PE 出現 bsp AR 出現這個異常說明了跳轉頁面的url無對應的值. 原因1: Application啟動類的位置不對.要將Application類放在最外側,即包含所有子包 原因:spring-boot會自動加載啟動
Receive a message from AAA of cutting user on華為設備
需求 pack ann 設備 receive 華為設備 down online scheme Issue Description 問題描述Customer configure radius service.After uplink connect to radius ser