Excel cannot see Windows mapped drive when running under a service -


i have application runs service. application allows user connect , starts subprocess under user's windows account. in other words, mydomain\john connects service via tcp , says "launch" starts process on windows running under mydomain\john account.

next, subprocess able map drive t: using net use command. process can run vb script living on mapped drive t:. no trouble far. problem arises when vb script tries run excel using "createobject".

after setting dcom launch settings dcomcnfg , creating missing "desktop" folder in systemprofile folder, still cannot work. oddly, if run vb script , feed excel unc path \fileserver\share1 rather t:\ script works.

does know why excel fail access t:\ mapping have no issue unc path?


Comments

Popular posts from this blog

javascript - AngularJS custom datepicker directive -

javascript - jQuery date picker - Disable dates after the selection from the first date picker -