# can not write region to file (again)

**URL:** <https://forums.chaos.com/t/can-not-write-region-to-file-again/22830>\
**Category:** Issues\
**Created:** [January 13, 2010, 5:32pm UTC](https://forums.chaos.com/t/can-not-write-region-to-file-again/22830 "2010-01-13T17:32:34Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![shadevfx](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@shadevfx](https://forums.chaos.com/u/shadevfx)\
**Post date:** [January 13, 2010, 5:32pm UTC](https://forums.chaos.com/t/can-not-write-region-to-file-again/22830/1 "2010-01-13T17:32:34Z")

</div>

I thought we found the problem with this but it has reared its ugly head again

here are the logs…

Seems to happen randomly… any thoughts?

Error Message  
Exception during render: An error occurred in RenderTasks(): error: [VFBCore::SetRegion] Error writing render region to raw image file. (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)  
at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

Slave Log  
ering image…: 77.84% [1h 1m 57.6s]  
0: STDOUT: Rendering image…: 77.90% [1h 2m 6.5s]  
0: STDOUT: Rendering image…: 77.96% [1h 2m 8.7s]  
0: STDOUT: Rendering image…: 78.02% [1h 2m 10.0s]  
0: STDOUT: Rendering image…: 78.09% [1h 2m 12.7s]  
0: STDOUT: Rendering image…: 78.15% [1h 2m 13.6s]  
0: STDOUT: Rendering image…: 78.21% [1h 2m 14.0s]  
---- January 13 2010 -- 08:02 AM ----  
0: STDOUT: Rendering image…: 78.27% [1h 2m 15.6s]  
0: STDOUT: Rendering image…: 78.33% [1h 2m 31.2s]  
0: STDOUT: Rendering image…: 78.40% [1h 2m 34.3s]  
0: STDOUT: Rendering image…: 78.46% [1h 2m 46.0s]  
0: STDOUT: Rendering image…: 78.52% [1h 3m 12.9s]  
---- January 13 2010 -- 08:03 AM ----  
0: STDOUT: Rendering image…: 78.58% [1h 3m 18.5s]  
0: STDOUT: Rendering image…: 78.64% [1h 3m 23.6s]  
0: STDOUT: Rendering image…: 78.70% [1h 3m 32.8s]  
0: STDOUT: Rendering image…: 78.77% [1h 3m 37.1s]  
0: STDOUT: Rendering image…: 78.83% [1h 3m 38.4s]  
0: STDOUT: Rendering image…: 78.89% [1h 3m 40.6s]  
0: STDOUT: Rendering image…: 78.95% [1h 3m 45.3s]  
0: STDOUT: error: [VFBCore::SetRegion] Error writing render region to raw image file.  
0: STDOUT: [RIFile::WTRegion] Error writing channel buffer.  
0: STDOUT: [RIFile::WT3Float] Error writing tag header.  
0: STDOUT: [RIFile::WriteTagHeader] Error writing to stream (64).  
0: STDOUT:  
0: STDOUT: Number of raycasts: 670159160  
0: WARNING: Program C:\Program Files\Autodesk\Maya2009\vray\bin\vray.exe did not close cleanly, it is being terminated forcefully.  
Scheduler Thread - Render Thread 0 threw an error:  
Scheduler Thread - Exception during render: An error occurred in RenderTasks(): error: [VFBCore::SetRegion] Error writing render region to raw image file. (FranticX.Processes.ManagedProcessAbort) (Deadline.Plugins.RenderPluginException)

at Deadline.Plugins.ScriptPlugin.RenderTasks(Int32 startFrame, Int32 endFrame, String& outMessage)

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [January 13, 2010, 5:47pm UTC](https://forums.chaos.com/t/can-not-write-region-to-file-again/22830/2 "2010-01-13T17:47:32Z")

</div>

Which operating system is this?

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [January 13, 2010, 5:49pm UTC](https://forums.chaos.com/t/can-not-write-region-to-file-again/22830/3 "2010-01-13T17:49:12Z")

</div>

Ah, sorry - Windows obviously. The error code (64) means “The specified network name is no longer available”. Are you rendering to a network drive or location?

Best regards,  
Vlado

---

<div class="post-metadata">

**Author:** ![shadevfx](https://avatars.discourse-cdn.com/v4/letter/s/2bfe46/32.png) [@shadevfx](https://forums.chaos.com/u/shadevfx)\
**Post date:** [January 13, 2010, 6:56pm UTC](https://forums.chaos.com/t/can-not-write-region-to-file-again/22830/4 "2010-01-13T18:56:01Z")

</div>

vista 64. yes it is writing to a network location…

---

<div class="post-metadata">

**Author:** ![vlado](https://avatars.discourse-cdn.com/v4/letter/v/779978/32.png) [@vlado](https://forums.chaos.com/u/vlado)\
**Post date:** [January 14, 2010, 7:30am UTC](https://forums.chaos.com/t/can-not-write-region-to-file-again/22830/5 "2010-01-14T07:30:11Z")

</div>

I seem to remember an issue with Windows and/or some network cards that would go to sleep if they decide there is no network activity, even though V-Ray keeps the output file open. There might be setting to adjust for this, I have to try and find the post here…

It might also work if you save the frames locally and then copy them to the network - not sure if Deadline has settings to do this automatically.

Best regards,  
Vlado
