Don't use a mapped drive - use a UNC path instead.  For example:

instead of 

x:\inetpub\wwwroot

use

\\server\sharename\inetpub\wwwroot

HTH,

-- 
Howie Hamlin - inFusion Project Manager
On-Line Data Solutions, Inc. - www.CoolFusion.com
inFusion Mail Server (iMS) - The Award-winning, Intelligent Mail Server
PrismAV - Virus scanning for ColdFusion applications
>>> Find out how iMS Stacks up to the competition: 
>>> http://www.coolfusion.com/imssecomparison.cfm


--- On Friday, February 11, 2005 3:01 PM, George Abraham scribed: ---
>
> Hi all,
> CF 5 (sigh!!) on a Win 2003 Server box with IIS. The web application
> needs to access a drive that has to be mapped through the network from
> a different server using its IP address. Now mapping a drive is easy
> enough using say 'net use' or even doing it via the Windows 'Map
> Network drive...' utility. However the account it maps the drive under
> has to be the same as the account CF runs under, obviously. How do I
> ensure that this drive is mapped everytime the server is rebooted so
> that even though CF might start as a service before the drive is
> mapped, it will see the drive as mapped? I can use scheduled tasks to
> automate it, I guess. Sorry if this is a bit confusing.
> 
> Thanks,
> George
> 
> 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Logware (www.logware.us): a new and convenient web-based time tracking 
application. Start tracking and documenting hours spent on a project or with a 
client with Logware today. Try it for free with a 15 day trial account.
http://www.houseoffusion.com/banners/view.cfm?bannerid=67

Message: http://www.houseoffusion.com/lists.cfm/link=i:4:194336
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to