Salve,
è da diversi giorni che cerco di far funzionare RoR dietro un server
IIS5.0 preesistente su di un windows 2000 server.
Ho seguito diverse guide presenti in rete.
Sembra funzionare tutto se non effettuo richieste POST, oppure se
effettuo richieste GET.
mi da questo errore:
Application error (Apache)
Change this error message for exceptions thrown outside of an action
(like in Dispatcher setups or broken Ruby code) in public/500.html
L’applicazione funziona perfettamente se la lancio con script/server -e
production
Mentre dietro IIS 5 (non 5.1) mi da questo tipo di errore:
Processing ApplicationController#new_info_prodotti (for x.x.x.x at
2008-02-02 16:57:33) [GET]
Session ID: 3defbdd1372316db9ea5df91fc453e17
Parameters: {“opnq”=>"/render/new_info_prodotti",
“action”=>“new_info_prodotti”, “controller”=>“render”}
LoadError (Expected
C:/RAILS_~1/nicoloro/public/…/config/…/app/controllers/render_controller.rb
to define RenderController):
C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:249:in
load_missing_constant' C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:452:in
const_missing’
C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/dependencies.rb:464:in
const_missing' C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/inflector.rb:250:in
constantize’
C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/activesupport-1.4.2/lib/active_support/core_ext/string/inflections.rb:148:in
constantize' C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/actionpack-1.13.3/lib/action_controller/routing.rb:1284:in
recognize’
C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/dispatcher.rb:40:in
dispatch' C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:168:in
process_request’
C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:143:in
process_each_request!' C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:109:in
with_signal_handler’
C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:142:in
process_each_request!' C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:598:in
each_cgi’
C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in
each' C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/site_ruby/1.8/fcgi.rb:595:in
each_cgi’
C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:141:in
process_each_request!' C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:55:in
process!’
C:/INSTAN~1.7-W/INSTAN~1/ruby/lib/ruby/gems/1.8/gems/rails-1.2.3/lib/fcgi_handler.rb:25:in
`process!’
C:/RAILS_~1/nicoloro/public/dispatch.fcgi:24
Ultima cosa. Ho seguito la stessa procedura di installazione su WINXP +
IIS5.1 e il tutto funziona perfettamente.
C’è qualcuno che può darmi una mano?
Grazie mille.