1
這是我的代碼塊:System.diagnostics.process.start -System.ComponentModel.Win32Exception
Process myProcess = new Process();
myProcess.StartInfo.FileName = fullpath;
myProcess.StartInfo.Arguments = " " + strNewFilePath;
myProcess.StartInfo.UseShellExecute = false;
myProcess.StartInfo.RedirectStandardOutput = true;
myProcess.Start();
我使用的System.Diagnostics.Process運行的exe文件,我不斷收到此錯誤:
System.ComponentModel.Win32Exception (0x80004005): The application has failed to start because its side-by-side configuration is incorrect
我正在運行這臺機器是x64。
谷歌搜索了幾個小時,沒有太多的信息。有任何想法嗎?
通過googling它,這似乎是相當複雜的問題,因爲它與註冊表,機器,更新/安裝錯誤等有關...還有一些,我們不知道從代碼,什麼具體過程導致問題。也許你可以谷歌關於你的具體過程,並看看它的註冊表...?有些解決方案甚至會說你更好地重新安裝VS. – Ian
我會試着再看一遍,並更新問題 – omriman12
你試圖運行什麼程序?你在編譯64位嗎?你有沒有試過它作爲一個32位? –