<div dir="ltr">Yup. NWSGI beta 2 was built against older version. Either rebuild or use assembly rebinding <a href="http://aspadvice.com/blogs/ssmith/archive/2006/11/15/AssemblyBinding-in-Web-Config-and-XMLNS.aspx">http://aspadvice.com/blogs/ssmith/archive/2006/11/15/AssemblyBinding-in-Web-Config-and-XMLNS.aspx</a><br>
<br><div class="gmail_quote">On Fri, Sep 25, 2009 at 6:14 PM, Markus Törnqvist <span dir="ltr"><<a href="mailto:mjt@nysv.org">mjt@nysv.org</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
<div class="im">On Tue, Sep 22, 2009 at 09:56:58PM +0300, Markus T�rnqvist wrote:<br>
>On Tue, Sep 22, 2009 at 09:43:50AM -0600, Jeff Hardy wrote:<br>
</div><div class="im">>>I'd like to help more, but I'm a bit overwhelmed at the moment - sorry.<br>
</div>[...]<br>
<div class="im">>Anyway, I'll tell you which way it goes, don't worry about that :D<br>
<br>
</div>I upgraded to IronPython 2.6rc1 by removing IronPython, so it left<br>
only my site-packages and scripts intact, and then installing the<br>
new version.<br>
<br>
I replaced the seven IronPython DLLs in ...\site-packages\myapp\lib<br>
with the new versions (dated 9/15/2009), reset IIS and restarted<br>
the Default Website to be safe.<br>
<br>
<a href="http://localhost/" target="_blank">http://localhost/</a><br>
<br>
Could not load file or assembly 'Microsoft.Scripting, Version=0.9.6.20,<br>
Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies.<br>
The located assembly's manifest definition does not match the assembly<br>
reference. (Exception from HRESULT: 0x80131040)<br>
<br>
[FileLoadException: Could not load file or assembly 'Microsoft.Scripting, Version=0.9.6.20, Culture=neutral, PublicKeyToken=31bf3856ad364e35' or one of its dependencies. The located assembly's manifest definition does not match the assembly reference. (Exception from HRESULT: 0x80131040)]<br>
NWSGI.WsgiHandler..cctor() +0<br>
<br>
[TypeInitializationException: The type initializer for 'NWSGI.WsgiHandler' threw an exception.]<br>
<br>
[TargetInvocationException: Exception has been thrown by the target of an invocation.]<br>
System.RuntimeTypeHandle.CreateInstance(RuntimeType type, Boolean publicOnly, Boolean noCheck, Boolean& canBeCached, RuntimeMethodHandle& ctor, Boolean& bNeedSecurityCheck) +0<br>
System.RuntimeType.CreateInstanceSlow(Boolean publicOnly, Boolean fillCache) +86<br>
System.RuntimeType.CreateInstanceImpl(Boolean publicOnly, Boolean skipVisibilityChecks, Boolean fillCache) +230<br>
System.Activator.CreateInstance(Type type, Boolean nonPublic) +67<br>
System.RuntimeType.CreateInstanceImpl(BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +1051<br>
System.Activator.CreateInstance(Type type, BindingFlags bindingAttr, Binder binder, Object[] args, CultureInfo culture, Object[] activationAttributes) +111<br>
System.Web.Configuration.HttpHandlerAction.Create() +57<br>
System.Web.Configuration.HandlerFactoryCache..ctor(HttpHandlerAction mapping) +19<br>
System.Web.HttpApplication.GetFactory(HttpHandlerAction mapping) +96<br>
System.Web.HttpApplication.MapHttpHandler(HttpContext context, String requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +125<br>
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute() +93<br>
System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& completedSynchronously) +155<br>
<br>
What can I do here?<br>
<br>
I haven't played much with the registry, but it says<br>
<br>
WRN: Assembly binding logging is turned OFF.<br>
To enable assembly bind failure logging, set the registry value [HKLM\Software\Microsoft\Fusion!EnableLog] (DWORD) to 1.<br>
Note: There is some performance penalty associated with assembly bind failure logging.<br>
To turn this feature off, remove the registry value [HKLM\Software\Microsoft\Fusion!EnableLog].<br>
<br>
So I figured I'd create a DWORD named Fusion!EnableLog and set the value to 1.<br>
<br>
But it didn't have a visible effect even after restarts.<br>
<br>
Is this a problem with NWSGI not understanding 2.6rc1? A recompile<br>
required? Will there be an update on the site? Something else bad? Help?<br>
<div><div></div><div class="h5"><br>
Thanks!<br>
<br>
--<br>
mjt<br>
<br>
_______________________________________________<br>
Users mailing list<br>
<a href="mailto:Users@lists.ironpython.com">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>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><a href="http://nomadlife.org">nomadlife.org</a><br><br>
</div>