Mapping a Drive for CF with AUTOEXEC.NT

View: New views
11 Messages — Rating Filter:   Alert me  

Mapping a Drive for CF with AUTOEXEC.NT

by Laura Norris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

we've been trying to resolve an issue where we would like ColdFusion to see and read a mapped drive.  unfortunately, we haven't had any luck with any of the instructions for how to set up the server to run ColdFusion as a user in an environment with multiple instances.

our IT department has suggested trying to use AUTOEXEC.NT to map to the drive.  supposibly this will make the server think that the drive is physically attached.

does anyone have any experience with this?

thank you!

Laura

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6746
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Ian Skinner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Laura Norris wrote:
> does anyone have any experience with this?

No, but I have a great deal of experience of setting up "ColdFusion as
an user in an environment with multiple instances."

What difficulties are you having with this?  It is fairly straight forward.

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6747
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Dave Ferguson-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

One thing to remember is that a mapped drive is based on the logged in user.  Since CF Server is not necessary logged in this poses an issue.  What you probably want to do is use UNC pathing to a share.  This is essentially a mapped drive but no drive letter.  The other issue is security to that share.  You will have to make sure that CF can access the share.  The account that the CF service is running as is the same credentials used to access the share.

--Dave
http://blog.dkferguson.com


> we've been trying to resolve an issue where we would like ColdFusion
> to see and read a mapped drive.  unfortunately, we haven't had any
> luck with any of the instructions for how to set up the server to run
> ColdFusion as a user in an environment with multiple instances.
>
> our IT department has suggested trying to use AUTOEXEC.NT to map to
> the drive.  supposibly this will make the server think that the drive
> is physically attached.
>
> does anyone have any experience with this?
>
> thank you!
>
> Laura


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6748
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Laura Norris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>Laura Norris wrote:
>> does anyone have any experience with this?
>
>No, but I have a great deal of experience of setting up "ColdFusion as
>an user in an environment with multiple instances."
>
>What difficulties are you having with this?  It is fairly straight forward.

we found these instructions:
http://jochem.vandieten.net/2008/04/06/windows-file-permissions-for-the-coldfusion-account/

We get to step 6 and the system just will not allow us to choose a domain user to run under.  we tried using a local and got it to accept the user, but the instance would not start.  

we are running CF7 on Windows 2003 with IIS.

Thanks,

Laura

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6749
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Jochem van Dieten :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jan 14, 2009 at 9:11 PM, Laura Norris wrote:
> we found these instructions:
> http://jochem.vandieten.net/2008/04/06/windows-file-permissions-for-the-coldfusion-account/
>
> We get to step 6 and the system just will not allow us to choose a domain user to run under.  we tried using a local and got it to accept the user, but the instance would not start.

What was in the *-out.log when you tried to start the instance?

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6750
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Ian Skinner-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Laura Norris wrote:
> we found these instructions:
> http://jochem.vandieten.net/2008/04/06/windows-file-permissions-for-the-coldfusion-account/

You don't *have* to go that complex.  Jochem knows his stuff and runs a
very tight server.  But for our internal intranet servers we do not go
to that level.  At the most basic you just need to create a domain user
with the desired network permissions and assign this user as the service
run-as login for each ColdFusion Instance service in the Windows
Services Manager that you want to use that user.



~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6751
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Laura Norris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> On Wed, Jan 14, 2009 at 9:11 PM, Laura Norris wrote:
> > we found these instructions:
> > http://jochem.vandieten.
> net/2008/04/06/windows-file-permissions-for-the-coldfusion-account/
> >
> > We get to step 6 and the system just will not allow us to choose a
> domain user to run under.  we tried using a local and got it to accept
> the user, but the instance would not start.
>
> What was in the *-out.log when you tried to start the instance?
>
Jochem

the out log file is too big to post, may i email it to you?  my email is norrisla (at) freelibrary (dot) org

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6752
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Laura Norris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

> Laura Norris wrote:
> > we found these instructions:
> > http://jochem.vandieten.
> net/2008/04/06/windows-file-permissions-for-the-coldfusion-account/
>
> You don't *have* to go that complex.  Jochem knows his stuff and runs
> a
> very tight server.  But for our internal intranet servers we do not go
>
> to that level.  At the most basic you just need to create a domain
> user
> with the desired network permissions and assign this user as the
> service
> run-as login for each ColdFusion Instance service in the Windows
> Services Manager that you want to use that user.
>

we went with Jochem's instructions when the simple way didn't work.  at this point i'm ready to tear out my hair.  i'm also worried we've corrupted the install by trying all these things.  :(

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6753
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Jochem van Dieten :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jan 14, 2009 at 10:01 PM, Laura Norris wrote:

>> On Wed, Jan 14, 2009 at 9:11 PM, Laura Norris wrote:
>> > we found these instructions:
>> > http://jochem.vandieten.
>> net/2008/04/06/windows-file-permissions-for-the-coldfusion-account/
>> >
>> > We get to step 6 and the system just will not allow us to choose a
>> domain user to run under.  we tried using a local and got it to accept
>> the user, but the instance would not start.
>>
>> What was in the *-out.log when you tried to start the instance?
>
> the out log file is too big to post, may i email it to you?

The *-out.log shouldn't be more then a few dozen lines from the start
of the server to the first error. But if it is a lot zip it first
before you email it.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6754
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Laura Norris :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

>The *-out.log shouldn't be more then a few dozen lines from the start
>of the server to the first error. But if it is a lot zip it first
>before you email it.
>
>Jochem

send it to where?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6755
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10

Re: Mapping a Drive for CF with AUTOEXEC.NT

by Jochem van Dieten :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

On Wed, Jan 14, 2009 at 10:16 PM, Laura Norris wrote:
>>The *-out.log shouldn't be more then a few dozen lines from the start
>>of the server to the first error. But if it is a lot zip it first
>>before you email it.
>
> send it to where?

To my email address.

Jochem

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date
Get the Free Trial
http://ad.doubleclick.net/clk;207172674;29440083;f

Archive: http://www.houseoffusion.com/groups/cf-server/message.cfm/messageid:6757
Subscription: http://www.houseoffusion.com/groups/cf-server/subscribe.cfm
Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=17837.14401.10