An error occurred in StartJob(): Access is denied

having an access denied error for our 64bit machines.

here’s the log

Constructor: 3dsmax
0: Task timeout is disabled.
0: Loaded job: Toyota_SHOT_Reflection01 (000_100_999_363e71e9)
0: INFO: StartJob: initializing script plugin 3dsmax
0: INFO: About: 3dsmax Plugin for Deadline
0: INFO: Start Job called - starting up 3dsmax plugin
0: INFO: Rendering with 3dsmax version: 2009
0: INFO: Build of 3dsmax to force: none
0: INFO: Rendering with executable: C:\Program Files\Autodesk\3ds Max 2009\3dsmax.exe
0: INFO: Fail on existing 3dsmax process: 0
0: INFO: Load 3dsmax timeout: 1000 seconds
0: INFO: Start job timeout: 1000 seconds
0: INFO: Progress update timeout: 8000 seconds
0: INFO: Slave mode enabled: 1
0: INFO: Silent mode enabled: 0
0: INFO: Local rendering enabled: 1
0: INFO: Strict 3dsmax check enabled: 1
0: INFO: Verifying installation of 3dsmax 2009 at C:\Program Files\Autodesk\3ds Max 2009
0: INFO: Version of core.dll: 11.0.0.57
0: INFO: Ensuring 3dsmax install is valid
0: INFO: Running 3dsmaxcmd workaround
0: INFO: 3dsmaxcmd.exe returned: P17/11/2008 15:45:31; Error opening scene file: “C:\Program Files\Autodesk\3ds Max 2009"
0: INFO: 3dsmax start up file: C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\plugins\deadlineStartupMax2009.max
0: INFO: Using user profiles: 1
0: INFO: Using 3dsmax ini file: C:\Documents and Settings\chris.booth\Local Settings\Application Data\Autodesk\3dsmax\2009 - 64bit\enu\3dsmax.ini
0: INFO: Network log file: C:\Documents and Settings\chris.booth\Local Settings\Application Data\Autodesk\3dsmax\2009 - 64bit\enu\Network\Max.log
0: INFO: Plugin ini file: C:\Program Files\Autodesk\3ds Max 2009\plugin.ini
0: INFO: Not including user profile plugin ini because it does not exist: C:\Documents and Settings\chris.booth\Local Settings\Application Data\Autodesk\3dsmax\2009 - 64bit\enu\plugin.ini
0: INFO: Lightning connection plugin: C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\plugins\lightning64Max2009.dlx
0: INFO: 3dsmax socket connection port: 1175
0: INFO: Creating startup script: C:\Documents and Settings\chris.booth\Local Settings\Temp\lightning_startup.ms
0: INFO: Copying C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\plugins\lightning64Max2009.dlx to C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\temp\lightning\lightning.dlx
0: INFO: Starting monitored managed process 3dsmaxProcess
0: INFO: Ignoring popup windows with titles matching regex “.Brazil Console.
0: INFO: Ignoring popup windows with titles matching regex “.MSP Acceleration.
0: INFO: Ignoring popup windows with titles matching regex “.FumeFX:.
0: INFO: Ignoring popup windows with titles matching regex “.FumeFX Dynamics:.
0: INFO: Ignoring popup windows with titles matching regex “.Maxwell Translation Window.
0: INFO: Handling popup windows with titles matching regex “.VRay authorization.” by pressing “Cancel”
0: INFO: Handling popup windows with titles matching regex “.File Load: Units Mismatch.” by pressing “Adopt the File’s Unit Scale?;OK”
0: INFO: Handling popup windows with titles matching regex “.Frame Rate Change.” by pressing “OK”
0: INFO: Handling popup windows with titles matching regex “.MAXScript Auto-load Script Error.” by pressing “OK”
0: INFO: Handling popup windows with titles matching regex “.Render history settings.” by pressing “OK;No”
0: INFO: Handling popup windows with titles matching regex “.Warning - the software has encountered a problem.” by pressing “Don’t show me this error again;Continue”
0: INFO: Handling popup windows with titles matching regex “.Frantic Films FPS Watchdog.” by pressing “OK”
0: INFO: Stdout Handling Enabled: False
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: False
0: INFO: Render Executable: “C:\Program Files\Autodesk\3ds Max 2009\3dsmax.exe”
0: INFO: Render Argument: " -p “C:\DOCUME~1\CHRIS~1.BOO\LOCALS~1\Temp\deadlineplugin_567318329300.ini” -q -s “C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\plugins\deadlineStartupMax2009.max””
0: INFO: Startup Directory: “C:\Program Files\Autodesk\3ds Max 2009”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: INFO: Waiting for connection from 3dsmax
0: INFO: Connected to 3dsmax plugin version Lightning 3.0.32695 Jul 31 2008 12:40:07 R
0: INFO: Scene file to render: C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\jobsData\SHOT_05_JK01.max
0: INFO: Camera: Shot_05_172-268
0: INFO: Restarting 3dsmax after each frame: 1
0: INFO: Showing frame buffer: 0
0: INFO: Frame number base: 0
0: INFO: Remove padding from output filename: 0
0: INFO: Ignore missing external file errors: 1
0: INFO: Ignore missing UVW errors: 1
0: INFO: Ignore missing XREF errors: 1
0: INFO: Ignore missing DLL errors: 0
0: INFO: Loading 3dsmax scene file
0: INFO: Disconnecting socket connection to 3dsmax
0: INFO: 3dsmax process has 3 objects
0: INFO: Waiting for 3dsmax to shut down
0: WARNING: Program 3dsmaxProcess did not close cleanly, it is being terminated forcefully.
Could not kill parent process with id 0 because: Access is denied (System.ComponentModel.Win32Exception)
Attempting a hard kill
0: INFO: Terminating 3dsmax child processes
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - An error occurred in StartJob(): Access is denied (System.ComponentModel.Win32Exception)

