On Nov 7, 2007 3:01 PM, gmail <[EMAIL PROTECTED]> wrote:

> i have an archive of documents (word, excel, jpeg, png, gif...)
> residing on a network share that is accessed via send_file.
>
> when running mongrel on the command line the files are properly
> delivered.
> with mongrel running as a service they don't.


Try running "net use" inside the process to see if the network share is
mounted at all.  This sounds like the typical Windows/web problem where the
operator assumes that everybody sees the same shares that she sees in her
session.  In reality, network shares are mounted per login session.  Two
users can be logged in on the the same Windows server and have different
shares available on Z:, which is clever, but also sort of confusing.  What
is even more confusing is that you may be logged on as "user1" and have
something mapped to Z:, but the service running as user1 has nothing on Z: –
it needs to create its own mappings.

Let us know if this helps.

/David
_______________________________________________
Mongrel-users mailing list
Mongrel-users@rubyforge.org
http://rubyforge.org/mailman/listinfo/mongrel-users

Reply via email to