Problem resolved?<br><br>It appears that my users had copied the files to a network drive and were running from there instead of from their PC. Everything is working now with .NET2.0 SP1 and the files located on their C drive. Weird that file location would have an effect.<br>
<br>Thanks for your help Curt.<br><br>Bruce<br><br><div class="gmail_quote">On Wed, Jul 8, 2009 at 2:07 PM, Bruce Bromberek <span dir="ltr"><<a href="mailto:bruce.bromberek@gmail.com">bruce.bromberek@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I sent them ipy.exe and it generated the same error.<br><br>I wonder, does ipy really require SP2 for .NET20. That is the only difference I see between my install (.NET 3.5 SP1, .NET 2.0 SP2) and their install (.NET 3.5, .NET 2.0 SP1)?<br>
<font color="#888888">
<br>Bruce</font><div><div></div><div class="h5"><br><br><div class="gmail_quote">On Wed, Jul 8, 2009 at 11:10 AM, Curt Hagenlocher <span dir="ltr"><<a href="mailto:curt@hagenlocher.org" target="_blank">curt@hagenlocher.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">
How have you confirmed that they successfully installed SP1? One easy way is to give them ipy.exe to put into the same folder and have them try to run it.<div><div></div><div><br><br><div class="gmail_quote">On Wed, Jul 8, 2009 at 8:57 AM, Bruce Bromberek <span dir="ltr"><<a href="mailto:bruce.bromberek@gmail.com" target="_blank">bruce.bromberek@gmail.com</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">I do not have IronPython installed. I'm just distributing the compiled app and dlls in the folder. Script compiled using SharpDevelop 3.1<div>
<div></div><div><br><br><div class="gmail_quote">On Wed, Jul 8, 2009 at 10:55 AM, Curt Hagenlocher <span dir="ltr"><<a href="mailto:curt@hagenlocher.org" target="_blank">curt@hagenlocher.org</a>></span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">When you run ipy.exe on these machines it starts up successfully, but when you start your app you get the MissingMethodException for that DynamicMethod constructor?<div>
<br><div class="gmail_quote"><div><div></div><div>On Wed, Jul 8, 2009 at 8:45 AM, Bruce Bromberek <span dir="ltr"><<a href="mailto:bruce.bromberek@gmail.com" target="_blank">bruce.bromberek@gmail.com</a>></span> wrote:<br>
</div></div><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div><div></div><div>I'm stuck.<br><br>I have an Ironpython (2.0.0.0 .NET 2.0.50727.3082 according to ipy console screen )app that I have created and successfully run multiple machines under my control.<br>
<br>I've given the compiled app to other users. Half of the time it runs great, the other half it dies right away with a System.MissingMethodException :Method not found<br>
void.system.reflection.emit.dynamicmethod..ctor(....) error message. When I googled that string I read a post that reminded me that Ironpython requires .Net2.0 SP1. <br><br>I had the affected users upgrade their installs to .NET framework 3.5 and the .NET 2.0 version is 2.0.50727.1433 (SP1 according to a table in Wikipedia)<br>
<br>The die at launch is still occuring.<br><br>Can anyone point in the right direction to solve this problem and/or tell me what is causing it. In case it helps, I have listed the imports I'm using in the script in addition to standard 5 ironpython assemblies/dll<br>
<br>import clr<br>clr.AddReference('mscorlib')<br>clr.AddReference('System')<br>clr.AddReference('System.Data')<br>clr.AddReference('System.Windows.Forms')<br>clr.AddReference('System.Drawing')<br>
<br>import sys<br>import System<br>import System.Data<br>from System.IO import Directory, Path, File<br>from System import DateTime<br>from System.Windows.Forms import DialogResult, OpenFileDialog<br>from System.Drawing import Size<br>
from System.Windows.Forms import Button, DockStyle, Panel, Form, FormBorderStyle, Padding, TextBox<br>import time<br><font color="#888888"><br><br><br>Bruce Bromberek<br>
</font><br></div></div>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
<br></blockquote></div><br></div>
<br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
<br></blockquote></div><br>
</div></div><br>_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com" target="_blank">Users@lists.ironpython.com</a><br>
<a href="http://lists.ironpython.com/listinfo.cgi/users-ironpython.com" target="_blank">http://lists.ironpython.com/listinfo.cgi/users-ironpython.com</a><br>
<br></blockquote></div><br>
</div></div></blockquote></div><br>