Exception Details

RenderPluginException – An error occurred in StartJob(): Access is denied (System.ComponentModel.Win32Exception)

RenderPluginException.Cause: JobError (2)

Exception.Data: ( )

Exception.TargetSite: Void StartJob(Deadline.Jobs.Job)

Exception.Source: deadline

Exception.StackTrace:

at Deadline.Plugins.ScriptPlugin.StartJob(Job job)

at Deadline.Plugins.Plugin.StartJob(Job job)

at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

I think the problem is that max is crashing or hanging, and when Deadline tries to clean things up, it throws this error. Unfortunately, I think this error is preventing us from displaying more information about why max exited in the first place. Are you running Deadline 3.0 SP1? We made some changes to how processes are handled in this version, and from the log, it looks like you’re running the original Deadline 3.0 release. You can download the latest version of Deadline from here:
franticfilms.com/software/pr … /download/

SP1 doesn’t require a new license if you’re already running 3.0, so we recommend upgrading if you can. While this might not prevent max from exiting in this case, Deadline should at least handle it better, and we can go from there.

Cheers,

  • Ryan

Am running max 2009 sp1 and the latest slave…
Deadline Slave 3.0
A rendering slave client for the Deadline Render Management System.
Deadline Version: 3.0.33353
FranticX Version: 1.0.0

here’s a longer log which may help

