well - just try it runnig on a user account that has permissions to that
server

It shouldnt work over a local network logged in as system - the system
account on NT gives full access to the local system - and no access
whatsoever to networked systems using the NT security model.

search the archives

its cropped up loads of times...

I've had it happen myself when I was learning CF...

-----Original Message-----
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: 27 February 2001 13:53
To: CF-Talk
Subject: RE: Problem with CFFILE (sort of)


Cold Fusion is logged on as the system account but I don't think that's the
problem because I have set up the same system on a test suite of servers
where Coldfusion is running as the system account on an NT server and it
writes a file to a Linux server.  This works ok - the only difference is
that there is only one web server serving the pages and hence no load
balancing.

------------------------------------------------------------------ 
Andrew Ewings
Project Manager
Thoughtbubble Ltd 
http://www.thoughtbubble.net 
------------------------------------------------------------------ 
United Kingdom 
http://www.thoughtbubble.co.uk/ 
Tel: +44 (0) 20 7387 8890 
------------------------------------------------------------------ 
New Zealand 
http://www.thoughtbubble.co.nz/ 
Tel: +64 (0) 9 488 9131
------------------------------------------------------------------ 
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0)207 387 8890. 



-----Original Message-----
From: Daniel Lancelot [mailto:[EMAIL PROTECTED]]
Sent: 27 February 2001 13:45
To: CF-Talk
Subject: RE: Problem with CFFILE (sort of)


IS Coldfusion logged on as a user account or as system - it needs to be
logged on as a user to access files over the network.

session management etc is on a domain basis 200.200.200.200 is a different
domain to www.myserver.com even if they happed to be exactly the same
location...

-----Original Message-----
From: Andy Ewings [mailto:[EMAIL PROTECTED]]
Sent: 27 February 2001 13:38
To: CF-Talk
Subject: Problem with CFFILE (sort of)


OK got a strange one.  I think this will end up being an NT permissions
problem but thought one of you may have come across it.

I have a web site which sits on 2 seperate web servers.  It is load balanced
and state is maintained via client variables stored in SQL server on a 3rd
machine.  All 3 are networked.  I have a cfm page on both web servers which
is attempting to create a file on the 3rd machine using cffile.  Both web
servers have mapped drives to a folder on the 3rd server so when this cfm
page is requested it writes a file to the same place regardless of which web
server delivered the page (due to load balancing).

The problem I am having is that when CFServer executes the cffile command it
says that it can't access the file.  I have checked all the permissions on
the NT server and that folder is opened up for full access to everyone.  I
have tried sucessfully to create a file in this folder from a dosbox on one
of the webservers so the path I'm using is definitely correct.  To
complicate the problem I have changed the code to write to C:\ (which exists
on both web servers) as opposed to the mapped drive to the 3rd server.  This
works fine.  However I can't use this as I won't know which C drive it has
created the file on due to the load balancing and when request the next page
which looks for this file it will not find it if the page gets delivered
from the other web server.

Finally I put a specific IP address in the url that requests the page that
creates the file and subsequently reads it so I could guarantee that it
would write and read to the same server (ie bypass load balancing).  But
when I did this the session auomaically expired (which I don't understand).

Has anyone ever come across anything remotely similar to this by any remote
chance!???

Andy

------------------------------------------------------------------ 
Andrew Ewings
Project Manager
Thoughtbubble Ltd 
http://www.thoughtbubble.net 
------------------------------------------------------------------ 
United Kingdom 
http://www.thoughtbubble.co.uk/ 
Tel: +44 (0) 20 7387 8890 
------------------------------------------------------------------ 
New Zealand 
http://www.thoughtbubble.co.nz/ 
Tel: +64 (0) 9 488 9131
------------------------------------------------------------------ 
The information in this email and in any attachments is confidential and
intended solely for the attention and use of the named addressee(s). Any
views or opinions presented are solely those of the author and do not
necessarily represent those of Thoughtbubble. This information may be
subject to legal, professional or other privilege and further distribution
of it is strictly prohibited without our authority. If you are not the
intended recipient, you are not authorised to disclose, copy, distribute, or
retain this message. Please notify us on +44 (0)207 387 8890.
~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Structure your ColdFusion code with Fusebox. Get the official book at 
http://www.fusionauthority.com/bkinfo.cfm

Archives: http://www.mail-archive.com/[email protected]/
Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists

Reply via email to