0
votes

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
Permissions would be my first guess. But... Whats the value of ex? Have you tried with no arguments? I would expect java.exe to exit gracefully if nothing is on the command line.rfmodulator
@rfmodulator, I caught the ex value before it runs and manually run it in the command window and it executes fineTom Gullen
@rfmodulator, when I pass "" as the arguments it throws the same error. Thanks for helping btw :)Tom Gullen

1 Answers

2
votes

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

Extra link

One more

Good luck!