Scheduler Thread - Plugin loaded in 0.17 seconds.
Constructor: 3dsmax
0: Task timeout is disabled.
0: Loaded job: Toyota_SHOT_Beauty (000_100_999_544dd4cd)
0: INFO: StartJob: initializing script plugin 3dsmax
0: INFO: About: 3dsmax Plugin for Deadline
0: INFO: Start Job called - starting up 3dsmax plugin
0: INFO: Rendering with 3dsmax version: 2009
0: INFO: Build of 3dsmax to force: none
0: INFO: Rendering with executable: C:\Program Files\Autodesk\3ds Max 2009\3dsmax.exe
0: INFO: Fail on existing 3dsmax process: 0
0: INFO: Load 3dsmax timeout: 1000 seconds
0: INFO: Start job timeout: 1000 seconds
0: INFO: Progress update timeout: 8000 seconds
0: INFO: Slave mode enabled: 1
0: INFO: Silent mode enabled: 0
0: INFO: Local rendering enabled: 1
0: INFO: Strict 3dsmax check enabled: 1
0: INFO: Verifying installation of 3dsmax 2009 at C:\Program Files\Autodesk\3ds Max 2009
0: INFO: Version of core.dll: 11.0.0.57
0: INFO: Ensuring 3dsmax install is valid
0: INFO: Running 3dsmaxcmd workaround
0: INFO: 3dsmaxcmd.exe returned: P17/11/2008 15:59:05; Error opening scene file: “C:\Program Files\Autodesk\3ds Max 2009"
0: INFO: 3dsmax start up file: C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\plugins\deadlineStartupMax2009.max
0: INFO: Using user profiles: 1
0: INFO: Using 3dsmax ini file: C:\Documents and Settings\Administrator\Local Settings\Application Data\Autodesk\3dsmax\2009 - 64bit\enu\3dsmax.ini
0: INFO: Network log file: C:\Documents and Settings\Administrator\Local Settings\Application Data\Autodesk\3dsmax\2009 - 64bit\enu\Network\Max.log
0: INFO: Plugin ini file: C:\Program Files\Autodesk\3ds Max 2009\plugin.ini
0: INFO: Including user profile plugin ini: C:\Documents and Settings\Administrator\Local Settings\Application Data\Autodesk\3dsmax\2009 - 64bit\enu\plugin.ini
0: INFO: Lightning connection plugin: C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\plugins\lightning64Max2009.dlx
0: INFO: 3dsmax socket connection port: 1366
0: INFO: Creating startup script: C:\Documents and Settings\Administrator\Local Settings\Temp\lightning_startup.ms
0: INFO: Copying C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\plugins\lightning64Max2009.dlx to C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\temp\lightning\lightning.dlx
0: INFO: Starting monitored managed process 3dsmaxProcess
0: INFO: Ignoring popup windows with titles matching regex “.Brazil Console.
0: INFO: Ignoring popup windows with titles matching regex “.MSP Acceleration.
0: INFO: Ignoring popup windows with titles matching regex “.FumeFX:.
0: INFO: Ignoring popup windows with titles matching regex “.FumeFX Dynamics:.
0: INFO: Ignoring popup windows with titles matching regex “.Maxwell Translation Window.
0: INFO: Handling popup windows with titles matching regex “.VRay authorization.” by pressing “Cancel”
0: INFO: Handling popup windows with titles matching regex “.File Load: Units Mismatch.” by pressing “Adopt the File’s Unit Scale?;OK”
0: INFO: Handling popup windows with titles matching regex “.Frame Rate Change.” by pressing “OK”
0: INFO: Handling popup windows with titles matching regex “.MAXScript Auto-load Script Error.” by pressing “OK”
0: INFO: Handling popup windows with titles matching regex “.Render history settings.” by pressing “OK;No”
0: INFO: Handling popup windows with titles matching regex “.Warning - the software has encountered a problem.” by pressing “Don’t show me this error again;Continue”
0: INFO: Handling popup windows with titles matching regex “.Frantic Films FPS Watchdog.” by pressing “OK”
0: INFO: Stdout Handling Enabled: False
0: INFO: Popup Handling Enabled: True
0: INFO: Using Process Tree: True
0: INFO: Hiding DOS Window: False
0: INFO: Creating New Console: False
0: INFO: Render Executable: “C:\Program Files\Autodesk\3ds Max 2009\3dsmax.exe”
0: INFO: Render Argument: " -p “C:\DOCUME~1\ADMINI~1\LOCALS~1\Temp\deadlineplugin_575462441817.ini” -q -s “C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\plugins\deadlineStartupMax2009.max””
0: INFO: Startup Directory: “C:\Program Files\Autodesk\3ds Max 2009”
0: INFO: Process Priority: BelowNormal
0: INFO: Process is now running
0: INFO: Waiting for connection from 3dsmax
0: INFO: Connected to 3dsmax plugin version Lightning 3.0.32695 Jul 31 2008 12:40:07 R
0: INFO: Scene file to render: C:\Documents and Settings\All Users\Application Data\Frantic Films\Deadline\slave\jobsData\SHOT_05_JK01.max
0: INFO: Camera: Shot_05_172-268
0: INFO: Restarting 3dsmax after each frame: 1
0: INFO: Showing frame buffer: 0
0: INFO: Frame number base: 0
0: INFO: Remove padding from output filename: 0
0: INFO: Ignore missing external file errors: 1
0: INFO: Ignore missing UVW errors: 1
0: INFO: Ignore missing XREF errors: 1
0: INFO: Ignore missing DLL errors: 0
0: INFO: Loading 3dsmax scene file
0: INFO: Disconnecting socket connection to 3dsmax
0: INFO: 3dsmax process has 3 objects
0: INFO: Waiting for 3dsmax to shut down
0: WARNING: Program 3dsmaxProcess did not close cleanly, it is being terminated forcefully.
Could not kill parent process with id 0 because: Access is denied (System.ComponentModel.Win32Exception)
Attempting a hard kill
0: INFO: Terminating 3dsmax child processes
Scheduler Thread - Render Thread 0 threw an error:
Scheduler Thread - An error occurred in StartJob(): Access is denied (System.ComponentModel.Win32Exception)

Exception Details

RenderPluginException – An error occurred in StartJob(): Access is denied (System.ComponentModel.Win32Exception)

RenderPluginException.Cause: JobError (2)

Exception.Data: ( )

Exception.TargetSite: Void StartJob(Deadline.Jobs.Job)

Exception.Source: deadline

Exception.StackTrace:

at Deadline.Plugins.ScriptPlugin.StartJob(Job job)

at Deadline.Plugins.Plugin.StartJob(Job job)

at Deadline.Slaves.SlaveRenderThread.RenderCurrentTask()

<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<<

This might be a dumb question, but has the repository been upgraded to 3.0 SP1 as well? The reason I ask is that the line “Terminating 3dsmax child processes” near the bottom of the log is commented out (ie: skipped over) in the latest version of the 3dsmax.py plugin file. That’s what lead me to believe that you were running the original 3.0 release in the first place. If you right-click on the deadlineslave.exe in \your\repository\bin\Windows and select Properties, you should be able to view the file version information.

Cheers,

  • Ryan

yeah have sp1 on the repository.

think i’ve cracked it.

was trying to get the salves to run with user rights rather than admin rights. Switched it back to admin and they’re all working. do you know of any work arounds to have slaves run 3ds max 2009 with only user privalages?

Nothing specific comes to mind. Anyways, glad to hear you have it working. If you do figure out a way around your problem, let us know - it would be good information for a FAQ. :slight_smile:

Cheers,

  • Ryan