RE: FileExists WINNT Mapped Drive Permissions
I have found Service Accounts very handy. Reduces password administration issues as well as many security concerns. Glad I could help. Mike -Original Message- From: David Fafard [mailto:[EMAIL PROTECTED]] Sent: Monday, July 29, 2002 10:35 AM To: CF-Talk Subject: Re: FileExists WINNT Mapped Drive Permissions Good suggestion on the CF Service Account.. thanks. Dave - Original Message - From: "Mike Byers" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 11:11 AM Subject: RE: FileExists WINNT Mapped Drive Permissions > I agree with Brook. Try UNC paths. Also you may have to set up a CF > service account with basic network privileges to be able to browse the > network, so to speak, and run the CF service as that account. Be sure to > add that user to your Administrators group on the local machine so that it > reserves the same rights it had as the local system account. > > Hope that helps. > > Mike > > -Original Message- > From: David Fafard [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 28, 2002 3:32 PM > To: CF-Talk > Subject: Re: FileExists WINNT Mapped Drive Permissions > > > > Can we see your code? > > Sure, watch the wrap. > > > > > > > > > ".pdf" > > > > > http://my.domain.com/Cad_pdf/"; & #theFormCadNumber# & > ".pdf" > > > > > > > > > - Original Message - > From: "brook" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Sunday, July 28, 2002 4:29 PM > Subject: Re: FileExists WINNT Mapped Drive Permissions > > > > We use UNC paths. This is a better idea, because I beleive (correct me if > I > > am wring) a mapped drive is not automatically mounted at startup. So if > > your machines reboots, you wil not have access to the mapped drive until > > you log in. > > > > UNC paths are alllow with CF and work fine. > > > > Can we see your code? > > > > Brook > > > > At 02:42 PM 7/28/02 +0200, you wrote: > > >David Fafard wrote: > > > > > > > > Having a problem getting FileExists to work > > > > on an Win NT 2K Server. > > > > > > > > My Files needed to check are on a mapped > > > > drive but it seems CFMX can not see them. > > > > ( I would use UNC path but I believe that is not allowed ) > > > > > >It doesn't help since it is a permmissions issue. > > > > > > > > > > I'm thinking it's a permissions thing with CFMX service > > > > running as LOCAL. > > > > > >Correct. > > > > > > > > > > Is there any way to test for a files existance without > > > > changing the service to something other than LOCAL? > > > > > >You could use cfimpersonate if you are not on MX yet. Else, change the > > >service. > > > > > >Jochem > > > > > > > > > > __ Signup for the Fusion Authority news alert and keep up with the latest news in ColdFusion and related topics. http://www.fusionauthority.com/signup.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: FileExists WINNT Mapped Drive Permissions
Good suggestion on the CF Service Account.. thanks. Dave - Original Message - From: "Mike Byers" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Monday, July 29, 2002 11:11 AM Subject: RE: FileExists WINNT Mapped Drive Permissions > I agree with Brook. Try UNC paths. Also you may have to set up a CF > service account with basic network privileges to be able to browse the > network, so to speak, and run the CF service as that account. Be sure to > add that user to your Administrators group on the local machine so that it > reserves the same rights it had as the local system account. > > Hope that helps. > > Mike > > -Original Message- > From: David Fafard [mailto:[EMAIL PROTECTED]] > Sent: Sunday, July 28, 2002 3:32 PM > To: CF-Talk > Subject: Re: FileExists WINNT Mapped Drive Permissions > > > > Can we see your code? > > Sure, watch the wrap. > > > > > > > > > ".pdf" > > > > > http://my.domain.com/Cad_pdf/"; & #theFormCadNumber# & > ".pdf" > > > > > > > > > - Original Message - > From: "brook" <[EMAIL PROTECTED]> > To: "CF-Talk" <[EMAIL PROTECTED]> > Sent: Sunday, July 28, 2002 4:29 PM > Subject: Re: FileExists WINNT Mapped Drive Permissions > > > > We use UNC paths. This is a better idea, because I beleive (correct me if > I > > am wring) a mapped drive is not automatically mounted at startup. So if > > your machines reboots, you wil not have access to the mapped drive until > > you log in. > > > > UNC paths are alllow with CF and work fine. > > > > Can we see your code? > > > > Brook > > > > At 02:42 PM 7/28/02 +0200, you wrote: > > >David Fafard wrote: > > > > > > > > Having a problem getting FileExists to work > > > > on an Win NT 2K Server. > > > > > > > > My Files needed to check are on a mapped > > > > drive but it seems CFMX can not see them. > > > > ( I would use UNC path but I believe that is not allowed ) > > > > > >It doesn't help since it is a permmissions issue. > > > > > > > > > > I'm thinking it's a permissions thing with CFMX service > > > > running as LOCAL. > > > > > >Correct. > > > > > > > > > > Is there any way to test for a files existance without > > > > changing the service to something other than LOCAL? > > > > > >You could use cfimpersonate if you are not on MX yet. Else, change the > > >service. > > > > > >Jochem > > > > > > > > > > __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
RE: FileExists WINNT Mapped Drive Permissions
I agree with Brook. Try UNC paths. Also you may have to set up a CF service account with basic network privileges to be able to browse the network, so to speak, and run the CF service as that account. Be sure to add that user to your Administrators group on the local machine so that it reserves the same rights it had as the local system account. Hope that helps. Mike -Original Message- From: David Fafard [mailto:[EMAIL PROTECTED]] Sent: Sunday, July 28, 2002 3:32 PM To: CF-Talk Subject: Re: FileExists WINNT Mapped Drive Permissions > Can we see your code? Sure, watch the wrap. http://my.domain.com/Cad_pdf/"; & #theFormCadNumber# & ".pdf" > - Original Message - From: "brook" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, July 28, 2002 4:29 PM Subject: Re: FileExists WINNT Mapped Drive Permissions > We use UNC paths. This is a better idea, because I beleive (correct me if I > am wring) a mapped drive is not automatically mounted at startup. So if > your machines reboots, you wil not have access to the mapped drive until > you log in. > > UNC paths are alllow with CF and work fine. > > Can we see your code? > > Brook > > At 02:42 PM 7/28/02 +0200, you wrote: > >David Fafard wrote: > > > > > > Having a problem getting FileExists to work > > > on an Win NT 2K Server. > > > > > > My Files needed to check are on a mapped > > > drive but it seems CFMX can not see them. > > > ( I would use UNC path but I believe that is not allowed ) > > > >It doesn't help since it is a permmissions issue. > > > > > > > I'm thinking it's a permissions thing with CFMX service > > > running as LOCAL. > > > >Correct. > > > > > > > Is there any way to test for a files existance without > > > changing the service to something other than LOCAL? > > > >You could use cfimpersonate if you are not on MX yet. Else, change the > >service. > > > >Jochem > > > > > __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: FileExists WINNT Mapped Drive Permissions
> Can we see your code? Sure, watch the wrap. http://my.domain.com/Cad_pdf/"; & #theFormCadNumber# & ".pdf" > - Original Message - From: "brook" <[EMAIL PROTECTED]> To: "CF-Talk" <[EMAIL PROTECTED]> Sent: Sunday, July 28, 2002 4:29 PM Subject: Re: FileExists WINNT Mapped Drive Permissions > We use UNC paths. This is a better idea, because I beleive (correct me if I > am wring) a mapped drive is not automatically mounted at startup. So if > your machines reboots, you wil not have access to the mapped drive until > you log in. > > UNC paths are alllow with CF and work fine. > > Can we see your code? > > Brook > > At 02:42 PM 7/28/02 +0200, you wrote: > >David Fafard wrote: > > > > > > Having a problem getting FileExists to work > > > on an Win NT 2K Server. > > > > > > My Files needed to check are on a mapped > > > drive but it seems CFMX can not see them. > > > ( I would use UNC path but I believe that is not allowed ) > > > >It doesn't help since it is a permmissions issue. > > > > > > > I'm thinking it's a permissions thing with CFMX service > > > running as LOCAL. > > > >Correct. > > > > > > > Is there any way to test for a files existance without > > > changing the service to something other than LOCAL? > > > >You could use cfimpersonate if you are not on MX yet. Else, change the > >service. > > > >Jochem > > > > > __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: FileExists WINNT Mapped Drive Permissions
We use UNC paths. This is a better idea, because I beleive (correct me if I am wring) a mapped drive is not automatically mounted at startup. So if your machines reboots, you wil not have access to the mapped drive until you log in. UNC paths are alllow with CF and work fine. Can we see your code? Brook At 02:42 PM 7/28/02 +0200, you wrote: >David Fafard wrote: > > > > Having a problem getting FileExists to work > > on an Win NT 2K Server. > > > > My Files needed to check are on a mapped > > drive but it seems CFMX can not see them. > > ( I would use UNC path but I believe that is not allowed ) > >It doesn't help since it is a permmissions issue. > > > > I'm thinking it's a permissions thing with CFMX service > > running as LOCAL. > >Correct. > > > > Is there any way to test for a files existance without > > changing the service to something other than LOCAL? > >You could use cfimpersonate if you are not on MX yet. Else, change the >service. > >Jochem > > __ Get the mailserver that powers this list at http://www.coolfusion.com FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists
Re: FileExists WINNT Mapped Drive Permissions
David Fafard wrote: > > Having a problem getting FileExists to work > on an Win NT 2K Server. > > My Files needed to check are on a mapped > drive but it seems CFMX can not see them. > ( I would use UNC path but I believe that is not allowed ) It doesn't help since it is a permmissions issue. > I'm thinking it's a permissions thing with CFMX service > running as LOCAL. Correct. > Is there any way to test for a files existance without > changing the service to something other than LOCAL? You could use cfimpersonate if you are not on MX yet. Else, change the service. Jochem __ Your ad could be here. Monies from ads go to support these lists and provide more resources for the community. http://www.fusionauthority.com/ads.cfm FAQ: http://www.thenetprofits.co.uk/coldfusion/faq Archives: http://www.mail-archive.com/cf-talk@houseoffusion.com/ Unsubscribe: http://www.houseoffusion.com/index.cfm?sidebar=lists