Re: Program that requires drive letter fails



"William Fourqurean" <wfour@xxxxxxxxxxxxxxxx> wrote in message
news:E9A3816B-F6C3-4E31-BDA8-60299C1D6BFB@xxxxxxxxxxxxxxxx
If I create a package and a program, on the Environment tab of the program
properties there is a section called Drive Mode. The default is Run with
UNC
name. If I change this to Requires drive letter, the program fails. I
don't
have the exact error message, but it is "Access denied" or something
similar.
I have tried checking the Advanced Client Network Access Account, but this
doesn't seem to be the problem.

This stems from a problem where when you create an advertisement, there is
an Advanced Client option for "Download program from distribution point".
I
want to use this feature, but sometimes administrators don't follow
directions closely and they leave this setting at the default of "Run
program
from distribution point." My program will fail under that circumstance
because it will not run correctly from a UNC path. So, my intention was
to
try to map a drive letter so that it would run correctly whether it was
downloaded first or not, but the drive mapping option is not working,
either.

If you look at the status message for the failure, download/execute AND
mapped drive options are incompatible settings. You can use UNC (run from
DP) and a mapped drive option.

Steve


.



Relevant Pages

  • Re: Persisting a Network share drive to a letter
    ... That was a pretty powerful wakeup call to use UNC names instead. ... Open Windows Explorer and navigate to the network location. ... It should persist the connection. ... When i login to the app server box and create a drive letter X: ...
    (microsoft.public.windows.server.networking)
  • Linked table manager looking at the wrong location
    ... On a FE/BE Access 2007 database the IT team asked me not to use a mapped ... drive letter but the server name and path when linking tables. ... UNC they show Z: as the drive location. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: UNC versus drive letter performance
    ... opening a file _sometimes_ takes way longer then it should, ... > Accessing files through a local drive letter ... > Accessing the same files through a UNC share. ... > other implies that UNC is relatively close to drive letter performance, ...
    (microsoft.public.win32.programmer.networks)
  • MapNetworkDrive causes hang
    ... l return error 53 "The network path was not found". ... The function works as expected if you do not typo or otherwise munge the UNC, and it always works against a different file server. ... function MapDrive(strFreeDrive, objNetwork, strUNC, strCredUser, strCredPass) ... ' Returns the mapped drive letter on success and blank/empty on failure ...
    (microsoft.public.scripting.vbscript)