ZBrushCentral

The problem with 3ds max 2012 and GoZ plugin...

Hi all!
I ran into this problem when using the plugin Goz with 3ds max 2012
The plugin works in 3ds max 2012 to Zbrush 4
but when I try to move back into 3ds max 2012, there is a bug with the following contents

>> MAXScript Auto-load Script Error - H: \ (3) Programs \ 3ds max2012\ 3ds Max2012\ scripts \ startup \ Macro_GoZ.ms Exception:

  • Runtime error: dotNet runtime exception: An attempt was made to load an assembly from a network location which would have caused the assembly to
    be sandboxed in previous versions of the. NET Framework.This release of the. NET Framework does not enable CAS policy by default, so this load may be dangerous.
    If this load is not intended to sandbox the assembly, please enable the loadFromRemoteSources switch.See http://go.microsoft.com/fwlink/?LinkId=155569 for more information.<<

Really need help…

Thanks!!

P.S. Sorry for the mistakes if they have in the text. My english bad.

Hi Fabricio_LC

I’m getting this same error… did you ever find a solution?

I found a fix for this.
I had to go into max’s app.config file and add this line to enable “loadfromremotesources”

The max app config file can be found here: C:\Program Files\Autodesk\3ds Max 2012\3dsmax.exe.config

open 3dsmax.exe.config using notepad or visual studio and add the following.

<configuration>
<runtime>
<loadFromRemoteSources enabled=“true”/>
</runtime>
</configuration>

My 3dsmax.exe.config file looks like this…

<?xml version=“1.0”?>
<configuration>
<startup useLegacyV2RuntimeActivationPolicy=“true”>
<supportedRuntime version=“v4.0”/>
</startup>
<system.diagnostics>
<assert assertuienabled=“false”/>
<sources>
<!-- This removes Binding error messages coming from AdWindows components -->
<source name=“System.Windows.Data” switchName=“SourceSwitch”>
<listeners>
<remove name=“Default” />
</listeners>
</source>
</sources>
<switches>
<add name=“SourceSwitch” value=“All” />
</switches>
<trace autoflush=“true” indentsize=“4”></trace>
</system.diagnostics>
<runtime>
<loadFromRemoteSources enabled=“true”/>
</runtime>
</configuration>

I hope this helps… I wasted a day looking for a solution for this… now back to my GoZ tutorial.
Good luck

-jb

Thank you very much for your help! It works.
I went to the site to link about Microsoft’s “remote sources”, but did not understand where to insert these three lines
(Maybe because I do not know much English ^^)

Thanks

Thanks this help me out. now i just need to get GoZ to work. :confused: