被扔在這條線:ASP.net C#未知錯誤(0xfffffffe)
// Run compiler
Process p = System.Diagnostics.Process.Start("java.exe", ex);
p.WaitForExit();
錯誤:
Error Message: Unknown error (0xfffffffe) Stack Trace: at System.Diagnostics.Process.StartWithShellExecuteEx(ProcessStartInfo startInfo) at System.Diagnostics.Process.Start(ProcessStartInfo startInfo) at Arcade.UploadFunctions.minifyC2Runtime(Int32 GameID) at Arcade.GameFunctions.createGame(Int32 CatID, String Name, String Description, String Instructions, Int32 UserId, Int32 Width, Int32 Height) at ArcadeSubmit.submitGame(Object sender, EventArgs e) at System.Web.UI.WebControls.Button.RaisePostBackEvent(String eventArgument) at System.Web.UI.Page.ProcessRequestMain(Boolean includeStagesBeforeAsyncPoint, Boolean includeStagesAfterAsyncPoint)
一切正常開發服務器上精緻,上裝住服務器和得到這個錯誤。
如果我在執行之前趕上ex
行,然後在運行良好的活動服務器上手動執行cmd.exe
。
任何想法這可能是什麼?我有一個預感這是一個權限問題,但我不確定。
權限將是我的第一個猜測。但是...前什麼價值?你嘗試過沒有參數嗎?如果在命令行中沒有任何內容,我希望java.exe能夠正常退出。 – rfmodulator
@rfmodulator,我在運行前捕獲了ex值,並在命令窗口中手動運行它,並且當我通過''「'作爲參數傳遞相同的錯誤時,它會執行精細的 –
@rfmodulator。感謝您的幫助btw :) –