[Mongrel] file access with mongrel running as windows service
david at vrensk.com
Wed Nov 7 09:48:08 EST 2007
On Nov 7, 2007 3:01 PM, gmail <neongrau at gmail.com> 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
> 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.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the Mongrel-users