發生 Configuration system failed to initialize 錯誤的一個特例
一般情況下,.net 程式啟動時發生 Configuration system failed to initialize 錯誤, 大都與 config 檔案中 <configSections> 的位置順序有關或者內容格式錯誤,這種情況除錯就能遇到並解決。如果是執行時手動修改不小心搞壞了config 檔案,從能正常執行的程式資料夾下複製對應的 config 檔案也可以解決。
最近遇到了一個特例:
使用者稱前一天還能執行的程式,第二天死活啟動不了了,報錯資訊就是 Configuration system failed to initialize。反覆確認使用者沒有手動修改過 config 檔案,而且從別的能正常啟動程式的機器上覆制過來了 config 檔案也不能解決問題。在來回檢查 config 檔案內容時,突然看見有 <userSettings>,這部分資料在程式啟動後,是儲存在 C:\Users\當前使用者\AppData\Local 下的程式集名稱資料夾中的,按圖索驥找到這個應用程式對應的 user.config,發現檔案大小居然是 0 KB,於是直接刪除掉這個檔案再重新啟動應用程式,問題解決。
事後向用戶瞭解,原來前一天在應用程式執行時發生突然斷電關機的情況,懷疑正好應用程式在自動儲存 settings,斷電導致檔案寫入失敗。等到第二天啟動時,應用程式找到有這個 user.config 檔案,但是讀取不到任何資料,所以就報錯了。
相關推薦
發生 Configuration system failed to initialize 錯誤的一個特例
一般情況下,.net 程式啟動時發生 Configuration system failed to initialize 錯誤, 大都與 config 檔案中 <configSections> 的位置順序有關或者內容格式錯誤,這種情況除錯就能遇到並解決。如果是執行時手動修改不小心搞壞了config
vnc 登錄 Ubuntu gnome 桌面出現 QXcbConnection : Failed to initialize XRandr 錯誤,然後打不開
nec reat mark tor cti AI and 桌面 cnblogs 現象如下: 解決方法是在 啟動的時候加入 -noload Welcome 參數 也可以在 ~/.local/share/applications/DigiaQt-qtcreator-com
tomcat本地啟動Failed to initialize component錯誤
昨天想在本地做nginx負載均衡測試時,啟動tomcat的時候報Failed to initialize component錯誤,如下 網上看了很多資料都說tomcat報錯無非是: 1.端口占用 2.專案jar包衝突 3.環境配置問題 但我tomcat是剛從官網
solr叢集出現錯誤503-Server is shutting down or failed to initialize.
搭建solr叢集,配置好後,第二天正常啟動tomcat和zookeeper,在瀏覽器開啟tomcat能夠正常訪問,可是在後面加上solr專案地址, 訪問出現503-Server is shutting down or failed to initialize.
【故障處理】ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repository
options 配置信息 解決 fail 可用 soc none fma 刪除 今天在使用冷備份文件重做從庫時遇到一個報錯,值得研究一下。 版本:MySQL5.6.27 一、報錯現象 dba:(none)> start slave; ERROR 1872 (H
nvidia驅動自動更新版本後問題解決 -- failed to initialize nvml: driver/library version mismatch
logs sdn nbsp 必須 all 軟件更新 mis rar ice 因為必須關閉桌面窗口, 建議另外一臺電腦ssh連接操作 1. 卸載舊版本並關閉圖形界面 sudo apt-get remove --purge nvidia-\* sudo service
linux下連接無線網出現nl80211: Could not configure driver mode nl80211: deinit ifname=wlan1 disabled_11b_rates=0 wlan1: Failed to initialize driver interface
frequency pro 信號 ann 文件中 enc nas face lock 一.背景1.1 jello@jello:~$ lsb_release -aNo LSB modules are available.Distributor ID: UbuntuDes
MySQL報錯ERROR1872(HY000):Slave failed to initialize
MySQL報錯ERROR1872ERROR 1872 (HY000): Slave failed to initialize relay log info structure from the repositoryMySQL 5.6修復從庫復制時報錯mysql> start slave;ERROR 18
Centos7 error: Failed to initialize NSS library
yum和rpm都壞了命令使用不了問題:安裝oracle相關連的包時導致yum和rpm都壞了,命令使用不了,出現如下錯誤提示:error: Failed to initialize NSS libraryThere was a problem importing one of the Python module
Failed to initialize component [Connector[HTTP/1.1-8086]]
acc 1.0 但是 frame await ESS .org pause check 嚴重: Failed to initialize end point associated with ProtocolHandler ["http-apr
MySQL 跨版本主從復制時報錯:ERROR 1794 (HY000): Slave is not configured or failed to initialize properly.
系統 prop enable sha row light server backup properly 背景: zabbix 數據庫遷移,搭建主從,主是5.6.25,從是5.7.15,流式備份應用 redo.log 之後,change master 和reset sl
JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) 解決
文件 解決方法 開啟 del fail ali init lin bug 重啟tomcat 後臺出現JDWP Transport dt_socket failed to initialize, TRANSPORT_INIT(510) 錯誤,因為tomca開啟了debug,而
Failed to initialize NVML: Unknown Error
.com nag ror roc edge bsd 分享 smi water DellR740安裝NVIDIA M60驅動程序,執行nvidia-smi命令,提示“Failed to initialize NVML: Unknown Error”。解決方法:https://
Failed to initialize end point associated with ProtocolHandler ["http-bio-80"] java.net.BindExce問題解決
今天啟動Tomca的時候報錯如下: 十一月 24, 2018 11:46:37 上午 org.apache.coyote.AbstractProtocol init 資訊: Initializing ProtocolHandler ["http-bio-80"] 十一月 24, 2018 1
啟動Tomcat時報錯Failed to initialize end point associated with ProtocolHandler ["http-apr-8080"]
一般是 Tomcat 的預設埠被佔用,或者 Tomcat 程序沒有關掉。(這個可以通過工作管理員檢視一下,如果發現 Tomcat 程序開著,那就結束它再啟動 Tomcat 就可以了。) 解決辦法: 1.先檢視佔用此埠的玩意兒的PID 執行 cmd ,命令列輸入:nets
Android Studio升級到3.1.3後項目報 Failed to resolve: 錯誤
解決方案情景1: 找到專案的build.gradle檔案,在buildscript裡的repositories裡新建一條 maven { url 'https://maven.google.com' } 確保它位於 jcenter()的上方!!,之後重新build專案就可以了。 舉例
Android Studio啟動時報錯 Emulator: emulator: ERROR: OpenGLES emulation failed to initialize.
問題描述 Android Studio啟動模擬器報錯 Emulator: emulator: ERROR: OpenGLES emulation failed to initialize. 問題原因 問題原因是我使用了 Nexus 5X and Nexus 5 模擬器,
Failed to initialize component [Connector[HTTP/1.1-443] tomcat
問題: tomcat log日誌提示如下問題 Failed to initialize component [Connector[HTTP/1.1-443] 解決: Failed to initialize component [Connector[HTTP/1.1
web專案部署solr問題解決(Server is shutting down or failed to initialize和solr.clustering.ClusteringComponent)
今天在web專案中搭建solr的過程中,遇到了HTTP Status 503 - Server is shutting down or failed to initialize錯誤,上網查找了相關錯誤都沒有解決,最後才發現自己關於日誌的jar包沒有全部匯入,將官網下載的so
MySQL之——提示"mysql deamon failed to start"錯誤的解決方法
網站突然連線不上資料庫,於是直接重啟了一下伺服器。進到cli模式下,執行 service myqsld start 發現還是提示"mysql deamon failed to start"錯誤資訊 # /etc/init.d/mysqld start MySQL Dae