Ok. The web.config has to be done up differently for IIS 6 versus IIS 7 with 
relation to the HttpHandlers. I've fixed that and am now getting a more 
particular error message regarding not being able to load thread.so

web.config and Error trace: http://gist.github.com/168133

Error Trace:

[LoadError: no such file to load -- thread.so]
   Microsoft.Scripting.Interpreter.ThrowInstruction.Run(InterpretedFrame frame) 
in C:\Documents and Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Runtime\Microsoft.Scripting\Interpreter\Instruction.cs:760
   Microsoft.Scripting.Interpreter.Interpreter.RunInstructions(InterpretedFrame 
frame) in C:\Documents and Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Runtime\Microsoft.Scripting\Interpreter\Interpreter.cs:233
   Microsoft.Scripting.Interpreter.Interpreter.Run(InterpretedFrame frame) in 
C:\Documents and Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Runtime\Microsoft.Scripting\Interpreter\Interpreter.cs:94
   Microsoft.Scripting.Interpreter.LightLambda.Run2(T0 arg0, T1 arg1) in 
C:\Documents and Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Runtime\Microsoft.Scripting\Interpreter\LightLambda.Generated.cs:93
   IronRuby.Runtime.RubyScriptCode.Run(Scope scope, Boolean bindGlobals) in 
C:\Documents and Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Languages\Ruby\Ruby\Runtime\RubyScriptCode.cs:107
   IronRuby.Runtime.RubyScriptCode.Run(Scope scope) in C:\Documents and 
Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Languages\Ruby\Ruby\Runtime\RubyScriptCode.cs:79
   Microsoft.Scripting.SourceUnit.Execute(Scope scope, ErrorSink errorSink) in 
C:\Documents and Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Runtime\Microsoft.Scripting\SourceUnit.cs:232
   Microsoft.Scripting.SourceUnit.Execute(Scope scope) in C:\Documents and 
Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Runtime\Microsoft.Scripting\SourceUnit.cs:217
   Microsoft.Scripting.Hosting.ScriptSource.Execute(ScriptScope scope) in 
C:\Documents and Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Runtime\Microsoft.Scripting\Hosting\ScriptSource.cs:133
   IronRuby.Rack.RubyEngine.Execute(String code, ScriptScope aScope) in 
C:\Documents and Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Hosts\IronRuby.Rack\RubyEngine.cs:53
   IronRuby.Rack.RubyEngine.Execute(String code) in C:\Documents and 
Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Hosts\IronRuby.Rack\RubyEngine.cs:48
   IronRuby.Rack.Utils.ReportError(HttpContext context, Exception e) in 
C:\Documents and Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Hosts\IronRuby.Rack\Utils.cs:52
   IronRuby.Rack.HttpHandlerFactory.GetHandler(HttpContext context, String 
requestType, String url, String pathTranslated) in C:\Documents and 
Settings\webadmin\My 
Documents\Development\ironruby\Merlin\Main\Hosts\IronRuby.Rack\HttpHandlerFactory.cs:48
   System.Web.HttpApplication.MapHttpHandler(HttpContext context, String 
requestType, VirtualPath path, String pathTranslated, Boolean useAppConfig) +193
   
System.Web.MapHandlerExecutionStep.System.Web.HttpApplication.IExecutionStep.Execute()
 +93
   System.Web.HttpApplication.ExecuteStep(IExecutionStep step, Boolean& 
completedSynchronously) +155


-----Original Message-----
From: Web Administrator
Sent: Fri 8/14/2009 3:55 PM
To: ironruby-core@rubyforge.org
Subject: [Ironruby-core] IronRuby.Rack and IIS 6
 
I am trying to get IronRuby.Rack working with an IIS 6 install on Windows 
Server 2003.

I successfully compiled the necessary DLLs and put them into a bin/ folder 
alongside the files from IronRuby.Rack.Example which I simply copied over to my 
IIS machine and assigned appropriate permissions.

I went through everything I can think of in terms of setting ASP.NET to 2.0.x 
and setting up a wildcard handler that points to the aspnet DLL. But everything 
I've done yields an ugly Directory Listing Not Allowed error.

I don't have access to any servers that can use IIS 7, so I'm stuck. Any ideas 
as far as what may be going wrong.


Thanks,
James Thompson

<<winmail.dat>>

_______________________________________________
Ironruby-core mailing list
Ironruby-core@rubyforge.org
http://rubyforge.org/mailman/listinfo/ironruby-core

Reply via email to