Unable to successfully serve Ruby on Rails with FastCGI in Win 7 x64 [Answered]RSS

2 replies

Last post Jun 28, 2010 10:56 AM by abadincrotch

  • Unable to successfully serve Ruby on Rails with FastCGI in Win 7 x64

    Jun 25, 2010 05:41 PM|abadincrotch|LINK

    Hi all,

    Originally with IronRuby RC4, now with 1.0.0.0 and 1.0v4, I've tried to get Ruby on Rails running on top of IIS7.5, with no success.

    Has anyone successfully done this?

    IronRuby is installed to a directory with no spaces in the name.

    The application pool identity I believe has proper access to all DLLs and EXEs.

    I think the FastCGI module is set up right (though should it be system32 or syswow64?) ...

    I think the handler mapping for catch all is set up right ...

    Yet currently when trying to serve /test/about I am getting a 404, with the following info in the failed request log:

    Warning -MODULE_SET_RESPONSE_ERROR_STATUS
    ModuleName IIS Web Core
    Notification 16
    HttpStatus 404
    HttpReason Not Found
    HttpSubStatus 0
    ErrorCode 2147942402
    ConfigExceptionInfo 
    Notification MAP_REQUEST_HANDLER
    ErrorCode The system cannot find the file specified. (0x80070002)
     

    Using ProcMon, this may be relevant?


    5:41:24.7338126 PM w3wp.exe 620 QueryOpen C:\IronRuby\IronRubyOnRails\public\favicon.ico\web.config FAST IO DISALLOWED 

    5:41:24.7338692 PM w3wp.exe 620 CreateFile C:\IronRuby\IronRubyOnRails\public\favicon.ico\web.config PATH NOT FOUND Desired Access: Read Attributes, Disposition: Open, Options: Open Reparse Point, Attributes: n/a, ShareMode: Read, Write, Delete, AllocationSize: n/a

    5:41:24.7356695 PM w3wp.exe 620 QueryAllInformationFile C:\IronRuby\IronRubyOnRails\public\favicon.ico BUFFER OVERFLOW CreationTime: 2010-06-25 5:09:07 PM, LastAccessTime: 2010-06-25 5:09:07 PM, LastWriteTime: 2010-06-25 5:09:07 PM, ChangeTime: 2010-06-25 5:21:48 PM, FileAttributes: A, AllocationSize: 0, EndOfFile: 0, NumberOfLinks: 1, DeletePending: False, Directory: False, IndexNumber: 0x200000008df2c, EaSize: 0, Access: Generic Read, Position: 0, Mode: Sequential Access, AlignmentRequirement: Word


    I'm thoroughly burnt out on this and would reallllly appreciate some insight from someone who has done this successfully!

    Thanks in advance-
    --Andy Badera

     

    [formatting fixed]

    Ruby rubyonrails ironruby

    Microsoft Community Contributor

    MCTS: Service Communication Applications
  • Re: Unable to successfully serve Ruby on Rails with FastCGI in Win 7 x64

    Jun 25, 2010 05:42 PM|abadincrotch|LINK

    wow, why the heck is my formatting so crappy?
    Microsoft Community Contributor

    MCTS: Service Communication Applications
  • Re: Unable to successfully serve Ruby on Rails with FastCGI in Win 7 x64

    Jun 28, 2010 10:56 AM|abadincrotch|LINK

    Formatting fixed. Any insight anybody? Thanks ...

    Microsoft Community Contributor

    MCTS: Service Communication Applications