ASP.net c# Unknown error (0xfffffffe)

我的梦境 提交于 2019-12-12 01:57:00

问题


Being thrown on this line:

// Run compiler
Process p = System.Diagnostics.Process.Start("java.exe", ex);
p.WaitForExit();

The error:

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)

Everything works fine on the dev server, upload to live server and get this error.

If I catch the ex line just before it's executed then manually execute it in cmd.exe on the live server it runs fine.

Any ideas what this could be? I've got a hunch it's a permissions issue but I'm not sure.


回答1:


It looks like a permission exception. Check this link out, you might get your answer there.

Extra link

One more

Good luck!



来源:https://stackoverflow.com/questions/8236507/asp-net-c-sharp-unknown-error-0xfffffffe

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!