<HTML>
Hi,<br>
<br>
 I'm going to post exactly the same issue.&nbsp; I also have similar (but not exact) problem with B1.<br>
But I cannot reproduce here. It looks like IP2 have done something special with System.Reflection<br>
<br>
<br>
<span style="font-weight: bold;">                        ----- Original Message -----<br>
                        From: "Curt Hagenlocher" curt@hagenlocher.org<br>
                        To: "Discussion of IronPython" users@lists.ironpython.com<br>
                        Sent: Sat 03/05/08  7:59 AM<br>
                        Subject: Re: [IronPython] Unexpected error in 2.0B2<br>
                        <br>
</span><blockquote style="border-left: 2px solid rgb(245, 245, 245); margin-left: 5px; margin-right: 0px; padding-left: 5px; padding-right: 0px;"><div>The following code works for me under B1, but throws an exception under B2:</div>
<div>&nbsp;</div>
<div><span style="font-family: courier new,monospace;">import clr<br>
import System<br>
name = System.Reflection.AssemblyName()<br>
name.Name = 'Test'<br>
assemblyBuilder = System.AppDomain.CurrentDomain.DefineDynamicAssembly(name, System.Reflection.Emit.AssemblyBuilderAccess.Run)<br>

</span></div>
<div>&nbsp;</div>
<div>The stack trace is, of course, entirely inside the CLR.</div>
<div>&nbsp;</div>
<div>Traceback (most recent call last):<br>
&nbsp; File "<stdin>", line 1, in <module><br>
&nbsp; File "mscorlib", line unknown, in DefineDynamicAssembly<br>
&nbsp; File "mscorlib", line unknown, in InternalDefineDynamicAssembly<br>

&nbsp; File "mscorlib", line unknown, in nCreateDynamicAssembly<br>
&nbsp; File "mscorlib", line unknown, in CheckGrantSetHelper<br>
SystemError: Object reference not set to an instance of an object.</module></stdin></div><br>
</blockquote><BR><hr>Boonthavorn Ceramic Co.,Ltd. Information Technology Department
(Technic Section)</HTML>