Hi, I am using features of MS Word 2003 on Win XP in my rails application. The server has Win XP installed. I am able to open a document, save as HTML etc. if I run the app using mongrel_rails start ... on command prompt. I use the Win32OLE support for Ruby: doc = WIN32OLE.new(''Word.Application'') However, at the deployment site, I have configured the app to run as a Windows Service using the mongrel: mongrel_rails service::install -N EDiscussions -c appdir -p 80 -e production The application runs fine except for the actions that use Word features. Debug statements indicate that the program does not get past the line: doc = WIN32OLE.new(''Word.Application'') The service is configured to run using Local System account and is allowed to interact with the desktop. Can someone suggest what I might be missing here? How do I get it to work while running the app as a service? Thanks, Yash -- Posted via http://www.ruby-forum.com/. --~--~---------~--~----~------------~-------~--~----~ You received this message because you are subscribed to the Google Groups "Ruby on Rails: Talk" group. To post to this group, send email to rubyonrails-talk-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org To unsubscribe from this group, send email to rubyonrails-talk-unsubscribe-/JYPxA39Uh5TLH3MbocFFw@public.gmane.org For more options, visit this group at http://groups.google.com/group/rubyonrails-talk?hl=en -~----------~----~----~----~------~----~------~--~---