被扔在这条线: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 :) –