I don't think it is an IIS rights thing since it runs in the browser and error 5122 means it loaded the JavaScirpt engine (since that is a JavaScript engine error number).

Is it able to start processes? Do you see processes in the Web Application Administrator? If not, is there anything in the windows event log?